跳至內容
選單
此問題已被標幟
2 回覆
3432 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 22
4266
1
2月 17
3313
2
1月 17
7199
0
4月 24
1744
1
9月 22
2521