跳至内容
菜单
此问题已终结
1 回复
3527 查看

Hello

Is it possible to sort the website categories alphabetically on the website?


Thanks


形象
丢弃
最佳答案


then just to see what i mean,

1.- Log in as admin

2.- Go to the tree view of product categories,

3.- Set developer mode (admin -> about odoo)

4.- In the Debug View" dropdownlist, select "Edit Tree view

5.- Just before the line <field name="complete_name"/> crate a new line like: <field name="name"/>

6.- Save and close.

Now you have 2 columns in the tree view, just clik on the column name to order by.

The best way is to create a módule an inherit that view adding the field name, but this will work for you while you learn how to create a module and inherit a view.

Kind regards,


形象
丢弃
编写者

Thanks for your answer but I don't know enough about Odoo to understand what it means to inherit the view ...

have you created a custom module?

编写者

No, never

i've modified my answer.

编写者

Juan, thank you however my question was not clear. I meant how to sort them on the website shop page.