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

I create a custom module in my Odoo, one of my models is having a relation to product variant or Product.Product model, I want to use product configurator like in the sales_product_line tree. I already trying to use the widget on my field and import the product configurator module And try to make my view code the same as sales_product_line code, I even add the product_configurator javascript but still no luck. Is there any workaround to achieve this. I thought we can use it as a widget but when I use the widget my field is still the same

Ảnh đại diện
Huỷ bỏ

Hello,

I'm having the same problem, did you find an issue ?

Gabin


Hello, I manage to configure the widget?

Câu trả lời hay nhất

Hi,

Try like following

<field name="product_id" widget="product_configurator"/>


Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 24
12854
1
thg 4 24
3451
0
thg 11 23
2122
1
thg 9 23
2291
2
thg 8 23
4732