2015 m. liepa 2 d., ketvirtadienis 15:30:04 UTC+3, Cédric Krier rašė: > > On 2015-07-02 05:10, Airidas wrote: > > > > > > 2015 m. liepa 2 d., ketvirtadienis 14:10:04 UTC+3, Cédric Krier rašė: > > > > > > On 2015-07-02 03:55, Airidas wrote: > > > > Hello, > > > > > > > > I found initial commit account_stock_landed_cost. > > > > When will you plan release this module? > > > > > > Probably for the next release. But as I can no feedback about it, I > tend > > > to postpone the commit (until at least I made a review of myself when > > > I'm in the mood). > > > > > I'd like try this module. > > How can I install it? > > Download the patch and apply it in an empty module named > account_stock_landed_cost > > $ mkdir account_stock_landed_cost > $ wget > https://tryton-rietveld.appspot.com/download/issue12141002_20001.diff > $ patch -p1 < issue12141002_20001.diff > > I tried this module and I have a few questions and observations.I use account_stock_anglo_saxon and product_cost_fifo modules. My testing scenario is: I created 2 Supplier Shipments for the same product. I created Customer Shipment for the same product. I created Supplier Invoice for the landed cost product. I created Landed Cost.
When I created Landed Cost was updated stock move entry (related to Supplier Shipment) field stock_move.unit_price value. Why field stock_move.cost_price value has not been updated? The stock_move entry (related to Customer Shipment) field stock_move.cost_price value has not been updated. This entry cost price was computed using FIFO method. It is therefore necessary to recalculate the stock_move.cost_price and related account move values when the landed cost posted. I think when Landed Cost was posted, account move (debit Stock Account and credit Expense Account) must be created. -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
