[trunk/7.0] _create_product_valuation_moves (stock.move) does not use context while creating account.move

Bug #1184610 reported by Lorenzo Battistini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
Fix Released
Undecided
Lorenzo Battistini

Bug Description

See
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/9165/stock/stock.py#L2328
move creation does not use context.
This blocks other modules like 'stock_move_backdating' ( https://code.launchpad.net/~domsense/stock-logistic-flows/adding_7.0_stock_move_backdating/+merge/165061 ) in writing correct data

Attaching MP

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
summary: - [7.0] _create_product_valuation_moves (stock.move) does not use context
- while creating account.move
+ [trunk/7.0] _create_product_valuation_moves (stock.move) does not use
+ context while creating account.move
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Hi lorenzo. Your patch looks good. I suggest you backport it to the ocb-addons branch where it will certainly merged in a timely manner.

Revision history for this message
Lorenzo Battistini (elbati) wrote : Re: [Bug 1184610] Re: [trunk/7.0] _create_product_valuation_moves (stock.move) does not use context while creating account.move

On 06/08/2013 06:16 PM, Alexandre Fayolle - camptocamp wrote:
> Hi lorenzo. Your patch looks good. I suggest you backport it to the ocb-
> addons branch where it will certainly merged in a timely manner.
>

There it is
<https://code.launchpad.net/%7Eelbati/ocb-addons/7.0_fix_1184610_elbati/+merge/168447>

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hi,

I have merged Lorenzo patch, thanks

revno: 9606 [merge]
revision-id: <email address hidden>

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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