mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma_account: adapt to changes in supplier rma group form view.
This commit is contained in:
committed by
DavidJForgeFlow
parent
c8c281270e
commit
06bda844bc
@@ -35,45 +35,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="view_rma_supplier_form" model="ir.ui.view">
|
|
||||||
<field name="name">rma.order.supplier.form</field>
|
|
||||||
<field name="model">rma.order</field>
|
|
||||||
<field name="inherit_id" ref="rma.view_rma_supplier_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<button name="action_view_out_shipments" position="after">
|
|
||||||
<button
|
|
||||||
type="object"
|
|
||||||
name="action_view_invoice_refund"
|
|
||||||
class="oe_stat_button"
|
|
||||||
icon="fa-pencil-square-o"
|
|
||||||
groups="account.group_account_invoice"
|
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="invoice_refund_count"
|
|
||||||
widget="statinfo"
|
|
||||||
string="Refunds"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
type="object"
|
|
||||||
name="action_view_invoice"
|
|
||||||
class="oe_stat_button"
|
|
||||||
icon="fa-pencil-square-o"
|
|
||||||
groups="account.group_account_invoice"
|
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="invoice_count"
|
|
||||||
widget="statinfo"
|
|
||||||
string="Origin Inv"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</button>
|
|
||||||
<!--
|
|
||||||
<xpath expr="//field[@name='rma_line_ids']/tree"
|
|
||||||
position="inside">
|
|
||||||
<field name="account_move_line_id" invisible="True"/>
|
|
||||||
</xpath>
|
|
||||||
-->
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user