Tryton - Issues

 

Issue8467

Title Allow cost_price as price_list formula
Priority feature Status testing
Superseder Nosy List ced, pokoli, reviewbot
Type feature request Components product_price_list
Assigned To pokoli Keywords review
Reviews 259771002
View: 259771002

Created on 2019-07-02.10:01:39 by pokoli, last changed by reviewbot.

Messages
review259771002 updated at https://codereview.tryton.org/259771002/#ps270081002
review259771002 updated at https://codereview.tryton.org/259771002/#ps283791002
review259771002 updated at https://codereview.tryton.org/259771002/#ps255671002
review259771002 updated at https://codereview.tryton.org/259771002/#ps283661002
msg50499 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2019-07-04.13:04:23
On 2/7/19 10:21, C├ędric Krier wrote:
> For me, the difficulty is to support correctly and explicitly the MultiValue pattern.

Is enought to use the price_list pattern as MultiValue pattern? 

I've implemented this on last patch set and it works for the simple cases because the unknow values are filtered out of the multivalue pattern. See:

http://hg.tryton.org/trytond/file/ade594782410/trytond/model/multivalue.py#l44
New review259771002 at https://codereview.tryton.org/259771002/#ps261771002
msg50490 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-07-02.10:21:08
For me, the difficulty is to support correctly and explicitly the MultiValue pattern.
msg50489 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2019-07-02.10:01:39
This is specially usefull for resellers who normally compute the price_list of it's products by applying a marging on the cost price.
History
Date User Action Args
2019-08-08 10:43:11reviewbotsetmessages: + msg51118
2019-07-23 09:58:38reviewbotsetmessages: + msg50804
2019-07-15 15:10:29reviewbotsetmessages: + msg50663
2019-07-04 13:22:43reviewbotsetmessages: + msg50500
2019-07-04 13:04:38pokolisetreviews: 59771002, 259771002 -> 259771002
2019-07-04 13:04:24pokolisetmessages: + msg50499
2019-07-02 10:21:27reviewbotsetnosy: + reviewbot
messages: + msg50491
2019-07-02 10:21:26reviewbotsetreviews: 59771002 -> 59771002, 259771002
2019-07-02 10:21:08cedsetnosy: + ced
messages: + msg50490
2019-07-02 10:03:24pokolisetstatus: in-progress -> testing
reviews: 59771002
keyword: + review

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