mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
* IMP - Now the description will be an html son we can show rich styles in the customers report. * FIX - On locked sale orders it was need to unlock them to be able to open an RMA. * IMP - Make the description label visible in the backend form so the user can easily spot it. * IMP - Added date and deadline filters. * IMP - Added pending RMAs filter. * IMP - Added late RMAs filter. * IMP - Added danger decoration in tree view
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_order_form" model="ir.ui.view">
|
|
<field name="name">sale.order.form.inherit</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
|
<field name="groups_id" eval="[(4, ref('rma.rma_group_user_own'))]"/>
|
|
<field name="arch" type="xml">
|
|
<button name="action_done" position="after">
|
|
<button name="action_create_rma"
|
|
type="object"
|
|
string="Create RMA"
|
|
states="sale,done"/>
|
|
</button>
|
|
<div name="button_box">
|
|
<button name="action_view_rma"
|
|
type="object"
|
|
class="oe_stat_button"
|
|
icon="fa-reply"
|
|
attrs="{'invisible': [('rma_count', '=', 0)]}">
|
|
<field name="rma_count"
|
|
widget="statinfo"
|
|
string="RMA"/>
|
|
</button>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
</odoo>
|