Rename delivery_date into shipping_date
issue5275 review18931002
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user