修复外协入库单根据图号查询不到

This commit is contained in:
guanhuan
2025-03-13 17:21:05 +08:00
parent 0d7f348194
commit 3baf3e60e8
2 changed files with 27 additions and 3 deletions

View File

@@ -1140,7 +1140,7 @@ class SfPickingType(models.Model):
action = super(SfPickingType, self)._get_action(action_xmlid)
if not self.env.user.has_group('base.group_system'):
action['context']['create'] = False
if self.sequence_code in ['DL', 'INT', 'PC']:
if self.sequence_code in ['INT', 'PC']:
action['context']['search_default_retrospect'] = 1
return action