mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[WIP] project_acceptance: change on controllers for exception rule
H11043
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<!-- <tr><td style="text-align: center;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="590" summary="o_mail_notification" style="width:100%; margin: 32px 0px 32px 0px;">
|
||||
<tr><td style="font-size: 13px;">
|
||||
<!-- <strong>Please click on one of the below icons to indicate approval.</strong><br/> -->
|
||||
<strong>Please click on one of the below icons to indicate approval.</strong><br/>
|
||||
<strong>Please click on to go to the portal and confirm your selection</strong><br/>
|
||||
</td></tr>
|
||||
<tr><td style="font-size: 13px;">
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
<field name="description">When task stage changes and requires acceptance and task acceptance is blank</field>
|
||||
<field name="sequence">50</field>
|
||||
<field name="model">project.task</field>
|
||||
<!-- <field name="code">if not task.task_acceptance and task.stage_id.requires_acceptance: failed=True</field> -->
|
||||
<field name="code">failed = not task.task_acceptance and task.stage_id.requires_acceptance</field>
|
||||
<field name="code">if not task.task_acceptance and task.stage_id.requires_acceptance: failed=True</field>
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user