mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[MIG] rma_repair: Migration to 14.0 - account fix
This commit is contained in:
committed by
AaronHForgeFlow
parent
198d475a7a
commit
93ba3fbe43
@@ -91,55 +91,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_rma_add_account_move" model="ir.actions.act_window">
|
|
||||||
<field name="name">Add Invoice</field>
|
|
||||||
<field name="type">ir.actions.act_window</field>
|
|
||||||
<field name="res_model">rma_add_account_move</field>
|
|
||||||
<field name="view_mode">form</field>
|
|
||||||
<field name="target">new</field>
|
|
||||||
<field name="view_id" ref="view_rma_add_account_move" />
|
|
||||||
<field name="groups_id" eval="[(4, ref('rma.group_rma_customer_user'))]" />
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="action_rma_add_account_move_supplier" model="ir.actions.act_window">
|
|
||||||
<field name="name">Add Invoice</field>
|
|
||||||
<field name="type">ir.actions.act_window</field>
|
|
||||||
<field name="res_model">rma_add_account_move</field>
|
|
||||||
<field name="binding_model_id" ref="rma.model_rma_order_line" />
|
|
||||||
<field name="view_mode">form</field>
|
|
||||||
<field name="target">new</field>
|
|
||||||
<field name="view_id" ref="view_rma_add_account_move_supplier" />
|
|
||||||
<field name="groups_id" eval="[(4, ref('rma.group_rma_supplier_user'))]" />
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_rma_add_account_move_form" model="ir.ui.view">
|
|
||||||
<field name="name">rma.order.form - invoice wizard</field>
|
|
||||||
<field name="model">rma.order</field>
|
|
||||||
<field name="inherit_id" ref="rma.view_rma_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//header" position="inside">
|
|
||||||
<button
|
|
||||||
name="%(action_rma_add_account_move)d"
|
|
||||||
string="Add From Invoice"
|
|
||||||
type="action"
|
|
||||||
/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_rma_add_account_move_button_form" model="ir.ui.view">
|
|
||||||
<field name="name">rma.order.supplier.form - invoice wizard</field>
|
|
||||||
<field name="model">rma.order</field>
|
|
||||||
<field name="inherit_id" ref="rma.view_rma_supplier_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//header" position="inside">
|
|
||||||
<button
|
|
||||||
name="%(action_rma_add_account_move_supplier)d"
|
|
||||||
string="Add From Invoice"
|
|
||||||
type="action"
|
|
||||||
/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user