-
- Downloads
[FIX] account_tax_python: prevent traceback while computing python code in tax
Syntax Error generates when the user gives invalid python code in 'account_tax' module and uses that tax while creating invoice. Steps to produce: * Install 'account_tax_python' module * Go to configuration/taxes and create a new tax. * Select Tax Computation as 'python code' and give some special characters to python code field and save it. * Now create an invoice, add a product and add the above created tax in taxes. * At this moment traceback raises. By applying these changes will resolve this issue. closes odoo/odoo#126940 Sentry: 4060222060 X-original-commit: 74642632 Signed-off-by:Olivier Colson (oco) <oco@odoo.com>
Please register or sign in to comment