Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG v2] l10n_fr_account_vat_return + teledec #475

Merged
merged 82 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
c6b978c
Add modules l10n_fr_account_vat_return and l10n_fr_account_vat_return…
alexis-via Nov 29, 2021
947dee9
Other taxes to pay go through 447 and not 445510
alexis-via Nov 30, 2021
ed01e78
Proper box setup for 14-taxe and 14-base on CA3: no more hack in the …
alexis-via Nov 30, 2021
c95b6ad
Add comment in CA3 PDF generation
alexis-via Nov 30, 2021
385db1b
Fix bug in the action that trigger the download of the Selenium IDE file
alexis-via Dec 2, 2021
19c43e3
l10n_fr_account_vat_return: add support for account.fiscal.position.t…
alexis-via Dec 15, 2021
280dcea
autoliq extracom: use box 3B instead of 02
alexis-via Feb 1, 2022
55523c5
Add tracking on partner field
alexis-via Feb 3, 2022
ae4e003
Disable check on initial balance of auto-liq accounts
alexis-via Feb 17, 2022
87fa25b
l10n_fr_account_vat_return: disable native VAT on payment reconcile mess
alexis-via Mar 1, 2022
8bed21d
l10n_fr_account_vat_return: FIX VAT base extracom autoliq when autoli…
alexis-via Mar 11, 2022
a380385
l10n_fr_account_vat_return: Update for 2022 PDF form
alexis-via May 23, 2022
c6fda61
l10n_fr_account_vat_return: Full test suite for company.fr_vat_exigib…
alexis-via May 25, 2022
cdc95f6
l10n_fr_account_vat_return: add tests for reimbursment add for in_vat…
alexis-via May 25, 2022
25ff4e5
l10n_fr_account_vat_return: isolate method to setup an existing compa…
alexis-via Jun 12, 2022
157e68a
Improve service/product repartition for autoliq intracom purchases
alexis-via Jun 14, 2022
aab3234
Replace boolean for supplier VAT on payment on res.partner and accoun…
alexis-via Jun 14, 2022
87d549e
Reconcile accounts even when there is VAT on payment (it works when t…
alexis-via Jun 15, 2022
f8aecc7
Add french translation
alexis-via Jun 19, 2022
697b8e1
Fix upgrade of l10n_fr_account_vat_return module
alexis-via Jun 19, 2022
8c2a043
Fix view log line
alexis-via Jun 24, 2022
82f0ab4
Complete rewrite of the base computation of intracom autoliq in order…
alexis-via Jun 26, 2022
2f211dc
Improve log formatting
alexis-via Jun 26, 2022
fca2c5c
Add support for negative due/deductible VAT
alexis-via Sep 15, 2022
ec1b5cb
Improve product ratio computation for intracom purchases when product…
alexis-via Sep 16, 2022
6c52399
Usability improvement on negative lines: keep negative amounts in log…
alexis-via Sep 16, 2022
eab483d
Improve string
alexis-via Sep 16, 2022
8b00e27
[FIX] loading of l10n.fr.account.vat.box.csv
alexis-via Sep 28, 2022
ae957c8
vat_return: add wizard to update company vat exigibility to be able t…
alexis-via Sep 28, 2022
7b8f62a
Update FR translation
alexis-via Sep 29, 2022
d877d1b
[UPD] Update l10n_fr_account_vat_return.pot
Sep 29, 2022
d7ea70c
[UPD] Update l10n_fr_account_vat_return_teledec.pot
Sep 29, 2022
3d82964
[UPD] README.rst
OCA-git-bot Sep 29, 2022
159e35c
[ADD] icon.png
OCA-git-bot Sep 29, 2022
f938b05
vat_return: don't block if some moves are in cancel state
alexis-via Oct 6, 2022
cd90511
l10n_fr_account_vat_return: disable tests following l10n_fr breakage
alexis-via Oct 15, 2022
50b9903
l10n_fr_account_vat_return 14.0.2.1.0
OCA-git-bot Oct 15, 2022
1b16749
[UPD] Update l10n_fr_account_vat_return.pot
Oct 15, 2022
034e276
l10n_fr_account_vat_return 14.0.2.2.0
OCA-git-bot Oct 15, 2022
72770dd
Update translation files
weblate Oct 15, 2022
b777515
vat_return: convert raise in chatter warning
alexis-via Oct 19, 2022
8f229a4
[FIX] vat_return: fully ignore cancel moves
alexis-via Oct 19, 2022
a7aa2e8
[UPD] Update l10n_fr_account_vat_return.pot
Oct 19, 2022
3eba9d0
l10n_fr_account_vat_return 14.0.2.3.0
OCA-git-bot Oct 19, 2022
ad8bd79
Update translation files
weblate Oct 19, 2022
99958ab
[ADD] l10n_fr_oca: fork of l10n_fr
alexis-via Feb 16, 2023
72436c4
l10n_fr_account_vat_return: millesime 2023 update
alexis-via Feb 20, 2023
75d5a11
[ADD] l10n_fr_account_vat_return_selenium
alexis-via Feb 20, 2023
99a2022
[FIX] vat_return: fix migration script for VAT boxes
alexis-via Feb 21, 2023
8cdd97d
[IMP] vat_return: add field origin_move_partner_id on log lines
alexis-via Feb 21, 2023
d10662f
[UPD] Update l10n_fr_account_vat_return.pot
Mar 4, 2023
9beb157
[UPD] README.rst
OCA-git-bot Mar 4, 2023
692d4b5
Update translation files
weblate Mar 4, 2023
59ab2d2
[FIX] vat_return: fix reconciliation of moves
alexis-via Mar 4, 2023
757553c
l10n_fr_account_vat_return 14.0.3.1.0
OCA-git-bot Mar 4, 2023
3cd4a6c
[FIX] l10n_fr_account_vat_return: only consider revenue account mappi…
alexis-via Mar 20, 2023
1d7e7e4
l10n_fr_account_vat_return_teledec: add confirm pop-up
alexis-via Mar 21, 2023
7fd3836
[UPD] Update l10n_fr_account_vat_return_teledec.pot
Mar 21, 2023
856dabc
l10n_fr_account_vat_return_teledec 14.0.1.1.0
OCA-git-bot Mar 21, 2023
add9c20
l10n_fr_account_vat_return 14.0.3.2.0
OCA-git-bot Mar 21, 2023
e3322cd
Update translation files
weblate Mar 21, 2023
e349bf7
l10n_fr_account_vat_return: change intracom autoliq
alexis-via May 10, 2023
c4d456b
Translated using Weblate (French)
klodr May 31, 2023
7cd6345
vat_return: add error msg in case of pb in intracom autoliq
Jul 14, 2023
d95bb1d
[UPD] Update l10n_fr_account_vat_return.pot
Jul 14, 2023
1ff781a
l10n_fr_account_vat_return 14.0.4.0.0
OCA-git-bot Jul 14, 2023
2f4b718
Update translation files
weblate Jul 14, 2023
0f02128
[UPD] README.rst
OCA-git-bot Sep 3, 2023
7ab3a31
Translated using Weblate (French)
Sep 1, 2023
400e9b3
l10n_fr_account_vat_return: easier inheritance of tax search domains
Jul 14, 2023
b1bf6f6
l10n_fr_account_vat_return: adjustment to workaround DGFiP consistenc…
alexis-via Aug 24, 2023
6d6253c
l10n_fr_account_vat_return: PyPDF2 (dead) -> pypdf
alexis-via Aug 24, 2023
173ff33
l10n_fr_account_vat_return: re-write due VAT and negative boxes
alexis-via Aug 26, 2023
e01cac6
l10n_fr_account_vat_return: add mig script for compute_type
alexis-via Aug 31, 2023
2ae653c
l10n_fr_account_vat_return: improve notes
alexis-via Sep 8, 2023
9f2d2a5
l10n_fr_account_vat_return: backport changes from v16, to ease future…
alexis-via Sep 8, 2023
e2f3ae1
vat_return: france logs after intracom/extracom logs
alexis-via Sep 8, 2023
4c4de61
vat_return: fix order in csv
alexis-via Sep 8, 2023
acf40ea
vat_return: improve strings and update translation
alexis-via Sep 9, 2023
033286d
[MIG] l10n_fr_account_vat_return + teledec to v16
alexis-via Sep 14, 2023
cf079fd
[FIX] vat_return: Remove dependency on onchange_helper
alexis-via Sep 18, 2023
8ea02db
[FIX] vat_return: fix crash in very specific scenario
alexis-via Sep 19, 2023
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
92 changes: 92 additions & 0 deletions l10n_fr_account_vat_return/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
=================
France VAT Return
=================

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

.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-france/tree/14.0/l10n_fr_account_vat_return
:alt: OCA/l10n-france
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_account_vat_return
: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-france&target_branch=14.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds support for the French VAT declaration *CA3* (monthly or quarterly):

* computation of the boxes of the CA3 form,
* print the CA3 PDF,
* generate the corresponding journal entry.

It can also be used for the smaller companies which have a yearly CA12 VAT declaration. But, for CA12, the generation of the PDF and the auto-fill of the form on impots.gouv.fr is not supported: you will have to manually copy the values on the online form.

This module also supports declaration 3519 for the reimbursement of VAT credit.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-france/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-france/issues/new?body=module:%20l10n_fr_account_vat_return%0Aversion:%2014.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
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* Alexis de Lattre <[email protected]>

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.

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

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/14.0/l10n_fr_account_vat_return>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_fr_account_vat_return/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
32 changes: 32 additions & 0 deletions l10n_fr_account_vat_return/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2021 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "France VAT Return",
"version": "16.0.2.0.0",
"category": "Accounting",
"license": "AGPL-3",
"summary": "VAT return for France: CA3, 3310-A, 3519",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/l10n-france",
"depends": ["l10n_fr", "l10n_fr_oca", "intrastat_base"],
"external_dependencies": {"python": ["pypdf>=3.1.0"]},
"data": [
"security/ir.model.access.csv",
"security/ir_rule.xml",
"wizards/l10n_fr_vat_exigibility_update_view.xml",
"wizards/res_config_settings.xml",
"wizards/l10n_fr_account_vat_return_reimbursement_view.xml",
"views/l10n_fr_account_vat_box.xml",
"views/l10n_fr_account_vat_return.xml",
"views/account_fiscal_position.xml",
"views/account_fiscal_position_template.xml",
"views/account_tax.xml",
"views/account_move.xml",
"data/l10n.fr.account.vat.box.csv",
"data/account_fiscal_position_template.xml",
],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2021 Akretion France (https://akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>

<!-- l10n_fr -->

<record
id="l10n_fr.fiscal_position_template_domestic"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">france</field>
</record>
<record
id="l10n_fr.fiscal_position_template_intraeub2c"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">intracom_b2c</field>
</record>
<record
id="l10n_fr.fiscal_position_template_intraeub2b"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">intracom_b2b</field>
</record>
<record
id="l10n_fr.fiscal_position_template_import_export"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">extracom</field>
</record>

<record
id="france_supplier_vat_on_payment_fp_template"
model="account.fiscal.position.template"
>
<field name="sequence">1</field>
<field name="name">France - Fournisseur TVA sur encaissement</field>
<field name="chart_template_id" ref="l10n_fr.l10n_fr_pcg_chart_template" />
<field name="country_id" ref="base.fr" />
<field name="fr_vat_type">france_vendor_vat_on_payment</field>
</record>

<!-- l10n_fr_oca -->
<record
id="l10n_fr_oca.fiscal_position_template_domestic"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">france</field>
</record>
<record
id="l10n_fr_oca.fiscal_position_template_domestic_supplier_vat_on_payment"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">france_vendor_vat_on_payment</field>
</record>
<record
id="l10n_fr_oca.fiscal_position_template_intraeub2b"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">intracom_b2b</field>
</record>
<record
id="l10n_fr_oca.fiscal_position_template_intraeub2c"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">intracom_b2c</field>
</record>
<record
id="l10n_fr_oca.fiscal_position_template_import_export"
model="account.fiscal.position.template"
>
<field name="fr_vat_type">extracom</field>
</record>

</odoo>
Loading
Loading