Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Account Invoice Import

Entity: account.move

Compute Method: _compute_show_import_warnings

Inputs Method Outputs
for move in self:
            show = False
            if move.state == "draft" and not is_html_empty(move.import_warnings):
                show = True
            move.show_import_warnings = show

Back to entity