Commit 2397c59d by Etienne Freiss

Merge branch 'dev_cooperatic' into 2251-shift-screen-associate

parents a162f0a9 5c4fef90
...@@ -70,7 +70,7 @@ class PosOrder(models.Model): ...@@ -70,7 +70,7 @@ class PosOrder(models.Model):
raise UserError(_('You have to open at least one cashbox.')) raise UserError(_('You have to open at least one cashbox.'))
statement_note = '' statement_note = ''
if data['statement_note'] != '': if 'statement_note' in data:
statement_note = data['statement_note'] statement_note = data['statement_note']
args.update({ args.update({
'statement_id': statement_id, 'statement_id': statement_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment