← Back to team overview

openerp-india team mailing list archive

[Bug 755609] Re: [6.0.2/6.1] Impossible to choice sequence in account journal column

 

It seems that the situation in OpenERP 6.1 hasn't changed since my
comment #4... journal views are still unusable in OpenERP 6.1 !

I took some time to read the code of the function fields_view_get in
account/account_move_line.py line 991 (openerp 6.1), and I must say that
I was very surprised. If I didn't make a mistake when reading this code,
I discovered that "Journal views" don't correspond AT ALL to what you
would thing they are supposed to do.

When I see the content of a journal view and I see that a journal view
is linked to a journal, I thought : journal views allow users to
personnalise the tree view depending on which journal they're viewing.
After reading the code of fields_view_get, I can say that my
interpretation was completely wrong. But, after reading this code, I
can't say what Journal views are meant for... I would be glad to have an
explaination !

In fact, when I looked at the code of fields_view_get, I understood severals things :
- the tree view of account.move.line is fully generated by code, unless there is a 'view_mode' key <> False in the context
- the code that generate the view IS INDEPENDANT from the journal ! Inside the code, there is a loop on ALL accounting journals, that aggregate all the fields defined on ALL the journal views. It makes no sense to me, but that's what I see in the code.

Could you explain to me how journal views are supposed to work ? Quentin
?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/755609

Title:
  [6.0.2/6.1] Impossible to choice sequence in account journal column

Status in OpenERP Addons (modules):
  New

Bug description:
  In 6.0.2, the sequence field in account_journal_column object is in
  readonly so it's not possible to modify it.

  Please find a patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/755609/+subscriptions