Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sipreco_purchase/views/purchase_requisition_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<button name="print_report_requisition" string="Print" type="object"/>
</button>


<button name="action_confirm" position="attributes">
Comment on lines 34 to 38
<attribute name="groups">sipreco_purchase.group_approve_purhcase_req</attribute>
<attribute name="string">Confirm</attribute>
Expand All @@ -42,6 +43,9 @@
<xpath expr="//field[@name='state']" position="attributes">
<attribute name="invisible">0</attribute>
</xpath>
<xpath expr="//button[@name='action_done']" position="attributes">
<attribute name="invisible">state != 'confirmed'</attribute>
</xpath>
Comment on lines +46 to +48

<div name="button_box">
<button class="oe_stat_button" name="%(stock_request.action_stock_request_form)d" string="Solicitudes" type="action" context="{'search_default_manual_requisition_id': id}" icon="fa-bars" groups="stock.group_stock_user"/>
Expand Down