-
- Downloads
[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)
Loading
Please register or sign in to comment