Odoo Help

Welcome!

This community 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.

0

Bug : Recurring Documents & BBA

By
Gaetan Moyse
on 7/9/13, 10:28 AM 1,720 views

Hello,

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 ?

https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-586266-cbi/+merge/149487

Gaetan Moyse
on 7/9/13, 10:31 AM
0
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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