Merge pull request #3844 from expsa/kchy_dev_odex25_purchase

Clean code
This commit is contained in:
kchyounes19 2025-07-10 08:46:58 +01:00 committed by GitHub
commit 0ccbdee28d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -189,10 +189,7 @@
<button name="action_skip_budget" type="object" string="Skip Budget"
attrs="{'invisible':[('hide_action_budget_button', '=', True)]}"
groups="purchase_requisition_custom.group_skip_purchase_budget"/>
<!-- <button name="action_skip_budget" type="object" string="Skip Budget" class="oe_highlight"-->
<!-- attrs="{'invisible':['|',('requisition_id','!=',False),'|',('state','not in',('sent')),('is_purchase_budget','=',False)]}"-->
<!-- groups="purchase_requisition_custom.group_skip_purchase_budget"/>-->
<!-- <button name="button_draft" states="cancel" string="Set to Draft" type="object"/>-->
<button name="button_draft" states="cancel" string="Set to Draft" type="object"/>
</xpath>
<xpath expr="//button[@name='button_approve']" position="replace">
<button name="button_approve" type="object"