[VIEW] ~hr_expenses department field is recquired now
[burette/lhc.git] / view / hr_expense.xml
index afe1615..f4038c2 100644 (file)
@@ -6,7 +6,7 @@
             <field name="model">hr.expense.expense</field>
             <field name="inherit_id" ref="hr_expense.view_expenses_form"/>
             <field name="arch" type="xml">
-                <xpath expr="//field[@name='analytic_account']" position="attributes">
+                <xpath expr="//field[@name='department_id']" position="attributes">
                     <attribute name="required">1</attribute>
                 </xpath>
             </field>