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.

2

OPENERP 7 - France-French Accounting - Opening Entries Journal

By
quart
on 7/14/13, 4:00 AM 3,522 views

Hello, I think there is a problem with french accounting ? because... when I tried with swiss accounting everything work well without this message :

"User Error! There is no default credit account defined on journal "Opening Entries Journal".

swiss version add automaticaly two lines in more. one for credit and another one for debit. the first line had already a default account (299000 Bénéfice reporté / Perte reportée) and same thing for the two others added by openerp. I verified and apparently It's the good account for the swiss accounting but for me it's more like : 101000 CAPITAL 512000 BANQUE It's like that for the opening journal in others accounting software I've tried. What I've missed ?

Thank you in advance !

0
TheBrush
On 10/31/13, 8:14 AM

Like Vincent reply is just a workaround: I create a module that let visible the 2 fields that we need, this is the XML of the view:

<record id="view_account_journal_form_visible_default" model="ir.ui.view"> <field name="name">Journal visible default</field> <field name="model">account.journal</field> <field name="inherit_id" ref="account.view_account_journal_form"/> <field name="arch" type="xml"> <field name="group_invoice_lines" position="after"> <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/> <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/> </field>
</field> </record>

0
Vincent Van Dyck
On 10/17/13, 1:31 PM

I have the same (?) problem with belgian accounting. When I try to generate opening entries, a similar message occured :

"User Error!

The journal must have default credit and debit account."

I use the "Opening Entries Journal", with "790000 Bénéfice reporté de l'exercice précédent" for "Profit Account" and "690000 Perte reportée de l'exercice précédent" for "Loss Account". Both account are of right type (deferral method = none). Nothing seems to be bad.

I've find a solution for myself, editing tables directly. The table 'account_journal' have quite similar fields :

default_debit_account_id

default_credit_account_id

loss_account_id

profit_account_id

It seems that my journal didn't had entries in both "default_*" fields. I entered them 'a la mano' and everything run smoothly after.

I don't know the difference between default_credit_account_id and profit_account_id , and I don't know witch fields are modified by the journal config view : I didn't search further for trhe moment.

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/14/13, 4:00 AM
Seen: 3522 times
Last updated: 3/16/15, 8:10 AM