Skip to content

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

Open
@bitsnaps

Description

@bitsnaps

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions