diff options
| author | Christophe Matthieu <chm@odoo.com> | 2018-02-19 15:48:01 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-02-21 12:29:28 +0100 |
| commit | 53bb0cee1f72d616fa1954fe7e4d01677d11e23a (patch) | |
| tree | e79bde267e2764be4b181913d45c17a4c68b62bc /addons | |
| parent | 17622fe25e8a82fe247c51c9fa3712ea8d72a894 (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/hr_expense/views/hr_expense_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index e75e4467e72..c8b919b13bf 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -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"/> |
