Tryton - Issues

 

Message36576

Author pokoli
Recipients ced, reviewbot
Date 2017-10-26.12:06:30
Content
Not sure if I agree with your point. If the product is shown on the product categories tree, it's a product that matches it's category and then I will expect to match also the price list on the category. Having said that, I will explain our use case in order to give more context to the issue. 

On our use case we are adding another specialized category which we want to use on price_list. The main reason to use a specialized category and not a separate table is that this category has 4 levels so we can reuse the category tree and not create separate models (and fields) for it. 

The main problem is that currently it is not possible to use the 
specialized categories for price_list and commission matching as it's not possible to override this line: 

http://hg.tryton.org/modules/product_price_list/file/fb90e77c8eb0/price_list.py#l62

Another option is to extend the pattern categories if categories is already present on pattern. That will solve our problem.
History
Date User Action Args
2017-10-26 12:06:31pokolisetmessageid: <1509012391.28.0.890115281245.issue6881@tryton.org>
2017-10-26 12:06:31pokolisetrecipients: + ced, reviewbot
2017-10-26 12:06:31pokolilinkissue6881 messages
2017-10-26 12:06:30pokolicreate

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