Hi
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!!