V6 - O2M does not send context in default_get while switching from list to form.

Bug #720808 reported by Frederic Clementi - Camptocamp
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Medium
OpenERP sa GTK client R&D

Bug Description

Almost impossible to post manual entries in Accounting / Journal entries / Journal entries.
In the header the journal and period a requested but when starting to post a manual entry it is requested again
See attached printscreen

Missing default 'journal_id' and 'period_id' in the context of O2M
Thank you

Related branches

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :
Revision history for this message
filsys (office-filsystem) wrote :

This bug affect also me.

Revision history for this message
filsys (office-filsystem) wrote :

I think that bug is in /account/account_view.xml lines

1336 <field name="journal_id"/>
1337 <field name="period_id"/>
1338 <field name="company_id" required="1" groups="base.group_multi_company"/>

journal_id, period_id and company_id must be from parent.
just remove this line from from view.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Problem is in multi company environment.
period_id on Account.move(Journal entries) default does not able to search correct period for current user company some times it takes parent company's period in its default.

Thanks,
mra

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

FYI, In my example above, I am not in multicompany envirionnement.

Please, this is a serious issue, you cannot set it as "low importance", unless you consider it is not very important to post a manual entry !

If you need clarification, I can help

Thanks

Revision history for this message
Lucas (lucasbrosnon) wrote :

it hinders my clients too.

Revision history for this message
Veronica (icesoftveronica-deactivatedaccount) wrote :

Hey,

even i also require this solution badly.
@Amit, dont do it low, please understand the priority.

I need it fast.

Revision history for this message
Veronica (icesoftveronica-deactivatedaccount) wrote :

Hey, can any one tell me who is working on this ?
Some one experienced friend is there ?

I have seen many times, Jay Vora (OpenERP) is going good.
Seems he has good knowledge of openerp.
Can you solve it for me ?

Thanks in advance.

Revision history for this message
Nathan (nathan-bowden-kiwi) wrote :

Hello Fredric and veronika,

I has emailed you a proposal for it,
check and revert to me for the fix.

Regards,
Nathan,
SchoolTool.

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

@Frederic

Yes i got the problem when we switch from tree view to form view for journal items in journal entries we don't get the journal and period from parent.

And it seems problem in default_get method in account.move.line.

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

@ Nathan,

Could you put your patch on launchpad please?

Frederic

Amit Parik (amit-parik)
affects: openobject-addons → openobject-client
Changed in openobject-client:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP sa GTK client R&D (openerp-dev-gtk)
summary: - V6 - Journal entries bug
+ V6 - O2M does not send context in default_get while switching from list
+ to form.
description: updated
Changed in openobject-client:
importance: Low → Medium
status: Confirmed → In Progress
Changed in openobject-addons:
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello all,

The client side stuff has been fixed at https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-720808-nch and will be merged soon.

Thanks

Changed in openobject-client:
status: In Progress → Fix Committed
Changed in openobject-client:
status: Fix Committed → Fix Released
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

I'm closing the "addons" part of this bug as it is in fact a duplicate of bug 777640, which more specifically describes the issue.
I can't mark the current bug as duplicate because it's a global flag and that would hide also the GTK fix that was a different issue.
(hope this explanation is clear: basically we need different bugs to describe different issues)

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → nobody
importance: Medium → Undecided
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.