diff --git a/event.py b/event.py index e1d554e..6cedee2 100644 --- a/event.py +++ b/event.py @@ -11,10 +11,8 @@ class Event(metaclass=PoolMeta): 'Staff Event' __name__ = 'staff.event' - line_payroll = fields.Many2One('staff.payroll', 'Line Payroll', states={'readonly': True}) + line_payroll = fields.Many2One('staff.payroll.line', 'Line Payroll', states={'readonly': True}) @classmethod def __setup__(cls): super(Event, cls).__setup__() - cls._error_messages.update({ - }) diff --git a/view/configuration_form.xml b/view/configuration_form.xml index 018adc2..d6fd58e 100644 --- a/view/configuration_form.xml +++ b/view/configuration_form.xml @@ -19,8 +19,5 @@ this repository contains the full copyright notices and license terms. --> expr="/form/field[@name='minimum_salary']" position="after">