Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to render compiling AST KeyError: 'digits' #110

Open
bitsnaps opened this issue Jan 9, 2022 · 0 comments
Open

Error to render compiling AST KeyError: 'digits' #110

bitsnaps opened this issue Jan 9, 2022 · 0 comments

Comments

@bitsnaps
Copy link

bitsnaps commented Jan 9, 2022

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?

record._fields[field_name].get_description(self.env)['digits'] or \

Using: Odoo v11.0 CE.

bitsnaps added a commit to CorpoSense/odoo_addons that referenced this issue Jan 9, 2022
This is quick fix to this (issue)[Smile-SA#110]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant