8 changed files with 113 additions and 15 deletions
			
			
		| 
 | 
| @ -0,0 +1,16 @@ | |||||
|  | <?xml version="1.0" encoding="UTF-8" ?> | ||||
|  | <odoo> | ||||
|  |     <!-- Tree view for project.stage --> | ||||
|  |     <record id="project_stage_custom_view_tree" model="ir.ui.view"> | ||||
|  |         <field name="name">project.stage.tree</field> | ||||
|  |         <field name="model">project.stage</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <tree editable="bottom" > | ||||
|  |                 <field name='sequence' widget='handle'/> | ||||
|  |                 <field name="project_stage_id" domain="[('project_template_id', '=', project_template_id)]" context="{'default_project_template_id': project_template_id, 'default_sequence': sequence}" options="{'no_create_edit':True}"/> | ||||
|  |                 <field name="project_template_id" column_invisible="True"/> | ||||
|  |                 <field name="task_ids" domain="[('project_template_id', '=', project_template_id)]" widget="many2many_tags"/> | ||||
|  |             </tree> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
					Loading…
					
					
				
		Reference in new issue