From 70562ccac481872917529387011e08f26a8e10b6 Mon Sep 17 00:00:00 2001 From: sinergia Date: Tue, 28 Nov 2023 08:00:24 -0500 Subject: [PATCH] fix: Se corrige nombre de clase Employee --- __init__.py | 2 +- company.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 130e4eb..018ce37 100644 --- a/__init__.py +++ b/__init__.py @@ -10,7 +10,7 @@ __all__ = ['register'] def register(): Pool.register( - company.Emplyee, + company.Employee, equipment.OpticalEquipment, equipment.EquipmentParty, contract.Contract, diff --git a/company.py b/company.py index e9d90ad..059b8cd 100644 --- a/company.py +++ b/company.py @@ -2,7 +2,7 @@ from trytond.pool import PoolMeta from trytond.model import fields -class Emplyee(metaclass=PoolMeta): +class Employee(metaclass=PoolMeta): 'Company' __name__ = 'company.employee'