[19.0][MIG] stock_analytic: Migration to 19.0 #858
Open
[19.0][MIG] stock_analytic: Migration to 19.0 #858
Conversation
… Stock analytic XML part is now migrated Add logo for generic modules
- migration point, put all the modules to not installable
This module allows the user to generate analytic information from stock moves. - Fixed flake8 and pylint errors.
Remove sale and purchase dependency. Add test Only assign analytic account if account != valuation acc Changing field name account_analytic_id Adjust to OCA latest guidelines. Add some usahe info on README
Remove remaining encoding hints. Correct lint in test Correct flake8 in test Fix documentation and test_flake8
Currently translated at 100.0% (2 of 2 strings) Translation: account-analytic-11.0/account-analytic-11.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-stock_analytic/de/
Currently translated at 100.0% (2 of 2 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/pt_BR/
Currently translated at 100.0% (2 of 2 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/ca/
Currently translated at 100.0% (3 of 3 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/hr/
Currently translated at 100.0% (4 of 4 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/de/
Currently translated at 100.0% (4 of 4 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/pt/
Currently translated at 100.0% (4 of 4 strings) Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/es/
(cherry picked from commit 9255622)
Currently translated at 100.0% (10 of 10 strings) Translation: account-analytic-17.0/account-analytic-17.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_analytic/it/
Needed to also rename method starting with double-underscrore to avoid Python method name mangling.
Currently translated at 100.0% (10 of 10 strings) Translation: account-analytic-17.0/account-analytic-17.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_analytic/ca/
This commit fixes analytic_distribution not being passed from move to move line when updated after the move line is created.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (10 of 10 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 50.0% (5 of 10 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (13 of 13 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 100.0% (13 of 13 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/tr/
Before this commit, analytic distribution would be validated only for outgoing moves, which was not ideal in view of a module such as purchase_stock_analytic. This commit adds more flexibility to the applicability judgment by adding the stock picking type field to the analytic applicability model, removing the assumption of validating outgoing moves only.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (14 of 14 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 100.0% (14 of 14 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/es/
Currently translated at 100.0% (14 of 14 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/tr/
Currently translated at 100.0% (14 of 14 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
Currently translated at 100.0% (14 of 14 strings) Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
99dccd7 to
4c0231c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.