first push message

This commit is contained in:
2026-07-01 14:41:49 +07:00
parent 6667dec2bf
commit 58b5f46cc4
2951 changed files with 316619 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_request_approval_form_inherit" model="ir.ui.view">
<field name="name">Request Approval</field>
<field name="model">xf.doc.approval.document.package</field>
<field name="inherit_id" ref="xf_doc_approval.xf_doc_approval_document_package_form"/>
<field name="arch" type="xml">
<xpath expr="//header" position="inside">
<button string="Request Bank Payment" type="object" name="action_request_bank_payment"
invisible="state != 'approved' or payment_order_id != False" class="btn-primary" groups="account.group_account_user,account.group_account_manager"/>
<button string="Post Vendor Bill" type="object" name="action_post_vendor_bill"
invisible="1" class="btn-primary" groups="account.group_account_user,account.group_account_manager"/>
</xpath>
<xpath expr="//group[@name='documents']" position="before">
<div>
<b><label for="type_request" string="Type of Request"/></b>
<field name="type_request" required="1"/>
</div>
</xpath>
<xpath expr="//group[@name='documents']" position="after">
<group string="Payment Details" invisible="type_request == '1'">
<field name="payment_amount"/>
<field name="currency_id" readonly="1"/>
<field name="partner_id" required="type_request == '2'"/>
<field name="bill_id" readonly="1"/>
<field name="payment_order_id" readonly="1"/>
</group>
</xpath>
</field>
</record>
</data>
</odoo>