-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
[14.0][IMP] Big simplification, update and cleanup #198
Closed
alexis-via
wants to merge
8
commits into
OCA:14.0
from
akretion:14-brexit-simplification-and-type-on-fp
Closed
[14.0][IMP] Big simplification, update and cleanup #198
alexis-via
wants to merge
8
commits into
OCA:14.0
from
akretion:14-brexit-simplification-and-type-on-fp
Commits on Jan 23, 2023
-
[IMP] Big simplification, update and cleanup
This commit aims at removing the over-complexity of intrastat modules while increasing simplicity/usability for users. - Move default intrastat transaction from res.company to account.fiscal.position to add su pport for B2C (and not just B2B) - improve usability: auto-generate declaration lines and XML export when going from draft to done. Auto-delete declaration lines and XML export when going from done to draft (and add confirmation pop-up). - declaration lines are now readonly. Only computation lines can be created/edited manuall y - add field region_code on computation lines and declaration lines. Remove region_id on declaration lines. This change allows big simplification in some localization modules such as l10n_fr_intrastat_product. - simplify Brexit implementation. Northern Ireland is important, but we can't afford to have so many lines of code and add a field on product.template (origin_state_id) for a territory of 1.9 million inhabitants! This is too costly to maintain and too complex for users. - improve default visibility of fields when reporting_level = 'standard' - add support for weight calculation from uom categories other than units and weight, supposing that the 'weight' field on product.template is the weight per uom of the product - add EU companies from several different countries in demo data with valid VAT numbers
Configuration menu - View commit details
-
Copy full SHA for 889f9f7 - Browse repository at this point
Copy the full SHA 889f9f7View commit details -
intrastat_product: default intrastat transaction on fiscal position A…
…ND company Odoo uses, by order of priority: 1) intrastat transaction of the invoice 2) default intrastat transaction of the fiscal position of the invoice 3) default intrastat transaction of the company
Configuration menu - View commit details
-
Copy full SHA for 83ef1d6 - Browse repository at this point
Copy the full SHA 83ef1d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99594ea - Browse repository at this point
Copy the full SHA 99594eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d43eb - Browse repository at this point
Copy the full SHA 10d43ebView commit details -
intrastat_product: re-write the generation of the messages in the war…
…ning pop-up This is completely new implementation of the messages that are displayed in the warning pop-up: - no double messages - messages are grouped by section and record - nice HTML display insead of raw text
Configuration menu - View commit details
-
Copy full SHA for 5510523 - Browse repository at this point
Copy the full SHA 5510523View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3b54045 - Browse repository at this point
Copy the full SHA 3b54045View commit details
Commits on Feb 3, 2023
-
intrastat_product: update tests
When manually creating a computation line, auto-set vat from partner_id (partner_id is not a related field any more) Add method _generate_xml()
Configuration menu - View commit details
-
Copy full SHA for f7a3c6d - Browse repository at this point
Copy the full SHA f7a3c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04db69c - Browse repository at this point
Copy the full SHA 04db69cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.