summaryrefslogtreecommitdiff
path: root/odoo/tools/translate.py
diff options
context:
space:
mode:
authorLuis Torres <luis_t@vauxoo.com>2019-08-15 19:10:44 +0000
committerLuis Torres <luis_t@vauxoo.com>2019-08-21 15:07:23 +0000
commitb4ef0299db0e1ba5073cebd99abf6720c142671d (patch)
tree9e9a78c4975905ab1847f9ef3eed8e3af7e56b1f /odoo/tools/translate.py
parent4a771a6763fa2baf13e4097b0258f9ce54995a3b (diff)
[FIX] account: Remove supplier/customer in default_partner_type
The fields supplier/customer was removed from the partner, then, they cannot be used in the default for the views. Avoid the next traceback in the next case: '''raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf))) ValueError: Invalid field 'supplier' in leaf "<osv.ExtendedLeaf: ('supplier', '=', True) on res_partner (ctx: )>"``` 1. Go to create a new payment for supplier 2. Try select the supplier closes odoo/odoo#35743 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'odoo/tools/translate.py')
0 files changed, 0 insertions, 0 deletions