Tryton - Issues

 

Message39472

Author tbruyere
Recipients ced, mrichez
Date 2018-03-28.09:17:02
Content
If we link the topic "https://discuss.tryton.org/t/how-to-add-amount-to-account-stock-if-we-add-a-landed-cost-to-a-supplier-shipment" 
it is necessary to integrate an imputation in the stock account
of the change of cost after recalculation in the assistant of update of the cost price (value of product added in the stock account).

Example : 
Current product cost price : 1,5€
Recompute product cost price : 2€ (landing cost integration)
Product cost price difference : 0,5€ 
Value to be posted to the stock account via the counterpart account: 0,5 € * Qty in stock

Currently the wizard "update_cost_price" only ask the new cost price but 
does not take the current cost price to compare it to the cost price calculated by the method "recompute"
History
Date User Action Args
2018-03-28 09:17:03tbruyeresetmessageid: <1522221423.01.0.0800261690316.issue7273@tryton.org>
2018-03-28 09:17:03tbruyeresetrecipients: + ced, mrichez
2018-03-28 09:17:02tbruyerelinkissue7273 messages
2018-03-28 09:17:02tbruyerecreate

Showing 10 items. Show all history (warning: this could be VERY long)