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] l10n_fr_account_vat_return and l10n_fr_account_vat_return_teledec #440

Closed
wants to merge 56 commits into from

Conversation

alexis-via
Copy link
Contributor

@alexis-via alexis-via commented Apr 17, 2023

There is 1 pb left: migration of the analytic account to analytic distribution on l10n.fr.account.vat.box. It don't know how to handle that because there is a company_dependent=True on that field!
My ideas:

  1. either I create a new object with a O2M from l10n.fr.account.vat.box that give the value of the distribution per company
  2. either I consider that the analytic account should be set by the distribution model, but it's a bit wired and not intuitive

…_teledec

l10n_fr_account_vat_return: adds support for French VAT declaration
l10n_fr_account_vat_return_teledec: allows to teletransmit the French VAT declaration via teledec.fr
Archive CA3 PDF at sent step
Re-activate check of SIREN and period in CA3 input page
Add reimbursement_comment_dgfip in reimbursement wizard
…q moves are not in VAT return period

pre-commit fix
Update for new box codes used in 2022
Introduce first tests (to be continued)
Add a new type "France exo" for fiscal positions
…_on_payment

Add tests on the lines of the account.move generated
…ny that has the l10n_fr standard chart of accounts

Add expense account on some appendix taxes
Improve tests: we now have a full test suite for on_invoice and on_payment
…t.move by a new type of fiscal position

Migration scripts provided
…here is no partial payment).

Add a test for this new feature.
pre-commit fixes
Improve source strings
Several small usability improvements (dynamic columns on log lines, source invoice M2O field)
… to support the scenario where some intracom purchase invoices where dated before the VAT period and hadn't been autoliquidated yet

Update comments with 2022 codes for form boxes
Add tests for negative due VAT and negative deductible VAT
…s lines and invert sign in total amount + add warning banner and color in tree view
Fix test when stock module is not installed (can't use type='product', only 'consu')
…o impact invoices already generated.

Easier inheritance for the on_payment/on_invoice algo when
fr_vat_exigibility is 'auto'
alexis-via and others added 22 commits March 7, 2023 23:16
Add a fiscal position template "France - Fournisseur TVA sur encaissement"
I disable it temporarily, waiting for l10n_fr_oca.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_account_vat_return
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_account_vat_return/
Don't block if account mapping is missing on fiscal position with fr_vat_type=france_exo because it may be a purchase-only fiscal position -> write warning in chatter
In a recent update of l10n_fr_account_vat_return, I changed to code to
avoid raising an error when cancel moves where present. But, in the code
that computed vat on payment, there was no filter on the state on
account.move and account.move.line, so it was taking into account cancel
moves. This commit fixes this.

Improve a variable name.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_account_vat_return
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_account_vat_return/
Re-enable tests in l10n_fr_account_vat_return
Tests in l10n_fr_account_vat_return now use the chart of account of
l10n_fr_oca, which reduce a lot the number of lines of code needed for
the initial setup of the tests
Move Selenium IDE support from l10n_fr_account_vat_return to a new
decidated module l10n_fr_account_vat_return_selenium.
This feature is beta, so I prefer to move it to a separate module.
Allows to see the partner of the source invoice directly from the log line.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_account_vat_return
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_account_vat_return/
Before reconciliation, we need to remove partial reconcile otherwise we
have an error message which says that the moves are already reconciled.
@alexis-via alexis-via force-pushed the 16-mig-l10n_fr_account_vat_return branch from 9f83336 to 5c2d9b0 Compare April 18, 2023 13:10
@rafaelbn rafaelbn mentioned this pull request Jun 1, 2023
29 tasks
@legalsylvain
Copy link
Contributor

/ocabot migration l10n_fr_account_vat_return

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Jun 9, 2023
@legalsylvain
Copy link
Contributor

/ocabot migration l10n_fr_account_vat_return_teledec

@alexis-via
Copy link
Contributor Author

FYI, this PRwill be cancelled and replaced by a forward port of this other PR #470

@alexis-via
Copy link
Contributor Author

Replaced by #475

@alexis-via alexis-via closed this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants