Skip to content
Snippets Groups Projects
Commit b2d61df0 authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

[IMP] state compare to active instead draft

parent 641dddd1
No related branches found
No related tags found
3 merge requests!138Hotfix setup name error,!134Release v14.0.1.1.6,!126[IMP] Feature/add energy selfconsumption distribution table
Pipeline #30138 passed
This commit is part of merge request !134. Comments created here will be created in the context of that merge request.
......@@ -61,7 +61,7 @@
<field
name="distribution_table_id"
attrs="{'readonly': [('state', 'not in', ['draft', 'activation'])]}"
domain="[('state', 'not in', ['draft']), ('selfconsumption_project_id', '=', id)]"
domain="[('state', '=', 'active'), ('selfconsumption_project_id', '=', id)]"
options="{'no_create': True}"
/>
</group>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment