Skip to content

Multi-line expression does not work #433

Description

@alexey-pelykh

Works:

<field name="expression">balp[][('tax_ids.tag_ids.id', '=', ref('l10n_ee_accounting.kmd2017_3_2').id), ('tax_ids.type_tax_use', '=', 'purchase')] - balp[][('tax_ids.tag_ids.id', '=', ref('l10n_ee_accounting.kmd2017_3_2').id), ('tax_ids.type_tax_use', '=', 'sale')]</field>

Same but multiline does not:

<field name="expression">
    balp[][
        ('tax_ids.tag_ids.id', '=', ref('l10n_ee_accounting.kmd2017_3_2').id), ('tax_ids.type_tax_use', '=', 'purchase')
    ] - balp[][
        ('tax_ids.tag_ids.id', '=', ref('l10n_ee_accounting.kmd2017_3_2').id), ('tax_ids.type_tax_use', '=', 'sale')
    ]
</field>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugno staleUse this label to prevent the automated stale action from closing this PR/Issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions