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

How can I add a column that indicate the category (product.template.categ_id) in the view "mrp.mrp_production_tree_view"?

I'm using the version 8.0

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

good one

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

The problem is not add the column, rather is the relation between the production order and the product category

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

Have you tried:

<field name="field_name" widget="many2one"/>

There is also a button option:

<field name="field_name" widget="many2onebutton"/>


and lastly there's a module you can include to make your many2one field into a link:

\https://apps.openerp.com/apps/modules/8.0/web_tree_many2one_clickable


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
5326
1
thg 3 15
4009
0
thg 3 15
3660
3
thg 7 24
24494
5
thg 12 19
8052