Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Copy Invoice Form for Modification v9

By
C S
on 11/11/16, 6:03 AM 162 views

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!

0
C S
On 11/11/16, 11:45 AM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/11/16, 6:03 AM
Seen: 162 times
Last updated: 11/11/16, 11:45 AM