Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3569 Lượt xem

Hello

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


Thanks


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất


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,


Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Tác giả

No, never

i've modified my answer.

Tác giả

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