You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a template for contract type Supplier, it generates an error:
Uncaught Promise > The following error occurred in onWillUpdateProps: "Can not evaluate python expression: (bool(parent.contract_type == 'purchase' and not is_auto_renew)) Error: Name 'is_auto_renew' is not defined"
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Go to Invoicing > Configuration > Contract Templates
Select Supplier as Contract Type
The text was updated successfully, but these errors were encountered:
column_invisible="parent.contract_type == 'purchase' and not is_auto_renew"
i think the column_invisible should be removed cause if a line has is_auto_renew to false but other lines have it to true, the column should not be invisible. By removing it everythin works well.
Module
Contract
Describe the bug
When creating a template for contract type Supplier, it generates an error:
Uncaught Promise > The following error occurred in onWillUpdateProps: "Can not evaluate python expression: (bool(parent.contract_type == 'purchase' and not is_auto_renew)) Error: Name 'is_auto_renew' is not defined"
To Reproduce
Affected versions:
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: