odoo_addons
odoo_addons copied to clipboard
Error to render compiling AST KeyError: 'digits'
Hi,
I got an error when trying to print Manufacturing Order Report in MRP module at smile_decimal_precision/report/ir_qweb.py, it says Error to render compiling AST KeyError: 'digits', looks like there is no digits key in self.env, wouldn't be better to check if digits key available first?
https://github.com/Smile-SA/odoo_addons/blob/3ad7f33c0e8497d6eaf810c884c1339a88214bc9/smile_decimal_precision/report/ir_qweb.py#L11
Using: Odoo v11.0 CE.