change code field to number

This commit is contained in:
?ngel ?lvarez 2018-05-18 16:16:02 +02:00
parent 10b79844c0
commit f7703ba7f4
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class Production:
if p.purchase_request:
if not p.incoming_shipment:
cls.raise_user_error('no_incoming_shipment', (
p.code,))
p.number,))
return super(Production, cls).assign_try(productions)
@classmethod