Rename delivery_date into shipping_date

issue5275
review18931002
This commit is contained in:
Cédric Krier
2016-02-02 21:16:47 +01:00
parent 6751bcbacb
commit ec72c7ee85
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -126,7 +126,7 @@ class SaleLine:
product = self.product
supplier, purchase_date = Request.find_best_supplier(product,
self.delivery_date)
self.shipping_date)
uom = product.purchase_uom or product.default_uom
quantity = Uom.compute_qty(self.unit, self.quantity, uom)
return Request(
@@ -137,7 +137,7 @@ class SaleLine:
computed_quantity=quantity,
computed_uom=uom,
purchase_date=purchase_date,
supply_date=self.delivery_date,
supply_date=self.shipping_date,
company=self.sale.company,
warehouse=self.warehouse,
origin=self.sale,
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook/page/field[@name='delivery_date']"
<xpath expr="/form/notebook/page/field[@name='shipping_date']"
position="after">
<label name="purchase_request_state"/>
<field name="purchase_request_state"/>