openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13594
[Bug 1023463] Re: Context contains incorrect active_id and active_model
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
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/1023463
Title:
Context contains incorrect active_id and active_model
Status in OpenERP Addons (modules):
Confirmed
Bug description:
I am using OpenERP v6.1 with the latest nightly build (OpenERP Server
6.1-20120709-233338) in Ubuntu 12.04 and Postgresql 9.1.4.
I am creating a report using Aeroo Report for objects account.voucher,
I am taking the active_mode and active_id from context.
Note: It is important that the steps from 1 to 6 are done without
changing the view and sequentially.
1) I create a client account.invoice.
2) I press the validate button.
3) I press the pay button.
4) This brings me to an account.voucher object newly created object.
5) I click in the validate button here (still in the account.voucher view).
6) Here I do have a "Print" button for my report. When I click it I got in the context the information of the original account.invoice and not from the new crated account.voucher.
If I enter in the newly created account.voucher from the menus, the
context contains the right information.
The idea is that when navigating through the objects, the context is
not update properly. Even if the URL does contain the proper model and
id parameters right.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1023463/+subscriptions
References