diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-07-17 14:22:20 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-07-17 15:07:58 +0200 |
| commit | 3dec09079e9fc84c7b7b64cb7dabf7f2e1f9b797 (patch) | |
| tree | f1fc42f07d536fe5897f205ef103d56bae2b9fe3 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 7a928b151a4b9422f4198ec167ffca135aae3f21 (diff) | |
[FIX] ir_values: fallback when no condition
When searching for default values, if we set a condition (e.g. 'type=out_invoice'), fetch also the default values without any condition set. Thanks to the order by clause, the one with a condition have an higher priority than the one without and will not affect existing result.
This fixes default journal/currency on an invoice where the journal is retrieved in the onchange_company_id method (domain is forced). Without this patch only ir.values with a domain set will match, opw 610645
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
