there is a long outstanding related field (new API in Odoo 8.0) issue reported on github https://github.com/odoo/odoo/issues/4349,
we have exactly the same issue, Our business case for using related field is as following
there is product (master data) in which the product name and cost (standard price) defined,
we have our business object purchase application(transaction) refer to product, also 2 stored related fields: description(product.name) and price_unit(product.standard_price), in each purchase application, we would like to get the related product name and standard cost from product(master) as default value , but allow authorized users to change the description and standard price for specific purchase application, in this case, we do not want to update the product master!
anyone can explain why currently standard Odoo write back to the original model(master) when related field changed on target model(transaction)? if there is other use cases need this kind of functionality, is there any way to disable the inverse function on related field, I do think the business case mentioned above should be more common on using related field!
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: 4/22/15, 3:39 AM|
|Seen: 535 times|
|Last updated: 6/11/15, 2:54 AM|