Odoo Help


Bug : Recurring Documents & BBA

Gaetan Moyse
on 7/9/13, 10:28 AM 2,276 views


I have a bug with Recurring documents and Structured Bank Communication.

My invoice template have BBA selected with "Date : +++DOY/YEAR/SSSDD+++ DOY = Day of the Year, SSS = Sequence Number, DD = Check Digits "

In the cron job, I have this report :

2013-07-09 12:18:32,694 1280 ERROR openerp.addons.base.ir.ir_cron: Call of self.pool.get('subscription.subscription').model_copy(cr, uid, *([6],)) failed in Job 22 Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server\openerp\addons\base\ir\ir_cron.py", line 136, in _callback File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server\openerp\addons\subscription\subscription.py", line 139, in model_copy File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server\openerp\addons\account\account_invoice.py", line 717, in copy File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server\openerp\addons\mail\mail_thread.py", line 302, in copy File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server.\openerp\osv\orm.py", line 5026, in copy File "C:\Program Files (x86)\OpenERP 7.0-20130704-231028\Server\server\openerp\addons\l10n_be_invoice_bba\invoice.py", line 181, in create except_osv: (u'Attention !', u'The BBA Structured Communication has already been used!\nPlease create manually a unique BBA Structured Communication.')

I think the module tries to copy structured instead of generating communication ?


Gaetan Moyse
on 7/9/13, 10:31 AM
Gaetan Moyse
On 7/9/13, 11:01 AM

solution for the impatient:

Select the invoice template in PostgreSQL \ DataBase \ xxxxx \ Schemas \ public \ Tables \ account_invoice : change the "reference_type" BBA to none

you can keep the original structured communication will be considered a free communication

Better solution : in the Documents Type, you add :

Champ : Communication Type ; Valeur par défaut : Faux

Gaetan Moyse
on 7/9/13, 11:07 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/9/13, 10:28 AM
Seen: 2276 times
Last updated: 3/16/15, 8:10 AM