更新工艺外协流程的报错问题
This commit is contained in:
@@ -7,6 +7,8 @@ from odoo.tools import str2bool
|
||||
|
||||
class SfProductionProcessParameter(models.Model):
|
||||
_inherit = 'sf.production.process.parameter'
|
||||
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
if vals.get('code', '/') == '/' or vals.get('code', '/') is False:
|
||||
|
||||
Reference in New Issue
Block a user