Skip to content

Commit

Permalink
Merge pull request #732 from ursais/17.0_fix_addenda_mabe
Browse files Browse the repository at this point in the history
[17.0] [FIX] l10n_mx_edi_addenda_mabe
  • Loading branch information
SMaciasOSI authored Jul 22, 2024
2 parents 2079c12 + 2dbf256 commit 9c79d9c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions l10n_mx_edi_addenda_mabe/views/l10n_mx_addenda_mabe_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<template id="l10n_mx_edi_addenda_mabe" name="Addenda Mabe">
<mabe:Factura
xmlns:mabe="http://recepcionfe.mabempresa.com/cfd/addenda/v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://recepcionfe.mabempresa.com/cfd/addenda/v1 http://recepcionfe.mabempresa.com/cfd/addenda/v1/mabev1.xsd"
version="1.0"
tipoDocumento="FACTURA"
Expand All @@ -14,15 +13,15 @@
>
<mabe:Moneda
t-att-tipoMoneda="record.currency_id.name"
t-att-tipoCambio="record.currency_id.inverse_rate"
t-att-importeConLetra="record.mabe_amount_with_letter"
t-att-tipoCambio="record.currency_id.rate"
t-att-importeConLetra="record.mabe_amount_with_letter or 'NA'"
/>
<mabe:Proveedor t-att-codigo="record.partner_id.ref" />
<mabe:Proveedor t-att-codigo="record.partner_id.ref or 'NA'" />
<mabe:Entrega
t-att-plantaEntrega="record.partner_shipping_id.mabe_plant_code"
t-att-calle="record.partner_shipping_id.street_name"
t-att-noExterior="record.partner_shipping_id.street_number"
t-att-noInterior="record.partner_shipping_id.street_number2"
t-att-noInterior="record.partner_shipping_id.street_number2 or 'NA'"
t-att-codigoPostal="record.partner_shipping_id.zip"
/>
<mabe:Detalles>
Expand All @@ -35,9 +34,9 @@
t-att-unidad="move_line.product_uom_id.name"
t-att-cantidad="move_line.quantity"
t-att-precioSinIva="move_line.price_unit"
t-att-precioConIva="move_line.price_unit * 1.16"
t-att-precioConIva="round(move_line.price_unit * 1.16)"
t-att-importeSinIva="move_line.price_subtotal"
t-att-importeConIva="move_line.price_subtotal * 1.16"
t-att-importeConIva="round(move_line.price_subtotal * 1.16)"
/>
<t t-set="i" t-value="i+1" />
</t>
Expand Down

0 comments on commit 9c79d9c

Please sign in to comment.