A Dilluns, 10 d'agost de 2009, Ferdinand @ ChriCar va escriure:
> We are using product + variants in farming
> so the product is wheat or potatoes - the variant are the different brands
> OpenERP 5.0 offers just products - no template form
>
> the user wants to see the ist of products ordered
> product_template.name,variants to get this I added a functional field to
> product_product which stores product_template name and added an _order
> clause product_template_name,variants we do not use codes.
>
> this works fine for GKT/WEB, but not for koo - at least once I have
> clicked on one of the 2 column to sort.
>
> interesting - I get sort ascending on clicking on product name, but not
> descending. the variants are never sorted.
>
> may be koo can get an option, "use default sort" which uses the order
> clause of py.
>
> I think products are essential
If the function field is not stored, it can't be sorted and then the default
"_order" is used. Trying to invert the order, won't work either, of course.
A Dilluns, 10 d'agost de 2009, Ferdinand @ ChriCar va escriure: template. name,variants to get this I added a functional field to template_ name,variants we do not use codes.
> We are using product + variants in farming
> so the product is wheat or potatoes - the variant are the different brands
> OpenERP 5.0 offers just products - no template form
>
> the user wants to see the ist of products ordered
> product_
> product_product which stores product_template name and added an _order
> clause product_
>
> this works fine for GKT/WEB, but not for koo - at least once I have
> clicked on one of the 2 column to sort.
>
> interesting - I get sort ascending on clicking on product name, but not
> descending. the variants are never sorted.
>
> may be koo can get an option, "use default sort" which uses the order
> clause of py.
>
> I think products are essential
If the function field is not stored, it can't be sorted and then the default
"_order" is used. Trying to invert the order, won't work either, of course.
-- www.NaN- tic.com
Albert Cervera i Areny
http://
Mòbil: +34 669 40 40 18