Hi i am building a form with basic fields but i need to add dynamically other fields. How to ensure that the new fields will be updated in the concerned model. does an existing ORM api can ensure that??
Take a look at Settings -> Technical -> Database Structure -> Models. You will find all the models and you can add fields directly (with some limitation).
You can reproduce this on a other specific form view.
The source : https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/ir/ir_model.py
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/4/16, 10:43 AM|
|Seen: 165 times|
|Last updated: 10/4/16, 1:38 PM|