update to fsm

This commit is contained in:
Marc Durepos 2024-06-03 11:52:16 -04:00
parent 61529d33e4
commit 7aa095ba78
2 changed files with 3 additions and 2 deletions

View file

@ -248,7 +248,7 @@
</td>
<td t-out="task.description or ''"/>
</tr>
<tr class="mt-0 pt-0">
<tr t-if="task.child_ids" class="mt-0 pt-0">
<td/>
<td>
<t t-call="bemade_fsm.subtask_list"/>

View file

@ -146,7 +146,8 @@
<field name="domain">[('is_fsm', '=', True),
('project_id', '!=', False),
('display_in_project', '=', True),
('parent_id', '=', False)]
('parent_id', '=', False),
('invoice_status', '=', 'to invoice')]
</field>
</record>
<!-- Add parent_id = false to domain for planning actions as well -->