[9.0][IMP] rma_purchase:

* remove unneded copy and ondelete attributes.
* simplify action_view methods.
* fix rma line supplier view.
* fix wizard.
* extend README.
* minor extra fixes.
This commit is contained in:
lreficent
2017-08-25 17:03:25 +02:00
committed by ahenriquez
parent e12fbb329a
commit f6c7550603

View File

@@ -89,12 +89,12 @@
<field name="inherit_id" ref="rma.view_rma_line_form"/>
<field name="arch" type="xml">
<header position="inside">
<button name="%(action_rma_picking_in)d" states="approved"
string="Create Incoming Shipment" class="oe_highlight"
type="action"/>
<button name="%(action_rma_picking_out)d" states="approved"
string="Create Delivery" class="oe_highlight"
type="action"/>
<button name="%(action_rma_picking_in)d" states="approved"
string="Create Incoming Shipment" class="oe_highlight"
type="action"/>
<button name="%(action_rma_picking_out)d" states="approved"
string="Create Delivery" class="oe_highlight"
type="action"/>
</header>
</field>
</record>
@@ -104,16 +104,14 @@
<field name="model">rma.order.line</field>
<field name="inherit_id" ref="rma.view_rma_line_supplier_form"/>
<field name="arch" type="xml">
<div name="button_box" position="before">
<header>
<button name="%(action_rma_picking_in)d" states="approved"
string="Create Incoming Shipment" class="oe_highlight"
type="action"/>
<button name="%(action_rma_picking_out)d" states="approved"
string="Create Delivery" class="oe_highlight"
type="action"/>
</header>
</div>
<header position="inside">
<button name="%(action_rma_picking_in)d" states="approved"
string="Create Incoming Shipment" class="oe_highlight"
type="action"/>
<button name="%(action_rma_picking_out)d" states="approved"
string="Create Delivery" class="oe_highlight"
type="action"/>
</header>
</field>
</record>