Stock valuation for consummable product

Asked by gde (OpenERP)

On the SaaS, when I make an inventory directly from the product form for a Consumable product with sales and cost price equal to 0, I get an accounting line with an amount equal to 1 which is not correct.

It should generate a move with an amount equal to 0 or no move at all.

Steps to reproduce:
- Create a consumable product with sales and cost price equal to 0
- Set the Stock valuation to real time
- Make an inventory for 10000 units
- Check the accounting move
- Make an inventory for 5 units for the same product
- Check the accounting move

--> Problem: accounting move with amount different of 0

Question information

Language:
English Edit question
Status:
Invalid
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Numérigraphe
Solved:
Last query:
Last reply:
Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello,

I have checked your issue but this is not a bug rather than it's functional behavior for accounting entires.

Let me explain whole thing here:

First of all that doesn't matter that we have using a "Consumable " or "Stackable" both have behavior same for this scenario.

You have created a product with cost and sale both price 0.0.
Yes, you are right. Whenever we creates stock journal's entires for this product it will take the credit and debit value 1.0.

This is not a bug, but we have set this thing for better functional behavior for real time scenario. Because If we creates entires for 0.0 it's doesn't make sanes and it's meaning less also we won't allow entires for 0.0.

Finlay that's behavior is set an intensionally and this 's not a bug, So I am converting this to questions.

Correct me If I am wrong .

Thanks for understanding!

Revision history for this message
gde (OpenERP) (gde-openerp) said :
#2

Ok. So it is more correct to have several wrong lines instead of having some correct lines with an amount of 0 or no lines at all?

 A better solution is to have no line if the debit/credit amount is equal to 0.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Numérigraphe (numerigraphe) said :
#4

I think you should file a bug report.
Lionel Sausin.

Revision history for this message
gde (OpenERP) (gde-openerp) said :
#5

This bug needs to be fixed as soon as possible because it generates wrong entries in the accounting. Moreover this bug has been confirmed by our internal experts (from R&D and support)

Revision history for this message
Numérigraphe (numerigraphe) said :
#6

Duplicate of bug #921680