-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
[12.0] [MIG] analytic_base_department #209
[12.0] [MIG] analytic_base_department #209
Conversation
Hey @anandkansagra, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
fcc2f40
to
f39881b
Compare
Hey @anandkansagra, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
f39881b
to
5b7ccb1
Compare
Hey @anandkansagra, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
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.
Code review
"author": "Camptocamp, Daniel Reis, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"category": "Generic Modules/Projects & Services", | ||
"website": "https://github.com/OCA/account-analytic", | ||
"depends": ["account", | ||
"analytic", |
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.
Why is this removed? The module uses account.analytic.account
Model, provided by the analytic
module.
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.
@dreispt ,
If we will install the account
module then analytic
module will automatically installed due to dependency. So no need to put analytic
module in the dependency
Here is the Reference:- https://github.com/odoo/odoo/blob/12.0/addons/account/__manifest__.py#L18
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.
Thanks @anandkansagra, good catch. I would then prefer to keep the closest dependency: this needs analytic
but doesn't need account
. So I would rather remove the account
dependency.
<field name="department_id"/> | ||
</field> | ||
</field> | ||
</record> |
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.
No point in changing the XML indentation, but discussing that would be bikeshedding.
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.
Code Review LGTM 👍
@dreispt , |
This PR has the |
…pendency on account
Replace yml test by a python unit test Move description in README.rst Replace <openerp> by <odoo>
Currently translated at 100,0% (6 of 6 strings) Translation: account-analytic-11.0/account-analytic-11.0-analytic_base_department Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-analytic_base_department/es/
Currently translated at 100,0% (6 of 6 strings) Translation: account-analytic-11.0/account-analytic-11.0-analytic_base_department Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-analytic_base_department/ca/
5b7ccb1
to
46cfac0
Compare
I have squashed a bit commit history and merging when finished. |
Issue Reference