-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
[17.0][MIG] account_analytic_parent #634
[17.0][MIG] account_analytic_parent #634
Conversation
* Removed groups attribute in tree xml element. * Removed discarded hierarchical tree view support, plus wizard based on that functionality
Currently translated at 100,0% (4 of 4 strings) Translation: account-analytic-11.0/account-analytic-11.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-account_analytic_parent/de/
Currently translated at 100,0% (4 of 4 strings) Translation: account-analytic-11.0/account-analytic-11.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-account_analytic_parent/ca/
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 100.0% (5 of 5 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/es/
Currently translated at 100.0% (5 of 5 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/gl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/
Currently translated at 54.5% (6 of 11 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/nl/
Currently translated at 100.0% (11 of 11 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/hr/
Currently translated at 18.2% (2 of 11 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/fr/
Currently translated at 90.9% (10 of 11 strings) Translation: account-analytic-12.0/account-analytic-12.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-account_analytic_parent/es/
This is to resolve conflict with `account_analytic_sequence` module.
Currently translated at 100.0% (11 of 11 strings) Translation: account-analytic-15.0/account-analytic-15.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-15-0/account-analytic-15-0-account_analytic_parent/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-analytic-16.0/account-analytic-16.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_parent/
Currently translated at 100.0% (10 of 10 strings) Translation: account-analytic-16.0/account-analytic-16.0-account_analytic_parent Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_parent/it/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I believe it would be great to add a CONFIGURE.md file detailing that the user accessing to the Analytic Accounting features needs to have the Technical / Analytic Accounting
group added.
The rest, code review LGTM 👍🏽
<field name="plan_id" position="after"> | ||
<field name="parent_id" string="Parent Analytic Account" /> | ||
</field> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<field name="plan_id" position="after"> | |
<field name="parent_id" string="Parent Analytic Account" /> | |
</field> | |
<group name="main" position="attributes"> | |
<attribute name="string">General</attribute> | |
</group> | |
<group name="main" position="before"> | |
<group name="parent" col="2"> | |
<field name="parent_id" class="oe_inline"/> | |
</group> | |
</group> |
As a general improvement. I guess that it makes more sense to have the view in a similar structure as in the Product Category, where we also have a Parent-Child relation.
In order to adapt, we also could name the original group with the "General" string. What do you think?
@@ -0,0 +1,448 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<?xml version="1.0" encoding="utf-8"?> |
XML declarations in HTML module descriptions are deprecated in Odoo 17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very small suggestion. Other than that LGTM! It would be nice to add in the README file the path to Analytic Accounting: Accounting > Configuration > Analytic Accounting etc.
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
/ocabot migration account_analytic_parent |
Congratulations, your PR was merged at f05dc71. Thanks a lot for contributing to OCA. ❤️ |
Migration to 17.0
@ForgeFlow