openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24923
[Bug 1217779] Re: [7.0] Generate recurring move is not company aware
** Changed in: openobject-addons
Importance: Undecided => Medium
** 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/1217779
Title:
[7.0] Generate recurring move is not company aware
Status in OpenERP Addons (modules):
Confirmed
Bug description:
The wizard that generate recurring move ignore company and breaks on
security rules in multi company mode.
Inside transient model "account.subscription.generate" function action_generate, there is a direct use of the cursor that ignore the user current company:
cr.execute('select id from account_subscription_line where date<%s and move_id is null', (data['date'],))
So it tries to generate lines for all companies and breaks on security
rules
Regards
Nicolas
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1217779/+subscriptions
References