[REF] stock, mrp: codes on picking type
This commit is contained in:
@@ -7,7 +7,7 @@ from odoo import fields, models
|
||||
class StockPickingType(models.Model):
|
||||
_inherit = 'stock.picking.type'
|
||||
|
||||
code = fields.Selection(selection_add=[('mrp_operation', 'Manufacturing Operation')])
|
||||
code = fields.Selection(selection_add=[('mrp_operation', 'Manufacturing')])
|
||||
count_mo_todo = fields.Integer(string="Number of Manufacturing Orders to Process",
|
||||
compute='_get_mo_count')
|
||||
count_mo_waiting = fields.Integer(string="Number of Manufacturing Orders Waiting",
|
||||
|
||||
@@ -35,7 +35,7 @@ class PickingType(models.Model):
|
||||
default_location_dest_id = fields.Many2one(
|
||||
'stock.location', 'Default Destination Location',
|
||||
help="This is the default destination location when you create a picking manually with this operation type. It is possible however to change it or that the routes put another location. If it is empty, it will check for the customer location on the partner. ")
|
||||
code = fields.Selection([('incoming', 'Vendors'), ('outgoing', 'Customers'), ('internal', 'Internal')], 'Type of Operation', required=True)
|
||||
code = fields.Selection([('incoming', 'Receipt'), ('outgoing', 'Delivery'), ('internal', 'Internal Transfer')], 'Type of Operation', required=True)
|
||||
return_picking_type_id = fields.Many2one('stock.picking.type', 'Operation Type for Returns')
|
||||
show_entire_packs = fields.Boolean('Move Entire Packages', help="If ticked, you will be able to select entire packages to move")
|
||||
warehouse_id = fields.Many2one(
|
||||
|
||||
Reference in New Issue
Block a user