Limit to 40 chars the communication field

This commit is contained in:
Guillem Barba 2013-12-09 18:12:24 +01:00
parent a1cd6e9420
commit da98367c2b

View file

@ -99,7 +99,7 @@ class Group:
record.name = receipt['name']
record.account = receipt['bank_account']
record.amount = receipt['amount']
record.concept = receipt['communication']
record.concept = receipt['communication'][:40]
return write([record])
def set_first_optional_individual_record():