2018-01-17 08:28:52 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<flectra>
|
|
|
|
|
|
|
|
<record id="view_rma_line_form" model="ir.ui.view">
|
|
|
|
<field name="name">rma.line.form</field>
|
|
|
|
<field name="model">rma.line</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="RMA Lines">
|
|
|
|
<sheet>
|
|
|
|
<group>
|
|
|
|
<group>
|
|
|
|
<field name="product_id"/>
|
|
|
|
<field name="qty_delivered"/>
|
2018-03-05 08:31:06 +01:00
|
|
|
<field name="qty_return" required="1"/>
|
2018-01-17 08:28:52 +01:00
|
|
|
<field name="uom_id"/>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="rma_id"/>
|
|
|
|
<field name="reason_id" required="1" options="{'no_create': True}"/>
|
|
|
|
<field name="remark"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</sheet>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="act_open_rma_line_view">
|
|
|
|
<field name="name">RMA Lines</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">rma.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[]</field>
|
|
|
|
<field name="context">{}</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_rma_line_filter" model="ir.ui.view">
|
|
|
|
<field name="name">rma.line.search.view</field>
|
|
|
|
<field name="model">rma.line</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search RMA Line">
|
|
|
|
<field name="team_id"/>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_rma_line_graph" model="ir.ui.view">
|
|
|
|
<field name="name">rma.line.graph</field>
|
|
|
|
<field name="model">rma.line</field>
|
|
|
|
<field name="arch" type="xml">
|
2018-03-05 08:31:06 +01:00
|
|
|
<graph string="Return Request">
|
2018-01-17 08:28:52 +01:00
|
|
|
<field name="product_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2018-03-05 08:31:06 +01:00
|
|
|
<record id="return_request_action_reports"
|
2018-01-17 08:28:52 +01:00
|
|
|
model="ir.actions.act_window">
|
2018-03-05 08:31:06 +01:00
|
|
|
<field name="name">Return Requests</field>
|
2018-01-17 08:28:52 +01:00
|
|
|
<field name="res_model">rma.line</field>
|
|
|
|
<field name="view_mode">graph,tree,form</field>
|
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2018-03-05 08:31:06 +01:00
|
|
|
No Return request.
|
2018-01-17 08:28:52 +01:00
|
|
|
</p>
|
|
|
|
</field>
|
|
|
|
<field name="context">{'search_default_team_id': active_id}</field>
|
|
|
|
</record>
|
|
|
|
</flectra>
|