forked from OCA/l10n-mexico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76bd188
commit 94568bb
Showing
63 changed files
with
5,619 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
============================= | ||
Mexico - Electronic Invoicing | ||
============================= | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:41a2fefd24df10a8a68742d65502368dc832b77b6e3fd7d74ab4f81348cc6464 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/licence-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-OCA%2Fl10n--mexico-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-mexico/tree/15.0/l10n_mx_cfdi | ||
:alt: OCA/l10n-mexico | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-mexico-15-0/l10n-mexico-15-0-l10n_mx_cfdi | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-mexico&target_branch=15.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
============ | ||
l10n_mx_cfdi | ||
============ | ||
|
||
This module provides electronic invoicing for Mexico (CFDI 4.0) using Facturama as the only PAC (for now) | ||
|
||
Features | ||
-------- | ||
- Generation of electronic invoices compliant with the CFDI 4.0 standard. | ||
- Integration with Facturama (for now) as the PAC for the issuance and stamping of invoices. | ||
- Customization of fiscal documents according to user needs. | ||
- Centralized management of electronic invoices within Odoo. | ||
- Tracking and recording of issued and received fiscal documents. | ||
|
||
System Requirements | ||
------------------- | ||
- Odoo 15.0 | ||
- Active account in Facturama | ||
- Pre-configuration of fiscal and company data in Odoo. | ||
|
||
Installation | ||
------------ | ||
1. Log in to Odoo as an administrator and navigate to the applications section. | ||
2. Search for "l10n_mx_cfdi" and click install. | ||
3. Configure module settings by entering access credentials for Facturama and other required details. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
|
||
Usage | ||
----- | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-mexico/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/OCA/l10n-mexico/issues/new?body=module:%20l10n_mx_cfdi%0Aversion:%2015.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 | ||
~~~~~~~ | ||
|
||
* Alexis López Zubieta <alexis.lopez@augetec.com> (Auge TEC) | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Alexis López Zubieta <alexis.lopez@augetec.com> | ||
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/l10n-mexico <https://github.com/OCA/l10n-mexico/tree/15.0/l10n_mx_cfdi>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "Mexico - Electronic Invoicing", | ||
"icon": "/l10n_mx/static/description/icon.png", | ||
"summary": "Allow generating CFDI (Comprobante Fiscal Digital por Internet) for Mexico.", | ||
"author": "Alexis López Zubieta <alexis.lopez@augetec.com> (Auge TEC), " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/l10n-mexico", | ||
"license": "LGPL-3", | ||
"category": "Accounting", | ||
"version": "15.0.1.0.0", | ||
"depends": ["account", "l10n_mx", "l10n_mx_catalogs"], | ||
"external_dependencies": { | ||
"python": ["facturama"], | ||
}, | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"security/l10n_mx_cfdi_security.xml", | ||
"data/cfdi_publico_en_general.xml", | ||
"data/paper_format.xml", | ||
"views/account_move.xml", | ||
"views/res_partner.xml", | ||
"views/product_template.xml", | ||
"views/account_payment_register.xml", | ||
"views/account_payment.xml", | ||
"views/res_config_settings.xml", | ||
"views/cfdi_menu.xml", | ||
"views/cfdi_series.xml", | ||
"views/cfdi_issuer.xml", | ||
"views/cfdi_service.xml", | ||
"views/cfdi_document.xml", | ||
"views/cfdi_documents_issued.xml", | ||
"wizards/document_cancel_form.xml", | ||
"wizards/create_cfdi_publico_en_general.xml", | ||
"wizards/account_invoice_send_views.xml", | ||
"wizards/download_cfdi_files_wizard.xml", | ||
"reports/report_cfdi_blocks.xml", | ||
"reports/report_external_layouts.xml", | ||
"reports/report_invoice.xml", | ||
"reports/report_payment.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<odoo> | ||
|
||
<record id="l10n_mx_cfdi_res_partner_publico_en_general" model="res.partner"> | ||
<field name="name">PUBLICO EN GENERAL</field> | ||
<field name="zip" eval="None" /> | ||
<field name="vat">XAXX010101000</field> | ||
<field name="country_id" eval="ref('base.mx')" /> | ||
<field name="tax_regime" eval="ref('l10n_mx_catalogs.c_regimen_fiscal_616')" /> | ||
<field name="company_id" eval="None" /> | ||
<field name="cfdi_use_id" eval="ref('l10n_mx_catalogs.c_uso_cfdi_S01')" /> | ||
<field | ||
name="payment_method_id" | ||
eval="ref('l10n_mx_catalogs.c_metodo_pago_PUE')" | ||
/> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<odoo> | ||
|
||
<record id="base.paperformat_euro" model="report.paperformat"> | ||
<field name="margin_top">60</field> | ||
<field name="header_spacing">55</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from . import ( | ||
cfdi_series, | ||
cfdi_service, | ||
cfdi_service_topup, | ||
cfdi_issuer, | ||
cfdi_document, | ||
res_company, | ||
res_config_settings, | ||
res_partner, | ||
product_template, | ||
account_move, | ||
account_move_line, | ||
account_tax, | ||
account_payment, | ||
) |
Oops, something went wrong.