Issue 7227

Title
Add domain on all prices to be positive
Priority
feature
Status
chatting
Nosy list
ced, vbastos
Assigned to
Keywords
easy

Created on 2018-03-15.12:13:45 by ced, last changed 30 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2018-06-05.13:12:29
All of them. Discount is the reduction of the base price [1], it can not be entered as a negative line. But maybe you are talking about rebate [2] which I think may be require negative price.

So I would say, it is probably better to prevent to have twice negative value for quantity and price.


[1] https://en.wikipedia.org/wiki/Discounts_and_allowances
[2] https://en.wikipedia.org/wiki/Rebate_(marketing)
Author: [hidden] (vbastos)
Date: 2018-06-05.12:26:56
Which price are you talking about?

I currently use this for discounts.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2018-03-15.12:13:45
I do not think it makes sense to have negative price.
Also what would it mean to have a sale line with quantity -1 and unit price -10?
History
Date User Action Args
2018-06-05 13:12:29cedsetmessages: + msg41242
2018-06-05 12:26:56vbastossetstatus: unread -> chatting
nosy: + vbastos
messages: + msg41239
2018-03-15 12:13:45cedcreate

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