[IMP] mrp,purchase,stock: Default lead times set to 0
Lead times are too advanced for most of our online users. Most of the companies just buy and sell and don't manage scheduling. As an example, when they do MTO, they purchase the same day they sold. The problem with current lead time is that users don't understand the dates produced on delivery orders and receptions. They even have receptions in the past, and they don't understand why. (customer lead time default to 7 and vendor lead time to 1, as well as security days, ...)
This commit is contained in:
@@ -10,5 +10,5 @@ class company(osv.osv):
|
||||
help="Security days for each manufacturing operation."),
|
||||
}
|
||||
_defaults = {
|
||||
'manufacturing_lead': lambda *a: 1.0,
|
||||
'manufacturing_lead': lambda *a: 0.0,
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ class product_template(osv.osv):
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'produce_delay': 1,
|
||||
'produce_delay': 0,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class company(models.Model):
|
||||
help="Margin of error for vendor lead times. When the system "
|
||||
"generates Purchase Orders for procuring products, "
|
||||
"they will be scheduled that many days earlier "
|
||||
"to cope with unexpected vendor delays.", default=1.0)
|
||||
"to cope with unexpected vendor delays.", default=0.0)
|
||||
|
||||
po_double_validation = fields.Selection([
|
||||
('one_step', 'Confirm purchase orders in one step'),
|
||||
|
||||
@@ -446,7 +446,7 @@ class product_template(osv.osv):
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'sale_delay': 7,
|
||||
'sale_delay': 0,
|
||||
'tracking': 'none',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user