Tryton - Issues

 

Issue7227

Title Add domain on all prices to be positive
Priority feature Status chatting
Superseder Nosy List ced, vbastos
Type behavior Components
Assigned To Keywords easy
Reviews

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

Messages
msg41242 (view) 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)
msg41239 (view) Author: [hidden] (vbastos) Date: 2018-06-05.12:26:56
Which price are you talking about?

I currently use this for discounts.
msg39018 (view) 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)