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_intrastat_product #441

Closed
wants to merge 182 commits into from

Conversation

dynapps
Copy link

@dynapps dynapps commented Apr 18, 2023

No description provided.

Alexis de Lattre added 30 commits April 18, 2023 09:39
…rst factorisation of common functionnal code between the product and service module (intrastat_common.py) - to be continued. Some code clean-up in the service module.
…nsport type" and partial support for the department. More factorisation between product & service module. Add date_done field. More checks.
… (fields that are not in the official declaration or never subject to change) Add copy of department from warehouse to invoice. Import DEB don't have the partner_vat field Department can be 99 for Monaco. Copy tranport and department from report_intrastat_product in XML file First attempt at adapting the display of fields depending on the type of declaration.
…string to many2one.

WARNING : this is my last commit before I break everything to re-organise the way intrastat_types are handled and I drop the "Intrastat type" field on invoices.
…tat_product/service object is stored in database, we don't need the legal_intrastat state on invoices any more, because we will be able to create entry lines for DEB for a repair of equipment under warranty without using a legal_intrastat. Report_intrastat_type is now only required for DEB -> object moved to module l10n_fr_intrastat_product. For DEB, the button "regenerate lines" only regenerate DEB lines related to invoices.

Renamed intrastat base module, because it doesn't have France-specific parameters any more.

Add demo data.
…rocedure_code, for example some info don't need to be declared for some procedure codes. Ability to enter DEB lines manually Stat value doesn't exist any more Tree vue of DEB lines is now identical to Cerfa
…view. Beta implementation of "Re-generate lines from picking". [FIX] Check on weight_net instead of weight.
…torize lines taken from picking renamed field invoice_uom_id to source_uom_id, because this field is now also used for lines taken from picking Removed field date_invoice Removed the label "beta" on the button "generate lines from picking".
… in the function compute_lines_from_picking - add a field.function "intrastat department" on picking - updated the code accordingly : we can now have the department of the picking when generating lines from picking.
…/purchase orders that have a shipping policy != 'invoice from the packing' So it should now only select incoming/outgoing products used for RMAs
…port_intrastat_type table, restarting OpenERP and re-creating intrastat types. Moved intrastat departments from stock.warehouse to stock.location. Dropped SQL queries ; replaced by traditionnal python code logic. No more need to have one rate per day for invoices with foreign currency. Add total fiscal value for DEB More code factorization. Prepare translation work.
…pecific tax in it. For example, this is required for B2C companies, that mustn't put in DEB Export the invoices to EU customers that contain French VAT.
…ith the type of field of transaction_code on intrastat_type Add field "Destination/Origin country of the goods" on invoice Write the value of this field when creating the invoice from the packing Fix a bug in the computation of the department on picking, and now make it a stored field. Now able to copy origin/dest country and department on invoice when the invoice is created from SO/PO (before, it was only supported when creating the invoice from the packing).
… Moved configuration about taxes from company form to tax form Some modifications to ease v5 -> v6 migration : - object report_intrastat_code now belong to group account manager - button functions now return True Tried to implement the following feature : open attachement form when the XML file as been generated : works on v6, but make client crash en v5 -> code has been commented DEB lines with procedure code = 25 are now deducted from the fiscal total. Round invoice total.
… l10n_fr_intrastat_product to intrastat_base, because it should also be used in the module l10n_fr_intrastat_service. Take this field into account in the generation of DEB lines (module l10n_fr_intrastat_service).
…t lines. Auto-fill the intrastat UoM field when creating an intrastat product line manually.
alexis-via and others added 20 commits April 18, 2023 09:39
Unfuck the "Donald Trump" pull request: this is the real/serious work made
by the anti-Donald Trump squad.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_intrastat_product/
2 variables were using the same name: the node and the content of the node
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_intrastat_product/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-15.0/l10n-france-15.0-l10n_fr_intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-15-0/l10n-france-15-0-l10n_fr_intrastat_product/
Currently translated at 4.3% (8 of 186 strings)

Translation: l10n-france-15.0/l10n-france-15.0-l10n_fr_intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-15-0/l10n-france-15-0-l10n_fr_intrastat_product/it/
@dynapps dynapps changed the title 16.0 mig l10n fr intrastat product [16.0][MIG] l10n_fr_intrastat_product Apr 18, 2023
@rven rven force-pushed the 16.0-mig-l10n_fr_intrastat_product branch from fe2a239 to 5225520 Compare April 18, 2023 12:46
@dynapps dynapps marked this pull request as draft April 18, 2023 13:16
@LTijssen LTijssen force-pushed the 16.0-mig-l10n_fr_intrastat_product branch from 017e80d to f55f5d4 Compare April 19, 2023 09:30
@LTijssen LTijssen force-pushed the 16.0-mig-l10n_fr_intrastat_product branch from f55f5d4 to 429c4c7 Compare April 19, 2023 09:34
@dynapps dynapps marked this pull request as ready for review April 19, 2023 09:40
@alexis-via
Copy link
Contributor

Already migrated here #413

@alexis-via alexis-via closed this May 2, 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.