Thank you. After Sale goes to Quotation state, Carrier costs are really recalculated and updated. But I had noticed another interesting thing. I have a sample Price.List of price-weight values for a Carrier. CarrierCostMethod is Weight:
1kg - 1 USD 2 kg- 2 USD 3 kg- 3 USD and so on. Im creating a Sale with the 3 items. Each item weights 1 kg. Carrier costs are calculated as like for 2 kg weight- 2USD. If I sell only 1 item (1kg) Carrier costs dissapear (as if weight of sale is 0). So, seems like Carrier.Costs in the SaleLine are taken from the CarrierPriceList in a (n-1) sequence. What can be the reason for that? Thank you Artem пятница, 3 февраля 2017 г., 11:55:06 UTC+2 пользователь Cédric Krier написал: > > On 2017-02-03 01:20, 'Artem Braga' via tryton wrote: > > I set up Carrier.CostMethod: "Weight" and provided price list for > carrier > > price for each possible weights. Now, when Im creating and saving Sale, > the > > Carrier Cost Line is created in SaleLine. But the total amount of > > CarrierCost is not recalculated in accordance to the weight of the > Product > > shown in the SaleLine. For example, Im selling 2 products each 1kg, > total > > weight is 2 kg. Carrier Costs are not recalculated accordingly. Weight > is > > set in Product.Measurements. > > > > Is there any reason for the CarrierCost not adjusting to the actual > weight > > of the Products sold? > > The shipment cost is re-computed only on quotation. > But if it does not re-compute on quotation, the you should give us how > you configured the carrier. > > > > PS: Please do not top-post on this mailing list, see > https://groups.tryton.org/netiquette > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ > -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/decec5d6-199b-41e9-974d-09945f157a2b%40googlegroups.com.
