You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							835 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							17 lines
						
					
					
						
							835 B
						
					
					
				| <?xml version="1.0" encoding="UTF-8"?> | |
| <odoo> | |
|     <!--        Inherits the Employee form and add fields--> | |
|         <record id="view_employee_form" model="ir.ui.view"> | |
|             <field name="name">hr.employee.view.form.inherit.branch.in.employee</field> | |
|             <field name="model">hr.employee</field> | |
|             <field name="inherit_id" ref="hr.view_employee_form"/> | |
|             <field name="arch" type="xml"> | |
|                 <field name="coach_id" position="after"> | |
|                     <field name="branch_id" options="{'no_create': True}" | |
|                            domain="[('company_id', '=', company_id), ('id', 'in', allowed_branch_ids)]" | |
|                            required="1"/> | |
|                     <field name="allowed_branch_ids" invisible="1"/> | |
|                 </field> | |
|             </field> | |
|         </record> | |
| </odoo>
 | |
| 
 |