Rename delivery_time into lead_time
issue5275
This commit is contained in:
@@ -138,7 +138,7 @@ Create product::
|
||||
>>> template.list_price = Decimal('10')
|
||||
>>> template.cost_price = Decimal('5')
|
||||
>>> template.cost_price_method = 'fixed'
|
||||
>>> template.delivery_time = 0
|
||||
>>> template.lead_time = datetime.timedelta(0)
|
||||
>>> template.account_expense = expense
|
||||
>>> template.account_revenue = revenue
|
||||
>>> template.account_stock = stock
|
||||
@@ -386,7 +386,7 @@ Now we will use a product with different unit of measure::
|
||||
>>> template_by5.list_price = Decimal('10')
|
||||
>>> template_by5.cost_price = Decimal('5')
|
||||
>>> template_by5.cost_price_method = 'fixed'
|
||||
>>> template_by5.delivery_time = 0
|
||||
>>> template_by5.lead_time = datetime.timedelta(0)
|
||||
>>> template_by5.account_expense = expense
|
||||
>>> template_by5.account_revenue = revenue
|
||||
>>> template_by5.account_stock = stock
|
||||
|
||||
@@ -141,7 +141,7 @@ Create product::
|
||||
>>> template.list_price = Decimal('10')
|
||||
>>> template.cost_price = Decimal('5')
|
||||
>>> template.cost_price_method = 'fixed'
|
||||
>>> template.delivery_time = 0
|
||||
>>> template.lead_time = datetime.timedelta(0)
|
||||
>>> template.account_expense = expense
|
||||
>>> template.account_revenue = revenue
|
||||
>>> template.account_stock = stock
|
||||
@@ -161,7 +161,7 @@ Create product::
|
||||
>>> product_supplier.product = template
|
||||
>>> product_supplier.party = supplier
|
||||
>>> product_supplier.drop_shipment = True
|
||||
>>> product_supplier.delivery_time = 0
|
||||
>>> product_supplier.lead_time = datetime.timedelta(0)
|
||||
>>> product_supplier.save()
|
||||
|
||||
Create payment term::
|
||||
|
||||
Reference in New Issue
Block a user