Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i want to create a ew filed, but i going to errors at the end, about relation field alredy exist....
Here is how i did:
Add Business Type Field Option! : Add MODEL: model description: x_res.partner.businesstypes, Model: x_res.partner.businesstypes Add field to model : x_businesstype , Type Char Add New View: (duplicate previous form or tree view!!!!) form : View name: x_res.partner.businesstypes.form, View type :Form, Object: x_res.partner.businesstypes Architecture:<form string="Business Types" version="7.0"> <group col="4"> <field name="x_businesstype"/> </group> </form>
Tree: View name: x_res.partner.businesstypes.tree, View type: Tree, Object: x_res.partner.businesstypes Architecture: <tree string="Type of Business"> <field name="x_businesstype"/> </tree>
Create new window action: Action name: Business Types Object: x_res.partner.businesstypes, View Type: Form, View mode: tree,form
Create new Menu: menu: Business Types, Parent menu : Sales/Configuration/Address Book, Sequence : 6 Action: ir.action.act_window: Business Types
Create New Field: Field Name : x_businesstype, Field Label: Business Type, Model: res.partner, Field Type: many2many, Object Relation: x_res.partner.businesstypes Modify res.partner form View: Add New Line After use parent address.. <label for="x_businesstype"/>
Thx any feedback!!
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
|Asked: 8/3/13, 4:16 PM|
|Seen: 1143 times|
|Last updated: 3/16/15, 8:10 AM|