Files
rma/crm_claim_rma/rma_data.xml

66 lines
4.1 KiB
XML

<?xml version="1.0" ?>
<openerp>
<data>
<!-- Sequences for crm.claim -->
<record id="seq_type_crm_claim" model="ir.sequence.type">
<field name="name">CRM claim</field>
<field name="code">crm.claim</field>
</record>
<record id="seq_crm_claim" model="ir.sequence">
<field name="name">CRM claim</field>
<field name="code">crm.claim</field>
<field name="prefix">CL/%(year)s/</field>
<field name="padding">5</field>
</record>
<!-- STANDARD SUBSTATE FOR CLAIM RMA -->
<!-- TO TREATE -->
<record id="rma_to_treate_refund" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;To refund&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product has to be refunded&quot;&quot;&quot;" />
</record>
<record id="rma_to_treate_exchange" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;To exchange&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product has to be exchanged&quot;&quot;&quot;" />
</record>
<record id="rma_to_treate_repair" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;To repair&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product has to be repaired&quot;&quot;&quot;" />
</record>
<record id="rma_to_treate_send_supplier" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;To send back to supplier&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product has to be sent back to supplier&quot;&quot;&quot;" />
</record>
<record id="rma_to_treate_back_from_supplier" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Back from supplier, to send to customer&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product has to be sent back from supplier and is to be sent back to customer&quot;&quot;&quot;" />
</record>
<!-- TREATED -->
<record id="rma_treated_refund" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Refunded and stock&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product refunded and sent back to stock&quot;&quot;&quot;" />
</record>
<record id="rma_treated_refund_waste" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Refunded and waste&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product refunded and sent to waste&quot;&quot;&quot;" />
</record>
<record id="rma_treated_exchange" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Exchanged&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product exchanged&quot;&quot;&quot;" />
</record>
<record id="rma_treated_repair" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Repaired&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product repaired&quot;&quot;&quot;" />
</record>
<record id="rma_treated_sent_to_supplier" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Sent to supplier, pending&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product sent to supplier. Waiting for supplier response&quot;&quot;&quot;" />
</record>
<record id="rma_treated_repaired_by_supplier" model="substate.substate">
<field name="name" eval="&quot;&quot;&quot;Repaired by supplier and sent back to customer&quot;&quot;&quot;"/>
<field name="substate_descr" eval="&quot;&quot;&quot;Returned product repaired by supplier and sent back to customer&quot;&quot;&quot;" />
</record>
</data>
</openerp>