[IMP] mrp,stock: planned --> scheduled date
This commit is contained in:
@@ -69,7 +69,7 @@ class MrpRoutingWorkcenter(models.Model):
|
||||
batch = fields.Selection([
|
||||
('no', 'Once all products are processed'),
|
||||
('yes', 'Once a minimum number of products is processed')], string='Next Operation',
|
||||
help="""Will determine if the next work order will be planned after the previous one or after the first Quantity To Process of the previous one.""",
|
||||
help="""Will determine if the next work order will be scheduled after the previous one or after the first Quantity To Process of the previous one.""",
|
||||
default='no', required=True)
|
||||
batch_size = fields.Float('Quantity to Process', default=1.0)
|
||||
workorder_ids = fields.One2many('mrp.workorder', 'operation_id', string="Work Orders")
|
||||
|
||||
@@ -51,7 +51,7 @@ class Product(models.Model):
|
||||
incoming_qty = fields.Float(
|
||||
'Incoming', compute='_compute_quantities', search='_search_incoming_qty',
|
||||
digits=dp.get_precision('Product Unit of Measure'),
|
||||
help="Quantity of products that are planned to arrive.\n"
|
||||
help="Quantity of planned incoming products.\n"
|
||||
"In a context with a single Stock Location, this includes "
|
||||
"goods arriving to this Location, or any of its children.\n"
|
||||
"In a context with a single Warehouse, this includes "
|
||||
@@ -62,7 +62,7 @@ class Product(models.Model):
|
||||
outgoing_qty = fields.Float(
|
||||
'Outgoing', compute='_compute_quantities', search='_search_outgoing_qty',
|
||||
digits=dp.get_precision('Product Unit of Measure'),
|
||||
help="Quantity of products that are planned to leave.\n"
|
||||
help="Quantity of planned outgoing products.\n"
|
||||
"In a context with a single Stock Location, this includes "
|
||||
"goods leaving this Location, or any of its children.\n"
|
||||
"In a context with a single Warehouse, this includes "
|
||||
|
||||
@@ -318,7 +318,7 @@
|
||||
<filter string="To Do" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
|
||||
<filter string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
|
||||
<separator/>
|
||||
<filter string="Today" domain="[('date','<=', datetime.datetime.combine(context_today(), datetime.time(23,59,59))), ('date','>=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]" help="Orders processed Today or planned for Today"/>
|
||||
<filter string="Today" domain="[('date','<=', datetime.datetime.combine(context_today(), datetime.time(23,59,59))), ('date','>=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]" help="Orders processed today or scheduled for today"/>
|
||||
<separator/>
|
||||
<filter string="Incoming" name="incoming" domain="[('location_id.usage', 'not in', ('internal', 'transit')), ('location_dest_id.usage', 'in', ('internal', 'transit'))]"/>
|
||||
<filter string="Outgoing" name="outgoing" domain="[('location_id.usage', 'in', ('internal', 'transit')), ('location_dest_id.usage', 'not in', ('internal', 'transit'))]"/>
|
||||
|
||||
Reference in New Issue
Block a user