Allow cost_price as price_list formula
This is specially usefull for resellers who normally compute the price_list of it's products by applying a marging on the cost price.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Sergi Almacellas Abellana assigned to @pokoli
assigned to @pokoli
- Sergi Almacellas Abellana added product type::feature + 1 deleted label
added product type::feature + 1 deleted label
- Sergi Almacellas Abellana added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Owner
For me, the difficulty is to support correctly and explicitly the MultiValue pattern.
New review259771002 at https://codereview.tryton.org/259771002/#ps261771002
- Author Developer
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 review259771002 updated at https://codereview.tryton.org/259771002/#ps283661002
review259771002 updated at https://codereview.tryton.org/259771002/#ps255671002
review259771002 updated at https://codereview.tryton.org/259771002/#ps283791002
review259771002 updated at https://codereview.tryton.org/259771002/#ps270081002
New changeset b654d54f3a52 by Sergi Almacellas Abellana in branch 'default':
Allow using the product cost price in the price list formula
https://hg.tryton.org/modules/product_price_list/rev/b654d54f3a52- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 98034d452d8e by Sergi Almacellas Abellana in branch 'default':
Set company on sale price context to support product's cost price in formula
https://hg.tryton.org/modules/sale_price_list/rev/98034d452d8eNew changeset e1d438b603cd by Sergi Almacellas Abellana in branch 'default':
Allow using the product cost price in the price list formula
https://hg.tryton.org/tryton-env/rev/e1d438b603cd- Cédric Krier mentioned in issue #8713 (closed)
mentioned in issue #8713 (closed)