Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3582 มุมมอง

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!

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 22
4400
1
ก.พ. 17
3445
2
ม.ค. 17
7383
0
เม.ย. 24
1916
1
ก.ย. 22
2742