mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-18 02:39:10 +02:00
work on flow
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
|
||||
|
||||
<xpath expr="//button[@name='action_quotation_send']" position="before">
|
||||
<button name="action_confirm_approval_request" groups="sales_team.group_sale_salesman" string="Submit To MGT" class="btn-primary" type="object" attrs="{'invisible': [('state', 'not in', ['draft'])]}"/>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_quotation_send']" position="after">
|
||||
|
||||
<button name="action_manager_approval" groups = "sales_team.group_sale_manager" string="Approved By MGT" type="object" attrs="{'invisible': [('state', 'not in', ['approval'])]}" class="btn-primary"/>
|
||||
<button name="action_managment_reject" groups = "sales_team.group_sale_manager" string="Rejected By MGT" type="object" attrs="{'invisible': [('state', 'not in', ['approval'])]}" class="btn-primary"/>
|
||||
|
||||
@@ -17,12 +19,9 @@
|
||||
<button name="reset" string="Reset" type="object" attrs="{'invisible': [('state', 'not in', ['reject'])]}" class="btn-primary"/>
|
||||
</xpath>
|
||||
|
||||
<!-- <xpath expr="//button[@name='action_quotation_send']" position="replace">
|
||||
<button name="action_quotation_send" string="Send by Email" type="object" states="approved" class="btn-primary"/>
|
||||
|
||||
</xpath> -->
|
||||
|
||||
<xpath expr="//button[@name='action_confirm']" position="after">
|
||||
<button name="action_confirm_approval_request" groups="sales_team.group_sale_salesman" string="Submit To MGT" class="btn-primary" type="object" attrs="{'invisible': [('state', 'not in', ['draft'])]}"/>
|
||||
|
||||
<button name="action_logistics_approval" groups="sales_team.group_sale_salesman" states="approved" type="object" string="Validated By LC"/>
|
||||
</xpath>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user