Andrea Cometa has proposed merging
lp:~scigghia/openobject-italia/riba_v7_scigghia into
lp:~openobject-italia-core-devs/openobject-italia/adding_riba_v7.
Requested reviews:
OpenERP Italia core devs (openobject-italia-core-devs)
For more details, see:
https://code.launchpad.net/~scigghia/openobject-italia/riba_v7_scigghia/+merge/207409
fix contenente controllo sulla presenza banca partner, con relativo messaggio
di errore
--
https://code.launchpad.net/~scigghia/openobject-italia/riba_v7_scigghia/+merge/207409
Your team OpenERP Italia core devs is requested to review the proposed merge of
lp:~scigghia/openobject-italia/riba_v7_scigghia into
lp:~openobject-italia-core-devs/openobject-italia/adding_riba_v7.
=== modified file 'l10n_it_ricevute_bancarie/wizard/riba_file_export.py'
--- l10n_it_ricevute_bancarie/wizard/riba_file_export.py 2013-12-16 15:22:58 +0000
+++ l10n_it_ricevute_bancarie/wizard/riba_file_export.py 2014-02-20 11:27:03 +0000
@@ -188,6 +188,8 @@
if not line.partner_id.vat and not line.partner_id.fiscalcode:
raise orm.except_orm('Error', _('No VAT or Fiscal code specified for ') + line.partner_id.name)
+ if not (debit_bank.bank and debit_bank.bank.name or debit_bank.bank_name):
+ raise orm.except_orm('Error', _('No debit_bank specified for ') + line.partner_id.name)
Riba = [
line.sequence,
due_date,
_______________________________________________
Mailing list: https://launchpad.net/~openobject-italia-core-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openobject-italia-core-devs
More help : https://help.launchpad.net/ListHelp