Odoo Help

0

copy value of a text field from an object to another text field in another object

By
Hasna LAKHRISSI
on 5/30/14, 6:31 AM 708 views

Hello everybody,
I know my question might seem pretty silly but I really couldn't handle it yet,here is my issue:

I am trying to modify slightly the contracts managment module, and I want to copy the value of the field 'description' of the contract to the field 'comment' of the invoice generated by the contract.
I've tried a bench of stuff (overriding some methods,creating a new method) but it's not working.
Please save my life!

0

Nehal

--Nehal--
Nehal
2108
| 5 2 8
Ahmadabad, India
--Nehal--
Nehal
On 5/30/14, 7:40 AM

Hi,

You can use related field which will take the value of description field to the comment field. You just need to make related type field. 
Hope this may solve your issue. 

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 platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/30/14, 6:31 AM
Seen: 708 times
Last updated: 3/16/15, 8:10 AM