mirror of
https://github.com/NaN-tic/trytond-account_payment_es_csb_34.git
synced 2023-12-14 06:33:04 +01:00
Rename vat_number to vat_code
This commit is contained in:
parent
4477d48f83
commit
bf5c758f70
|
@ -95,9 +95,9 @@ class Group:
|
||||||
self.raise_user_error('configuration_error',
|
self.raise_user_error('configuration_error',
|
||||||
error_description='party_without_complete_address',
|
error_description='party_without_complete_address',
|
||||||
error_description_args=(receipt['party'].name,))
|
error_description_args=(receipt['party'].name,))
|
||||||
if not receipt['vat_number']:
|
if not receipt['vat_code']:
|
||||||
self.raise_user_error('configuration_error',
|
self.raise_user_error('configuration_error',
|
||||||
error_description='party_without_vat_number',
|
error_description='party_without_vat_code',
|
||||||
error_description_args=(receipt['party'].name,))
|
error_description_args=(receipt['party'].name,))
|
||||||
receipt['cost'] = values['payment_journal'].csb_34_cost_key
|
receipt['cost'] = values['payment_journal'].csb_34_cost_key
|
||||||
receipt['concept'] = values['payment_journal'].csb_34_concept
|
receipt['concept'] = values['payment_journal'].csb_34_concept
|
||||||
|
|
Loading…
Reference in a new issue