[6.0RC1] stock real-time evaluation -company settings

Bug #678261 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Wishlist
OpenERP R&D Addons Team 2

Bug Description

I am currently working on a stock_accounting module (more or less ready)

in stock/stock.py

    def _create_product_valuation_moves(self, cr, uid, move, context=None):
        """
        Generate the appropriate accounting moves if the product being moves is subject
        to real_time valuation tracking, and the source or destination location is
        a transit location or is outside of the company.
        """
        if move.product_id.valuation == 'real_time': # FIXME: product valuation should perhaps be a property?

this is very risky to leave it to users to set this at product level
no one will be able to explan the difference between stock and accounting
IMHO this is a company wide setting !?
pls think of multi-company

I think this should read
        if move.company_id.valuation == 'real_time':

and move the valuation field from product_product to res_company.

Changed in openobject-addons:
status: New → Triaged
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

We Let the addons2 team decide.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
Changed in openobject-addons:
status: Triaged → Won't Fix
importance: Low → Wishlist
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.