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

Hi all, I'm trying to inherit model product.product.form 
I got some custom fields on product.template and would like to show them on product form that opens up when product name is clicked on sales order. 

Tried to do it like this https://ibb.co/xXqH7rp but got error saying: 
"Model not found: product.product.form"

Here is short gif I recorded just to show you how to get to this view https://recordit.co/Jc8I0Och8p

Does it have something to do with the fact that it's inherited view? Thank you!


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

Hi,

There is mistake in the code, model has to be product.product instead of product.product.form.

Thanks

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

Thank you for pointing that out - it works now!

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 19
4269
2
thg 3 15
8047
0
thg 11 24
924
3
thg 3 21
7636
1
thg 11 18
5580