This patch is incorrect anyway. In fact the title is wrong. In Anglosaxon accounting we do not care about the price on the purchase order, after all it creates no accounting entries. When calculating the price difference it is the price we receipted the goods at that matters. This patch makes the assumption that the po line price is the price the goods were receipted at (or indeed there was even a po). The price difference must be between the move and the invoice. Also FYI price has been stored against moves since 6.0 for goods at average cost. And if the product is using standard cost then the correct price difference is standard cost compared to invoice cost, however there is a time danger here in that if standard cost changes it creates incorrect entries (actually you see this manifested with average cost today).
On Sat, Jan 28, 2012 at 9:06 PM, Ferdinand @ Camptocamp < [email protected]> wrote: > Yes - I we look at > http://www.accounting-basics-for-students.com/fifo-method.html > 3 methods are decribed > IMHO FIFO and LIFO are not supported by standard OpenERP as for this we > would need to check the purchase price and quantity - and the price was not > part of the stock moves till 6.1 I think. > > OpenERP supports 2 pricing methods > * standard price > * average price > and 3 accounting methods > * continental (standard) > * anglo saxon - which needs some already published bugreports + patches > > may be I missed some modules > > from current trunk > ./openobject-addons/stock/__openerp__.py:33: * Different inventory > methods (FIFO, LIFO, ...) > ./openobject-addons/stock/stock.py:156: # temporarily removed, as > it's unused: 'allocation_method': fields.selection([('fifo', 'FIFO'), > ('lifo', 'LIFO'), ('nearest', 'Nearest')], 'Allocation Method', > required=True), > > BTW average price may need to some tests and extensions as I do not know > yet how to handle revaluation of goods together with real time accounting > these obviously need moves with qty=0 and value = +/- value correction > > -- > You received this bug notification because you are subscribed to OpenERP > Addons. > https://bugs.launchpad.net/bugs/922077 > > Title: > anglo saxon - must handle product price diff between purchase and > invoice > > Status in OpenERP Addons (modules): > Incomplete > > Bug description: > very often the purchase order price is an indication, but the "real" > (day) price is different > > using anglo saxon method this difference must result in a account > move line to balance the input account > > patch will follow > > To manage notifications about this bug go to: > https://bugs.launchpad.net/openobject-addons/+bug/922077/+subscriptions > -- 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/922077 Title: anglo saxon - must handle product price diff between purchase and invoice Status in OpenERP Addons (modules): Incomplete Bug description: very often the purchase order price is an indication, but the "real" (day) price is different using anglo saxon method this difference must result in a account move line to balance the input account patch will follow To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/922077/+subscriptions -- Mailing list: https://launchpad.net/~credativ Post to : [email protected] Unsubscribe : https://launchpad.net/~credativ More help : https://help.launchpad.net/ListHelp

