Hi, please help....
i'am very beginner user OpenERP 7.0
i just add custom field on Saler Order with field name "x_jobname" (char, 50)
succesfully add to Form View use <field name="x_jobname" />
and on Sales Order report (pdf) use [[ o.x_jobname ]]
but still can't add to Invoice from view and invoice report (pdf)
how we can read from different model?
You need to add the field to the account.invoice model as well, or make a related field. I would suggest starting with a custom module instead of adjusting the database directly. That method is fine for demonstration purposes but not for actual adding functionality.
See documentation on this:
Furthermore, the reports need to be adjusted as well. How this is done is also described in the documentation. I think you will figure it out. You can always look at the existing modules if you get stuck. There is a ton of informationt to be found there.
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
|Asked: 7/16/14, 5:08 AM|
|Seen: 1570 times|
|Last updated: 3/16/15, 8:10 AM|