← Back to team overview

credativ team mailing list archive

[Bug 912619] Re: [6.0.3] Account Entries in Pickings, Purchase module

 

Hi Amit:

Costing method not is the problem, the error is when in the product on
accounting properties  change field "Valuation Property" and set "Real
Time(Automated)" all pickings make a account entry with the accounts
configured in Category of product or accounts configured in product, for
changes in inventary value, in sales or out pickings there's no problem
but in purchase is the problem. i,e:

Category of Product X
 Stock Input Account = A
 Stock Output Account = B
 Stock Variation Account = C

Picking Line of In Picking
 qty = 4
 price of product X = 10

The account move when you aprove the picking must be

 Credit A  4X10 = 40
 Debit C 4X10 = 40

But actually purchase method mentioned in the bug change the value used
to make this account entry, and this occurs when module 'purchase' is
installed, without it there's no problem

 Credit A 10
 Debit C 10
 
The error is because the method just retrieve the price of product but don't consider quantity there's in the picking line

** Changed in: openobject-addons
       Status: Incomplete => Opinion

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/912619

Title:
  [6.0.3] Account Entries in Pickings, Purchase module

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  Hi, I have a little problem with the account moves created by picking,
  when accounts are cofigurated in category of product or direct in the
  product, and you select calculate automatic value of stock, when you
  aprove the in picking, the move have the price unit of product by 1,
  but not amount x price units in the picking, there's an override
  method in purchase module, in file purchase/stock.py method
  "_get_reference_accounting_values_for_valuation" the value of variable
  "reference_amount" in line 43 only return the price unit, it must be
  the multiplication of price_unit per units in the line of purchase
  order or picking, please check and say me if you can reproduce the
  error

  I don't review yet version 6.1 but I think if you don't change the
  code of purchase module the bug is the same, thanks for all

  Regards
  Christopher Ormaza

  PD: Please excuse me if I have some mistakes in my english

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


References