summaryrefslogtreecommitdiff
path: root/addons/purchase/security/purchase_security.xml
diff options
context:
space:
mode:
authortbe-odoo <tbe@odoo.com>2017-11-15 11:50:54 +0100
committertbe-odoo <tbe@odoo.com>2017-11-15 13:31:00 +0100
commit822078d16ebec77d5e95f00e9cf16a55d1e10cf7 (patch)
tree54056d6b9cad334a56fd5f1249862c9bf3caa430 /addons/purchase/security/purchase_security.xml
parent8a7426da753da0fbc580c8f52d298a4c168dbf45 (diff)
[FIX] stripe: Fix crash when using language not defined
- This commit, fixes a crash triggered when the user is paying a quote while having his browser language set to a language not defined on the Odoo database. This is due to the fact that the field 'name' on the model 'account.analytic.account' is translatable. Stripe sends a json query to the server with the user's browser's language on the 'Accept-Language' http header field. By doing this, Odoo add a 'lang' key to the context, which is then used to translate translatable fields.
Diffstat (limited to 'addons/purchase/security/purchase_security.xml')
0 files changed, 0 insertions, 0 deletions