视图定义
示例
<?xml version="1.0"?>
<openerp>
<data>
[view definitions]
</data>
</openerp>
The view definitions contain mainly three types of tags:
• tags with the attribute model=”ir.ui.view”, which contain the view definitions themselves
• tags with the attribute model=”ir.actions.act_window”, which link actions to these views
•
Note that you should add an id attribute on the menuitem which is refered by menu attribute.
sale.order.form
sale.order
Default value for the priority field : 16. When not specified the system will use the view with the lower priority.