diff --git a/liquidation.py b/liquidation.py
index 91fe702..8c4ade3 100644
--- a/liquidation.py
+++ b/liquidation.py
@@ -104,11 +104,6 @@ class Liquidation(Workflow, ModelSQL, ModelView):
party_to_pay = fields.Many2One('party.party', 'Party to Pay', states=STATES)
last_salary = fields.Numeric('Last Salary', states=STATES,
digits=(16, 2))
- department = fields.Many2One('company.department', 'Department',
- required=False, depends=['employee'])
- project = fields.Many2One('project.work', 'Project', domain=[
- ('type', '=', 'project')
- ])
@classmethod
def __setup__(cls):
@@ -161,10 +156,6 @@ class Liquidation(Workflow, ModelSQL, ModelView):
def default_state():
return 'draft'
- @fields.depends('employee', 'department')
- def on_change_employee(self):
- if self.employee and self.employee.department:
- self.department = self.employee.department.id
@staticmethod
def default_currency():
diff --git a/view/liquidation_form.xml b/view/liquidation_form.xml
index 67a8447..c06c009 100644
--- a/view/liquidation_form.xml
+++ b/view/liquidation_form.xml
@@ -20,8 +20,6 @@ this repository contains the full copyright notices and license terms. -->
-
-
@@ -33,8 +31,6 @@ this repository contains the full copyright notices and license terms. -->
-
-
diff --git a/view/liquidation_tree.xml b/view/liquidation_tree.xml
index f3a1f9f..2ca03bb 100644
--- a/view/liquidation_tree.xml
+++ b/view/liquidation_tree.xml
@@ -7,8 +7,6 @@ this repository contains the full copyright notices and license terms. -->
-
-