Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ Enterprise modules for the Mexican localization

[//]: # (addons)

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[l10n_mx_edi_addenda_audi](l10n_mx_edi_addenda_audi/) | 19.0.1.0.1 | | Mexican Localization Addendum For Audi
[l10n_mx_edi_addenda_ford](l10n_mx_edi_addenda_ford/) | 19.0.1.0.1 | | Mexican Localization Addendum For Ford
[l10n_mx_edi_addenda_kuehne_nagel](l10n_mx_edi_addenda_kuehne_nagel/) | 19.0.1.0.0 | <a href='https://github.com/max3903'><img src='https://github.com/max3903.png' width='32' height='32' style='border-radius:50%;' alt='max3903'/></a> | Mexican Localization Addendum KNRECEPCION For Kuehne+Nagel
[l10n_mx_edi_addenda_mabe](l10n_mx_edi_addenda_mabe/) | 19.0.1.0.1 | | Mexican Localization Addendum For MABE
[l10n_mx_edi_addenda_volkswagen](l10n_mx_edi_addenda_volkswagen/) | 19.0.1.0.1 | | Mexican Localization Addendum For Volkswagen
[l10n_mx_edi_addenda_whirlpool](l10n_mx_edi_addenda_whirlpool/) | 19.0.1.0.1 | | Mexican Localization Addendum For Whirlpool

[//]: # (end addons)

Expand Down
4 changes: 0 additions & 4 deletions l10n_mx_edi_addenda_audi/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

======================================
Mexican Addendum For Invoices For Audi
======================================
Expand Down
4 changes: 0 additions & 4 deletions l10n_mx_edi_addenda_ford/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

======================================
Mexican Addendum For Invoices For Ford
======================================
Expand Down
124 changes: 124 additions & 0 deletions l10n_mx_edi_addenda_kuehne_nagel/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
==============================================
Mexican Addendum For Invoices For Kuehne+Nagel
==============================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:18a950ab56edfe89d856583366dd2bb0584a13d9798868fc6d1da3e80f18dc9a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-amxodoo%2Fenterprise-lightgray.png?logo=github
:target: https://github.com/amxodoo/enterprise/tree/19.0/l10n_mx_edi_addenda_kuehne_nagel
:alt: amxodoo/enterprise

|badge1| |badge2| |badge3|

This module adds the KNRECEPCION addenda for Kuehne+Nagel and allows you
to generate electronic invoices (CFDI 4.0) with the required reception
block.

The addenda is inserted under ``cfdi:Addenda`` with this structure:

- ``kn:KNRECEPCION``

- ``kn:Tipo``

- ``kn:FacturasKN``

- ``kn:Purchase_Order``
- ``kn:FileNumber_GL``
- ``kn:Branch_Centre``
- ``kn:TransportRef``

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to Accounting > Customers > Customers
2. Open the Kuehne+Nagel partner
3. In the Sales & Purchase tab, Fiscal Information section, add
**Addenda Kuehne Nagel** to the Addendas & Complements field

Usage
=====

To use this module, you need to:

1. Go to Accounting > Customers > Invoices
2. Create an invoice for the partner configured with **Addenda Kuehne
Nagel**
3. Set the Customer Reference for the Purchase Order when applicable
4. Open the **Kuehne+Nagel Addenda** tab and optionally fill:

- File / Tracking Type
- File / Tracking Number
- Branch Centre
- Transport Ref

5. Validate and stamp the invoice as usual

The module does not enforce a format for the Customer Reference or
addenda fields.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/amxodoo/enterprise/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/amxodoo/enterprise/issues/new?body=module:%20l10n_mx_edi_addenda_kuehne_nagel%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Gray Matter Logic
* Odoo Mexican Association (AMOdoo)

Contributors
------------

- `Gray Matter Logic <https://www.graymatterlogic.com>`__:

- Maxime Chambreuil <maxime.chambreuil@graymatterlogic.com>

Other credits
-------------

The development of this module has been financially supported by:

- `Gray Matter Logic <https://www.graymatterlogic.com>`__

Maintainers
-----------

.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903

Current maintainer:

|maintainer-max3903|

This module is part of the `amxodoo/enterprise <https://github.com/amxodoo/enterprise/tree/19.0/l10n_mx_edi_addenda_kuehne_nagel>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions l10n_mx_edi_addenda_kuehne_nagel/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
28 changes: 28 additions & 0 deletions l10n_mx_edi_addenda_kuehne_nagel/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright (C) 2026 Gray Matter Logic (https://www.graymatterlogic.com)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Mexican Addendum For Invoices For Kuehne+Nagel",
"version": "19.0.1.0.0",
"license": "LGPL-3",
"summary": "Mexican Localization Addendum KNRECEPCION For Kuehne+Nagel",
"author": "Gray Matter Logic, Odoo Mexican Association (AMOdoo)",
"maintainer": "Gray Matter Logic",
"website": "https://github.com/amxodoo/enterprise",
"depends": [
"account",
"l10n_mx_edi",
],
"data": [
"data/l10n_mx_edi_addenda_kuehne_nagel_data.xml",
"views/account_move_views.xml",
],
"images": [
"static/description/icon.png",
],
"icon": "/l10n_mx_edi_addenda_kuehne_nagel/static/description/icon.png",
"installable": True,
"application": False,
"development_status": "Beta",
"maintainers": ["max3903"],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="l10n_mx_edi_addenda_kuehne_nagel" model="l10n_mx_edi.addenda">
<field name="name">Addenda Kuehne Nagel</field>
<field name="arch" type="xml">
<t xmlns:kn="http://www.w3.org/2001/XMLSchema">
<t t-xml-node="comprobante">
<t
t-namespace-key="kn"
t-namespace-url="http://www.w3.org/2001/XMLSchema"
/>
</t>
<t t-xml-node="addenda">
<kn:KNRECEPCION>
<kn:Tipo>
<kn:FacturasKN>
<kn:Purchase_Order t-out="record.ref or None" />
<kn:FileNumber_GL
t-out="record.kn_file_number_gl or None"
/>
<kn:Branch_Centre
t-out="record.kn_branch_centre or None"
/>
<kn:TransportRef
t-out="record.kn_transport_ref or None"
/>
</kn:FacturasKN>
</kn:Tipo>
</kn:KNRECEPCION>
</t>
</t>
</field>
</record>
</odoo>
98 changes: 98 additions & 0 deletions l10n_mx_edi_addenda_kuehne_nagel/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_mx_edi_addenda_kuehne_nagel
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"Language: es_MX\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:l10n_mx_edi.addenda,name:l10n_mx_edi_addenda_kuehne_nagel.l10n_mx_edi_addenda_kuehne_nagel
msgid "Addenda Kuehne Nagel"
msgstr "Adenda Kuehne Nagel"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Addenda fields are optional and do not enforce a format."
msgstr "Los campos de la adenda son opcionales y no requieren un formato."

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Branch Centre"
msgstr "Centro de sucursal"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields.selection,name:l10n_mx_edi_addenda_kuehne_nagel.selection__account_move__kn_file_type__file
msgid "File Number"
msgstr "Número de expediente"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "File / Tracking Number"
msgstr "Número de expediente / rastreo"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "File / Tracking Type"
msgstr "Tipo de expediente / rastreo"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Hints"
msgstr "Indicaciones"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields,field_description:l10n_mx_edi_addenda_kuehne_nagel.field_account_move__kn_branch_centre
msgid "KN Branch Centre"
msgstr "Centro de sucursal KN"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields,field_description:l10n_mx_edi_addenda_kuehne_nagel.field_account_move__kn_file_number_gl
msgid "KN File Number GL"
msgstr "Número de expediente GL KN"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields,field_description:l10n_mx_edi_addenda_kuehne_nagel.field_account_move__kn_file_type
msgid "KN File/Tracking Type"
msgstr "Tipo de expediente/rastreo KN"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields,field_description:l10n_mx_edi_addenda_kuehne_nagel.field_account_move__kn_flag
msgid "KN Flag"
msgstr "Indicador KN"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields,field_description:l10n_mx_edi_addenda_kuehne_nagel.field_account_move__kn_transport_ref
msgid "KN Transport Ref"
msgstr "Referencia de transporte KN"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Kuehne+Nagel Addenda"
msgstr "Adenda Kuehne+Nagel"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model,name:l10n_mx_edi_addenda_kuehne_nagel.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Purchase Order uses the Customer Reference field as entered."
msgstr "La orden de compra usa la referencia del cliente tal como fue capturada."

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model:ir.model.fields.selection,name:l10n_mx_edi_addenda_kuehne_nagel.selection__account_move__kn_file_type__tracking
msgid "Tracking Number"
msgstr "Número de rastreo"

#. module: l10n_mx_edi_addenda_kuehne_nagel
#: model_terms:ir.ui.view,arch_db:l10n_mx_edi_addenda_kuehne_nagel.view_account_move_form_inherit_addenda_kuehne_nagel
msgid "Transport Ref"
msgstr "Referencia de transporte"
Loading