summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAndreas Perhab <andreas.perhab@wt-io-it.at>2018-11-05 12:36:57 +0100
committerMartin Trigaux <mat@odoo.com>2018-11-05 13:06:33 +0100
commitd3b86ab9303aac919d9685bfe525c84832105aae (patch)
tree692a5ac3d65f0477f9d2e2603f76b7fab8824b7d /addons/web/static/src/js/views/basic/basic_model.js
parent053a023fc7e042bff5d81f56827c51f1dc3b0c2e (diff)
[FIX] purchase_requision: fix syntax error
payment_term.id, creates a tuple wich works if payment_term.id is set in case payment_term.id is False this creates the tuple (False,) which is then converted by the Odoo ORM to a account.payment.term(False, ) record set, which in term may cause weird behaviour as this value does not eval to false in cases like `if self.payment_term_id:` Closes odoo/odoo#28397
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions