diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-18 09:26:22 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-24 07:12:33 +0000 |
| commit | 8275b6eff838e6c0dc9988fb28ae3b04c0f32501 (patch) | |
| tree | 45357a948dedaed06857252257884ceba62320d2 /addons/web/static/src/xml/base.xml | |
| parent | 4c5de1c37cdbee316492d01483e333372d350483 (diff) | |
[FIX] sale, sale_expense, sale_stock: make the False expense_policy selection behaves as 'no'
The sale.order model has an expense_policy selection field, with values in 'no',
'cost', 'sales_price'.
However that value can also be set to False.
The code that handles that field expected the value to always be set to a value.
We explicitly treat False as if it was 'no' (the default value for that field).
opw 1915508
closes odoo/odoo#30336
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
