Hi,
With a mandatory analytic root, I cannot use sale_shipment_cost to add
calculated shipment price with carrier_weight on sale.
I tested on demo4.8 to reproduce it.
Activate analytic_account, analytic_invoice, analytic_sale, carrier,
carrier_weight, sale_shipment_cost.
Create Carrier (product, party) and CarrierSelection.
Configure Sale with SaleShipmentCostMethod OnOrder.
Create a simple analytic with root (mandatory) and two children, product
and carrier.
Make a new sale, add a line with a product, choose analytic
‘product’ on line.
Message is « The field "Account" on "Analytic Account Entry" is
required. » when trying to change Draft Sale to Quote.
IMHO it’s the carrier sale line added automatically that has no
analytic.
I tried to add an AnalyticRule to add it automatically from Account, but
this doesn’t work. Probably there’s no write to the journal at the
time the saleline is created.
Is it a bug ? is there a workaround ? or is ‘mandatory’ analytic
root unusable with sale_shipment_cost ?
--
Jean-Christophe Michel
--
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/ED4891F5-2194-4016-AF08-34EAEF5F86C5%40symetrie.com.