Skip to content

Commit

Permalink
Merge branch '10-roulier' of https://github.com/akretion/carrier-deli…
Browse files Browse the repository at this point in the history
…very into 10-roulier
  • Loading branch information
alexis-via committed Apr 20, 2018
2 parents e97337f + b0dc81a commit 4eebd58
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions delivery_roulier_laposte/data/delivery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@
<odoo>
<data noupdate="1">

<!-- PARTNER -->
<record id="partner_la_poste" model="res.partner">
<field name="name">La Poste</field>
<field name="is_company" eval="True"/>
<field name="customer" eval="False"/>
<field name="supplier" eval="True"/>
<field name="street">rue du colis</field>
<field name="zip">99999</field>
<field name="city">XXXXXX PFC</field>
</record>

<!-- DELIVERY CARRIER TEMPLATE OPTION -->
<record id="carrier_opt_tmpl_NM" model="delivery.carrier.template.option">
<field name="name">Non Mécanisable</field>
Expand All @@ -26,9 +15,7 @@
<field name="code">DOM</field>
<field name="carrier_type">laposte</field>
<field name="product_type">service</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="DOM_laposte_carrier_opt_tmpl_NM"
model="delivery.carrier.option">
Expand All @@ -45,9 +32,7 @@
<field name="carrier_type">laposte</field>
<field name="product_type">service</field>
<field name="code">DOS</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="DOS_laposte_carrier_opt_tmpl_NM" model="delivery.carrier.option">
<field name="readonly_flag" eval="True"/>
Expand Down Expand Up @@ -91,9 +76,7 @@
<field name="product_type">service</field>
<field name="code">CORE</field>
<field name="default_code">CORE</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="CORE_laposte_carrier_opt_tmpl_NM"
model="delivery.carrier.option">
Expand All @@ -118,9 +101,7 @@
<field name="product_type">service</field>
<field name="code">COM</field>
<field name="default_code">COM</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="COM_laposte_carrier_opt_tmpl_NM"
model="delivery.carrier.option">
Expand All @@ -145,9 +126,7 @@
<field name="product_type">service</field>
<field name="code">CDS</field>
<field name="default_code">CDS</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="CDS_laposte_carrier_opt_tmpl_NM" model="delivery.carrier.option">
<field name="readonly_flag" eval="True"/>
Expand Down Expand Up @@ -188,9 +167,7 @@
<field name="product_type">service</field>
<field name="default_code">CORI</field>
<field name="code">CORI</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="CORI_laposte_carrier_opt_tmpl_NM" model="delivery.carrier.option">
<field name="readonly_flag" eval="True"/>
Expand Down Expand Up @@ -222,9 +199,7 @@
<field name="product_type">service</field>
<field name="code">COLI</field>
<field name="default_code">COLI</field>
<field name="use_detailed_pricelist" eval="1"/>
<field name="deposit_slip" eval="True"/>
<field name="partner_id" ref="delivery_roulier_laposte.partner_la_poste"/>
</record>
<record id="COLI_laposte_carrier_opt_tmpl_NM"
model="delivery.carrier.option">
Expand Down Expand Up @@ -252,4 +227,4 @@
</record>

</data>
</odoo>
</odoo>

0 comments on commit 4eebd58

Please sign in to comment.