Skip to content

Conversation

@alexis-via
Copy link
Contributor

The XLS export is still broken (I was trying to use report_xlsx_helper from v13). We'll see once report_xlsx_helper will be ported to v14.
Requires PR OCA/intrastat-extrastat#105 (MIG intrastat_base).

Alexis de Lattre added 30 commits October 14, 2020 22:26
… Check that company currency is EUR when generating service lines. Do the rounding work when generating the service lines, not when generating the XML. Remove unused code.
…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.
…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
…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.
… 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 service Comment prints in the code Standardize the name of ids Add "done" button in tree view Display company_id fields in the interface if the user belongs to "group_multi_company"
… is missing, so that, when we sell to a physical person in the EU, we don't get the raise. Thanks to Anevia for this interesting bug report ! We need to do the same thing in l10n_fr_intrastat_product.
…as is_accessory_cost services but no regular product -> DES If the invoice has is_accessory_cost services and regular product -> added to the cost of products in DEB

Now allows "pricelist for statistical value" which is not in EUR (the currency conversion will be made from the pricelist currency to EUR)

Usability improvements :
- Order for DEB and DES tree view : "the more recent at the top"
- distinction between "Information to declare" and "Additionnal information" in intrastat lines
…ncluding your own country - When generating lines for Intrastat Product/Service, all invoices for which country == Company's country are excluded
…emove method=True Add new tab "Intrastat" on invoice views, with all intrastat-related fields Code cleanup
… value = 0 - some accessory costs => we want to have the accessory costs in DEB, not in DES (before this fix, the accessory costs were in both)
alexis-via and others added 29 commits October 14, 2020 22:26
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-12.0/l10n-france-12.0-l10n_fr_intrastat_service
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-12-0/l10n-france-12-0-l10n_fr_intrastat_service/
Add activity_ids in form view
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-13.0/l10n-france-13.0-l10n_fr_intrastat_service
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-13-0/l10n-france-13-0-l10n_fr_intrastat_service/
Block backtodraft when attachment is present
Add check on VAT numbers via stdnum.vatin
@alexis-via alexis-via merged commit a62db32 into OCA:14.0 Feb 1, 2021
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.

7 participants