mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
- Standard procedure. - Adapt to new `prepare_*_vals` methods. - Renamed fields adaptation. - Improved test coverage. TT44214 s
25 lines
964 B
XML
25 lines
964 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
|
<odoo>
|
|
<record id="rma_view_form" model="ir.ui.view">
|
|
<field name="name">rma.view.form</field>
|
|
<field name="model">rma</field>
|
|
<field name="inherit_id" ref="rma.rma_view_form" />
|
|
<field name="arch" type="xml">
|
|
<field name="partner_invoice_id" position="after">
|
|
<field
|
|
name="order_id"
|
|
options="{'no_create': True}"
|
|
attrs="{'readonly': [('state', '!=', 'draft')]}"
|
|
/>
|
|
</field>
|
|
<sheet>
|
|
<field name="allowed_picking_ids" invisible="1" />
|
|
<field name="allowed_move_ids" invisible="1" />
|
|
<field name="allowed_product_ids" invisible="1" />
|
|
</sheet>
|
|
</field>
|
|
</record>
|
|
</odoo>
|