diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-08-24 10:59:58 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-08-24 12:21:48 +0200 |
| commit | abf17354f8b5139343eb6fba49ff7f4eacc66d68 (patch) | |
| tree | a7e36dafb8034397b8f281ecabc215c7ea19b293 /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 4faed0b792466e7e5cbd1bf4eb85e881fc801970 (diff) | |
[FIX] account: remove domain that depend of purchase when not installed
This commit avoid a traceback when you open the form account_invoice_line
for a supllier invoice without having installed purchase.
The fields_view_get method add domain with purchase_ok field, but this
field can be missing on the model product.template because purchase is not
a dependence of account.
Invalid field 'purchase_ok' in leaf "<osv.ExtendedLeaf:
('purchase_ok', '=', True) on product_product
In stable version, the best fix found, is to remove the domain.
But we need to fix it in master, moving this field from purchase module to
product module. (odoo/odoo##13271)
This commit closes #13268 and closes #315 for stable version.
Todo: merge odoo/odoo#13271 in master (@qdp-odoo agreement)
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
