diff --git a/__init__.py b/__init__.py index 5f38580..13bfc28 100644 --- a/__init__.py +++ b/__init__.py @@ -6,7 +6,7 @@ __all__ = ['register'] def register(): Pool.register( - recepcion.Recepcion, + recepcion.Recepcion, module='Taller', type_='model') Pool.register( module='Taller', type_='wizard') diff --git a/__pycache__/__init__.cpython-39.opt-1.pyc b/__pycache__/__init__.cpython-39.opt-1.pyc index 02a9d10..d15cf34 100644 Binary files a/__pycache__/__init__.cpython-39.opt-1.pyc and b/__pycache__/__init__.cpython-39.opt-1.pyc differ diff --git a/__pycache__/recepcion.cpython-39.opt-1.pyc b/__pycache__/recepcion.cpython-39.opt-1.pyc index 4abe45e..ab27910 100644 Binary files a/__pycache__/recepcion.cpython-39.opt-1.pyc and b/__pycache__/recepcion.cpython-39.opt-1.pyc differ diff --git a/bicicletas.xml b/bicicletas.xml index 8be66bb..147692d 100644 --- a/bicicletas.xml +++ b/bicicletas.xml @@ -2,64 +2,39 @@ - - + Recepcion taller.recepcion - - - - + + taller.recepcion - tree - recepcion_tree - - - taller.recepcion - form - recepcion_form - - + - - - - - - - - - - + sequence="20" + id="menu_taller"/> - - - + id="menu_taller_form"/> + diff --git a/recepcion.py b/recepcion.py index bf37be6..721a64a 100644 --- a/recepcion.py +++ b/recepcion.py @@ -6,6 +6,7 @@ from datetime import datetime class Recepcion(ModelView, ModelSQL): "Recepcion" __name__= "taller.recepcion" + tercero = fields.Many2One("party.party", "Tercero") metodo_contacto=fields.Many2One('party.contact_mechanism', "Contacto") hora_entrada = fields.DateTime('Hora Entrada') diff --git a/recepcion.xml b/recepcion.xml index d145f53..9cf5e95 100644 --- a/recepcion.xml +++ b/recepcion.xml @@ -2,12 +2,12 @@ - - -taller.recepcion -form -recepcion_form - - + + + taller.recepcion + form + recepcion_form + + diff --git a/tryton.cfg b/tryton.cfg index ff09a81..8d8e223 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -4,5 +4,5 @@ depends: ir party xml: - recepcion.xml + #recepcion.xml bicicletas.xml diff --git a/view/recepcion_form.xml b/view/recepcion_form.xml index 675c966..1656898 100644 --- a/view/recepcion_form.xml +++ b/view/recepcion_form.xml @@ -4,7 +4,6 @@ this repository contains the full copyright notices and license terms. -->
-