[FIX] hr_expense: add missing state field used in modifiers fields

The domain is add in the view from the python field description.

Issue:
In expense go in "to Approve" > "Expense Reports to Approve"
Create a new expense sheet by clicking create
Add an expense to the sheet
Click create in the bottom left

result: Uncaught Error: Unknown field state in domain
This commit is contained in:
Christophe Matthieu
2018-02-21 12:29:28 +01:00
parent 17622fe25e
commit 53bb0cee1f
@@ -41,6 +41,7 @@
<field eval="35" name="priority"/>
<field name="arch" type="xml">
<form string="Expenses" class="o_expense_form">
<field name="state" invisible="True"/>
<sheet>
<div class="oe_title">
<label for="name"/>