-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[9.0][FIX] contract_show_invoice: Error if create invoice with view context #82
Conversation
Why this change? It was OK before |
@@ -3,26 +3,14 @@ | |||
<data> | |||
|
|||
<record id="act_analytic_invoices" model="ir.actions.act_window"> | |||
<field name="context">{'search_default_analytic_account_ids': | |||
[active_id], 'default_analytic_account_ids': active_id}</field> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pedrobaeza this context is useless because analytic_account_ids is a computed field and the search is done by domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, but don't change the rest...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The search is needed anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For filtering the invoices with that analytic contract. It's the way to do it.
This module would not be better in analytic branch? |
Well, yes. And with other name even... |
e098b4a
to
bd64837
Compare
bd64837
to
7af3b76
Compare
That's best done in a next version migration (v10). |
hi @pedrobaeza , please take a look again. Thanks! |
@Tecnativa