From ef5154ed6f81a6be907a2581e920f7e2941eae18 Mon Sep 17 00:00:00 2001 From: sinergia Date: Fri, 19 Aug 2022 10:31:39 -0500 Subject: [PATCH] changes pending --- equipment.py | 1 + product.py | 3 +- report/Acta_Entrega.fodt | 483 +++++++++++++++++++++++---------------- view/template_form.xml | 2 + 4 files changed, 297 insertions(+), 192 deletions(-) diff --git a/equipment.py b/equipment.py index 59723b5..ecf9127 100644 --- a/equipment.py +++ b/equipment.py @@ -76,6 +76,7 @@ class OpticalEquipment(DeactivableMixin, Workflow, ModelSQL, ModelView): ) origin_country = fields.Many2One('country.country',"Origin Country", states=_states,) + software_version = fields.Char("Software version", size=None, states=_states,) useful_life = fields.Integer("Useful life", diff --git a/product.py b/product.py index c402077..51412c4 100644 --- a/product.py +++ b/product.py @@ -96,7 +96,8 @@ class Template(metaclass=PoolMeta): ) origin_country = fields.Many2One('country.country',"Origin Country") refurbish = fields.Boolean('Refurbish') - software_version = fields.Char("Software version") + software_required = fields.Boolean("Software Required") + software_version = fields.Char("Software version", states={'invisible': If(Eval('software_required'), True)}) #These are measurements required for the equipments, are in this place # for manage of class 'product.template' diff --git a/report/Acta_Entrega.fodt b/report/Acta_Entrega.fodt index 66f4126..ed73bf0 100644 --- a/report/Acta_Entrega.fodt +++ b/report/Acta_Entrega.fodt @@ -1,28 +1,28 @@ - 2022-08-14T09:29:40.3877263172022-08-14T12:29:32.641252229PT2H49M34S37LibreOffice/7.2.7.2$Linux_X86_64 LibreOffice_project/20$Build-2 + 2022-08-14T09:29:40.3877263172022-08-15T19:52:01.467968786PT2H57M33S43LibreOffice/7.2.7.2$Linux_X86_64 LibreOffice_project/20$Build-2 - 33161 + 26591 0 - 40659 - 18743 + 30496 + 14058 true false view2 - 16057 - 3175 + 5660 + 17785 0 - 33161 - 40658 - 51902 + 26591 + 30494 + 40647 0 1 false - 120 + 160 false false false @@ -88,7 +88,7 @@ true true - 875318 + 941862 true false @@ -141,13 +141,12 @@ - - - + + @@ -159,7 +158,7 @@ - + @@ -226,52 +225,52 @@ - + - + - + - + - + - + - + - + - + - + @@ -280,19 +279,19 @@ - + $ - + - $ - + - + @@ -302,9 +301,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -364,128 +397,195 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - + - + + + + + + + + + - - + + + + + + + + + + + - + - + - + + + + + + + + + + - + - - - - - - - - - - - - + - - - + + + - - - + + - + - + - + - + - + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -505,43 +605,43 @@ - - - - + - + - + - + - + - + + + + - + - - - - + - + + + + @@ -549,10 +649,10 @@ - + - + @@ -563,10 +663,11 @@ - - + + + - + /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR @@ -1219,23 +1320,23 @@ - + - <if test="company.header"> - <for each="line in company.header.split('\n')"> - <line> - </for> - </if> - <company.rec_name> - Nit: <company.party.addresses[0].street> - Teléfono: <company.party.phone> - Celular: <company.party.mobile> - e-mail: <company.party.email> + <if test="company.header"> + <for each="line in company.header.split('\n')"> + <line> + </for> + </if> + <company.rec_name> + Nit: <company.party.addresses[0].street> + Teléfono: <company.party.phone> + Celular: <company.party.mobile> + e-mail: <company.party.email> - + <if test="company and company.footer"> @@ -1255,47 +1356,48 @@ - <for each="shipment in records"> - ACTA DE ENTREGA DE EQUIPOS No <shipment.number> - - Orden Venta <shipment.origins or ''><', ' if (shipment.origins and shipment.reference) else ''><shipment.reference or ''> - + <for each="shipment in records"> + ACTA DE ENTREGA DE EQUIPOS No <shipment.number> + + Orden Venta <shipment.origins or ''><', ' if (shipment.origins and shipment.reference) else ''><shipment.reference or ''> + - + + - Cliente: <shipment.customer.rec_name> + Cliente: <shipment.customer.rec_name> - Nit / C.C: <shipment.customer.tax_identifier.code> + Nit / C.C: <shipment.customer.tax_identifier.code> - Teléfono: <shipment.customer.phone> + Teléfono: <shipment.customer.phone> - Movil: <shipment.customer.mobile> + Movil: <shipment.customer.mobile> - Entregado en: <shipment.delivery_address.street> + Entregado en: <shipment.delivery_address.street> - Atendido: <shipment.delivery_address.party_related.name> + Atendido: <shipment.delivery_address.party_related.name if shipment.delivery_address.party_related else ''> - Planned Date: <shipment.planned_date and format_date(shipment.planned_date, user.language) or ''> + Planned Date: <shipment.planned_date and format_date(shipment.planned_date, user.language) or ''> - Fecha Efectiva: <shipment.effective_date and format_date(shipment.effective_date, user.language) or ''> + Fecha Efectiva: <shipment.effective_date and format_date(shipment.effective_date, user.language) or ''> - + @@ -1304,27 +1406,27 @@ - Código + Código - Equipo + Equipo - Marca + Marca - Modelo + Modelo - Serial + Serial - Cant + Cant - + - <for each="move in moves[shipment.id]"> + <for each="move in moves[shipment.id]"> @@ -1332,29 +1434,29 @@ - + - <move.product.code> + <move.product.code> - <move.product.name> + <move.product.name> - <move.product.mark_category.name> + <move.product.mark_category.name> - <move.product.model_category.name> + <move.product.model_category.name> - <move.serial> + <move.serial> - <format_number_symbol(move.quantity, user.language, move.uom, digits=move.uom.digits)> + <format_number_symbol(move.quantity, user.language, move.uom, digits=move.uom.digits)> - + - </for> + </for> @@ -1363,32 +1465,31 @@ - </for> - En mi calidad de supervisor y/o representante de la entidad contratante o comprador, una vez verificados fisicamente en cuanto - a especificaciones técnicas y funcionamiento, confrontado con lo descrito en el Contrato/Orden de Compra/Orden de pedido - en mención, me permito hacer la recepción de los elementos relacionados en el recuadro anterior a entera satisfacción. - - Observaciones: - - La entrega de los equipos se realiza con sus correspondientes manuales de usuario, manifiestos de importacion y hojas de vida. - Observaciones por parte del cliente - - CordialmenteCordialmente Recibído a satisfaccion. - - - + </for> + + En mi calidad de supervisor y/o representante de la entidad contratante o comprador, una vez verificados fisicamente en cuanto a especificaciones técnicas y funcionamiento, confrontado con lo descrito en el Contrato/Orden de Compra/Orden de pedido en mención, me permito hacer la recepción de los elementos relacionados en el recuadro anterior a entera satisfacción. + + Observaciones: + + La entrega de los equipos se realiza con sus correspondientes manuales de usuario, manifiestos de importacion y hojas de vida. + + + CordialmenteCordialmente Recibído a satisfaccion. + + + + - - + - JESUS ANTONIO GIRALDO GARCIAFIRMA - C.E.O. (Gerente General)NOMBRE - C.C - CARGO - TEL/CEL - - - + JESUS ANTONIO GIRALDO GARCIAFIRMA + C.E.O. (Gerente General)NOMBRE + C.C + CARGO + TEL/CEL + + + \ No newline at end of file diff --git a/view/template_form.xml b/view/template_form.xml index ebdf85c..1c00813 100644 --- a/view/template_form.xml +++ b/view/template_form.xml @@ -33,6 +33,8 @@ this repository contains the full copyright notices and license terms. -->