Skip to content

Commit

Permalink
Merge pull request #815 from ursais/17.0_fix_addenda_vw
Browse files Browse the repository at this point in the history
17.0 fix addenda vw
  • Loading branch information
SMaciasOSI authored Aug 20, 2024
2 parents 98a55e5 + 4f0ee2c commit 7f5353d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
Empty file removed __init__.py
Empty file.
6 changes: 2 additions & 4 deletions l10n_mx_edi_addenda_volkswagen/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ Product

#. Go to Sales > Products > Products
#. Create a new product or edit an existing one
#. In the "Accounting" tab, fill in the VW reference that corresponds to
the part number
#. In the "Accounting" tab, fill in the VW reference that corresponds to the part number

Usage
=====
Expand All @@ -52,8 +51,7 @@ To use this module, you need to:
#. Go to Accounting > Customers > Invoices
#. Create a new invoice fo Volkswagen
#. In the "Other Information" tab, fill in the Customer reference field
#. In the "Addenda Volkswagen" tab, fill in the division, applicant name,
applicant email and file fields
#. In the "Addenda Volkswagen" tab, fill in the division, applicant name, applicant email and file fields

Bug Tracker
===========
Expand Down
2 changes: 1 addition & 1 deletion l10n_mx_edi_addenda_volkswagen/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{
"name": "Mexican Addendum For Invoices For Volkswagen",
"version": "17.0.1.2.0",
"version": "17.0.1.3.1",
"license": "LGPL-3",
"summary": "Mexican Localization Addendum For Volkswagen",
"author": "Open Source Integrators",
Expand Down
1 change: 0 additions & 1 deletion l10n_mx_edi_addenda_volkswagen/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class AccountMove(models.Model):
vw_division = fields.Char(string="VW Division")
vw_applicant_name = fields.Char(string="VW Applicant Name")
vw_applicant_email = fields.Char(string="VW Applicant email")
vw_file = fields.Char(string="File")
vw_flag = fields.Boolean(compute="_compute_vw_flag", store=True)

@api.depends("partner_id.l10n_mx_edi_addenda")
Expand Down
1 change: 0 additions & 1 deletion l10n_mx_edi_addenda_volkswagen/views/account_move.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<field name="vw_division" invisible="not vw_flag" />
<field name="vw_applicant_name" invisible="not vw_flag" />
<field name="vw_applicant_email" invisible="not vw_flag" />
<field name="vw_file" invisible="not vw_flag" />
</group>
</page>
</xpath>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<odoo>
<template id="l10n_mx_edi_addenda_volkswagen" name="Addenda Volkswagen">
<PSV:Factura
xmlns:PSV="http://www.vwnovedades.com/volkswagen/kanseilab/shcp/2009/Addenda/PSV"
version="1.0"
tipoDocumentoFiscal="FA"
tipoDocumentoVWM="PSV"
t-att-division="record.vw_division"
xmlns:PSV="http://www.vwnovedades.com/volkswagen/kanseilab/shcp/2009/Addenda/PSV"
>
<PSV:Moneda
t-att-tipoMoneda="record.currency_id.name"
t-att-tipoCambio="record.currency_id.inverse_rate"
t-attf-codigoImpuesto="1A"
/>
<PSV:Proveedor
codigo="6001017954"
nombre="AMS FACTORY AUTOMATION DE MEXICO SA"
correoContacto="[email protected]"
t-att-codigo="record.partner_id.ref"
t-att-nombre="record.company_id.name"
t-att-correoContacto="record.company_id.email"
/>
<PSV:Solicitante
t-att-nombre="record.vw_applicant_name"
Expand Down

0 comments on commit 7f5353d

Please sign in to comment.