优化自动生成批次序列号方法
This commit is contained in:
@@ -1106,6 +1106,9 @@ class SfProcurementGroup(models.Model):
|
||||
class SfPickingType(models.Model):
|
||||
_inherit = 'stock.picking.type'
|
||||
|
||||
code = fields.Selection([('incoming', 'Receipt'), ('outgoing', 'Delivery'), ('internal', '厂内出入库')],
|
||||
'Type of Operation', required=True)
|
||||
|
||||
def _default_show_operations(self):
|
||||
return self.user_has_groups(
|
||||
'stock.group_production_lot,'
|
||||
|
||||
Reference in New Issue
Block a user