Hello, Every one
i am new in OpenERP and i want to create Two different forms,tree for specific module like res_partner. can you help me and give me some ides about how to create.
Thanks in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, Every one
i am new in OpenERP and i want to create Two different forms,tree for specific module like res_partner. can you help me and give me some ides about how to create.
Thanks in advance.
'res_partner' is not a module, it is a table. The model 'Partner' is 'res.partner'. The main module which create 'res.partner' is the module 'base'.
You can create more than one view(tree, form) for a specific model. The view are created in the xml files(example the original views of Partner are in openerp/addons/base/res/res_partner_view.xml), see the memento openerp to know how create a view (http://anybox.fr/docs/openerp-technical-memento-0.6.5-a4/view). http://blog.openerp4you.in/2013/06/how-to-design-view-in-openerp-v7.html
If you have more than view for a model, you must define which view you want load. In the actions you can define a new entry 'ir.actions.act_window.view" to link the good view for a specific action. You can also use the "form_view_get"/"tree_view_get" in the context of a many2one.
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
مارس 15
|
3122 | ||
Change position chatter
تم الحل
|
|
1
أغسطس 25
|
135 | |
|
4
يوليو 25
|
1438 | ||
|
1
يوليو 25
|
756 | ||
|
2
يوليو 25
|
780 |
Hi, You can using attributes priority on list view and form view
how can i set priority? can you give me one example