diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
| commit | b8fbe54d6a6eb6d0a56afb2a45235e1bd6adca90 (patch) | |
| tree | 2adfd5dbe460bdd6a2d1265617a0cfb5a8108e49 /indoteknik_custom/views/purchase_order.xml | |
| parent | 05dafe1ab837cac8992d1dc6c012a26bce88c15c (diff) | |
| parent | d89f6b21f0174d52b1efb7d54ec3443bbbe3fbcb (diff) | |
Merged in cab-po-finance (pull request #326)
Cab po finance
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 0fbbb5e7..9084bcbb 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -14,6 +14,20 @@ attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}" /> </div> + <xpath expr="//button[@name='action_view_invoice']" position="before"> + <field name="is_cab_visible" invisible="1"/> + <button type="object" + name="action_view_journal_uangmuka" + class="oe_stat_button" + icon="fa-book" + attrs="{'invisible': [('is_cab_visible', '=', False)]}" + style="width: 200px;"> + <field name="move_id" widget="statinfo" string="Journal Uang Muka"/> + <span class="o_stat_text"> + <t t-esc="record.move_id.name"/> + </span> + </button> + </xpath> <button id="draft_confirm" position="after"> <button name="po_approve" string="Ask Approval" @@ -65,6 +79,7 @@ <field name="total_cost_service" attrs="{'required': [('partner_id', 'in', [9688, 29712])]}"/> <field name="total_delivery_amt" attrs="{'required': [('partner_id', 'in', [9688, 29712])]}"/> <field name="product_bom_id"/> + <!-- <field name="move_id" domain="[('move_type','=','entry')]" context="{'form_view_ref': 'account.view_move_form'}" options="{'no_create': True}"/> --> </field> <field name="amount_total" position="after"> <field name="total_margin"/> |
