← Back to team overview

openerp-india team mailing list archive

Re: [Bug 921680] Re: [Stock valuation] Stock journal entry for real-time product which have unit and sale price are 0.0

 

Well for me the answer is that an entry for 0.00 should be created.

For a few reasons:
1 - Other modules expect invoices to have account move lines e.g
account_anglo_saxon and to not have a move line could cause breakage.
2 - it is probably easier - there is a default somewhere causing 1, just
removing the default probably fixes it.
3 - its probably cleaner - same reason as above - rather than a special
test and not create moves - uses same code.
4 - it provides better traceability in case of returns, refund invoices etc.
5 - accountants (and tax departments) like to see everything especially in
audits (most fraud is perpetuated and caught at the journal level)
6 - not creating the zero move makes amending it harder.

On Mon, Feb 20, 2012 at 6:30 PM, Amit Parik (OpenERP)
<amp@xxxxxxxxxxx>wrote:

> Hello Folks,
>
> Thanks for replied on this.
>
> Would you please describe here which behaviour is good for this.
> - Entry should be created with 0.0 value.
> - Journal entry should not be created (because may be it's good,  If we
> should not create this entry rather than create a entry for nothing)
>
> Would you please provide your suggestion for the better solution. That
> is very efficient, If someone provide a proper real use case.
>
> Thank you!
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Addons.
> https://bugs.launchpad.net/bugs/921680
>
> Title:
>  [Stock valuation] Stock journal entry for real-time product which have
>  unit and sale price are 0.0
>
> Status in OpenERP Addons (modules):
>  Opinion
>
> Bug description:
>  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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/921680/+subscriptions
>

-- 
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/921680

Title:
  [Stock valuation] Stock journal entry for real-time product which have
  unit and sale price are 0.0

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/921680/+subscriptions


References