Discount on Final price

Hello,

I want to make discount percentage to bi calculated on Final price, not on unit price…

Is there some option for that?

Best Regards,
Martin

I don’t think any such option is available in core. However a workaround is you can add another item named discount and insert an -ve absolute value.
Actually in my opinion per item discount is more relevant to calculate per product margin etc else how would lumpsump discount be divided between added items?

Or there is an option for absolute discount on at third party level.

It is not possible to add a negative value on customer order in my Dolibarr v13. I get an error that says 0 is minimum.
Is there a setting allowing this?

ORDER_ENABLE_NEGATIVE => Can validate an order when amount is negative
FACTURE_ENABLE_NEGATIVE ► Can validate an invoice when amount is negative

Sorry I was unclear. I meant “customer order line”. E.g. whole order is maybe 1000 kr and the discount line has -200 kr so the total is 800 kr.

I just found these! Big thanks for the link :slight_smile:
FACTURE_ENABLE_NEGATIVE_LINES
But found no equivalent for orders so I opened a feature request Support ORDER_ENABLE_NEGATIVE_LINES · Issue #18210 · Dolibarr/dolibarr · GitHub

1 Like