summaryrefslogtreecommitdiff
path: root/addons/repair/data
diff options
context:
space:
mode:
authordip-odoo <dip@odoo.com>2017-08-24 14:26:38 +0530
committerSimon Lejeune <sle@openerp.com>2018-01-29 11:02:05 +0100
commit355f59eb5dfd3635c2feffacb4ec33a34515e54d (patch)
treece378a3bddd181b620ad0d5ed36137d2861a319f /addons/repair/data
parenteaf537338c1fab4931d35ab93f798d4b7abb2763 (diff)
[REF] mrp_repair: locations handling
This commit removes the location_dest_id on repair orders. This field was used to move the product to a specific location after the repair was done. It makes the usability of the repair order smoother and the user can still make a transfer to move the product to another location afterwards.
Diffstat (limited to 'addons/repair/data')
-rw-r--r--addons/repair/data/repair_demo.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/repair/data/repair_demo.xml b/addons/repair/data/repair_demo.xml
index d96f28b1905..caec822017c 100644
--- a/addons/repair/data/repair_demo.xml
+++ b/addons/repair/data/repair_demo.xml
@@ -7,7 +7,6 @@
<field name="product_id" ref="product.product_product_3"/>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="partner_invoice_id" ref="base.res_partner_address_1"/>
- <field name="location_dest_id" ref="base.res_partner_address_1"/>
<field name="location_id" ref="stock.stock_location_stock"/>
<field name="operations" model="repair.line" eval="[(5, 0, 0), (0, 0, {
'location_dest_id': obj().env.ref('stock.location_production').id,
@@ -37,7 +36,6 @@
<field name="guarantee_limit" eval="datetime.today().strftime('%Y-%m-%d')"/>
<field name="invoice_method">after_repair</field>
<field name="partner_invoice_id" ref="base.res_partner_address_1"/>
- <field name="location_dest_id" ref="stock.stock_location_14"/>
<field name="location_id" ref="stock.stock_location_stock"/>
<field name="operations" model="repair.line" eval="[(5, 0, 0), (0, 0, {
'location_dest_id': obj().env.ref('stock.location_production').id,
@@ -67,7 +65,6 @@
<field name="guarantee_limit" eval="datetime.today().strftime('%Y-%m-%d')"/>
<field name="invoice_method">b4repair</field>
<field name="partner_invoice_id" ref="base.res_partner_address_1"/>
- <field name="location_dest_id" ref="stock.stock_location_stock"/>
<field name="location_id" ref="stock.stock_location_14"/>
<field name="operations" model="repair.line" eval="[(5, 0, 0), (0, 0, {
'location_dest_id': obj().env.ref('stock.location_production').id,