I think one option to override the write() in model hr.employee, make the required entries to res.partner in the function and you can set a hidden boolean field in hr.employee to check within the write() whether the entry is already made once, so that it doesn't happen again on editing the record.
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: 10/30/15, 1:52 AM|
|Seen: 381 times|
|Last updated: 10/31/15, 10:07 AM|