change standard price

Bug #1174045 reported by Kevin McMenamin
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
In Progress
Medium
OpenERP R&D Addons Team 2

Bug Description

In product view for costing method = average, change the cost price.
journal entry created should be either
DR Inventory
CR Price Difference (or the other way around)

In V7 the stock input/stock output accounts are being used instead of price difference.

Revision history for this message
Goran Kliska (gkliska) wrote :

Changing cost price without some inventory document is hardly best practice AFAIK.

Revision history for this message
Kevin McMenamin (kevin-mcmenamin) wrote :

Possibly, but the fact remains that the function exists and is creating incorrect accounting entries

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

Kevin is right, currently It takes the "Stock Input account", it should be create accounting entries for stock valuation vs price difference account.

Thank you!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Mohammad Alhashash (alhashash) wrote :

I think it is a bug in first place to show the update price button for average cost products. The button action, 'Change Standard Price', should be used for standard cost only; the resulting account move created by 'product.do_change_standard_price()' will not affect average cost calculations in future transactions.

The main point is still valid; update price move should affect a dedicated price difference account, not stock input/output accounts.

I filed bug #1184880 regarding incorrect display of update price button for average cost.

Regards,

Mohammad Alhashash

Changed in openobject-addons:
status: Confirmed → In Progress
Amit Parik (amit-parik)
tags: added: accounting stock warehouse
Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

Hello,

Any news on this one which was set In Progress last year?

By the way, I believe the use of input/output are reversed in this algorithm.

Ultimately, the user should have control on the account used for registering the price difference, so these account should be proposed in the wizard.

Best regards,

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.