> On 2017-02-03 02:36, 'Artem Braga' via tryton wrote: > > 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? > > It is explained in the documentation: > http://doc.tryton.org/4.2/modules/carrier_weight/doc/index.html > > > PS: PLEASE DO NOT TOP-POST on this mailing list, see > https://groups.tryton.org/netiquette > -- > > Hello.
Returning back to the Carrier weight cost calculation, suppose that there are following kg-price line table for Carrier weight: kg - price (USD) 1 1 3 3 4 4 As discussed previously in this topic, Carrier weight calculation method returns 1 USD for 3 kg weight and 3 USD for 4 kg weight. How to achieve the correct carrier weight cost calculation for a Sale (e.g. - 3 USD for 3 kg, 4 USD for 4 kg etc) ? Thank you Best regards Artem -- 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/1fc498ce-210f-4c39-b98a-1a8d91786ede%40googlegroups.com.
