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

Hello,

We would like to take the invoice form and modify it but not replace the current form. When a customer comes they need a confirmation, and it ends up looking very similar to the invoice form. Therefore, I figured adding a few fields and replacing some on the form would be easier than creating a whole new module. 

I understand how to inherit and add the fields I want to the sale.order model, however, the view (xml) is causing me issues. The general structure of copying without overriding the original is what I need. Could someone help me, at least with a little guidance?

Thanks!

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

I figured it out. I was able to create a new model based off of sale.order and then create a view with the appropriate view tree and form as well as a window action. Now All I must do is modify it.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 22
4282
1
thg 2 17
3323
2
thg 1 17
7212
0
thg 4 24
1756
1
thg 9 22
2547