-
-
Notifications
You must be signed in to change notification settings - Fork 720
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
[15.0][MIG] stock_request_analytic #1587
[15.0][MIG] stock_request_analytic #1587
Conversation
@ps-tubtim Thanks for this. FYI, you can follow this guide if you want this PR being tested by github and allowing runboat to be launched : https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference%28s%29-to-another-pull-request%28s%29 |
/ocabot migration stock_request_analytic |
@ps-tubtim Please pay attention to put version change in migration commit, not in pre-commit stuff one. Thanks |
9814b29
to
0638e56
Compare
Ok, I changed it. |
0638e56
to
f916822
Compare
f916822
to
bc0d595
Compare
oca_dependencies.txt
Outdated
@@ -0,0 +1 @@ | |||
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.
This is not needed anymore.
If this depends on another pull request, the good method is this one: https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference%28s%29-to-another-pull-request%28s%29
Either, the addon in account analytic will be found by pip automatically
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.
Thank you. I deleted this file.
bc0d595
to
6bd3af5
Compare
* clean views. * allow to create a stock.request with no analytic account. * remove copy attribute in non-stored field. * remove non-existing field from compute method.
Currently translated at 100.0% (8 of 8 strings) Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_analytic Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_analytic/zh_CN/
Currently translated at 100.0% (8 of 8 strings) Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_analytic Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_analytic/pt_BR/
Co-authored-by: Pimolnat Suntian <pimolnats@ecosoft.co.th> TT28896
Currently translated at 100.0% (9 of 9 strings) Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_request_analytic Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_request_analytic/pt_BR/
dd1b865
to
ba32949
Compare
@rousseldenis I already updated my code. Could you review it again? |
if self.order_id and self.order_id.default_analytic_account_id: | ||
self.analytic_account_id = self.order_id.default_analytic_account_id | ||
return res | ||
for req in self.sudo(): |
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.
@ps-tubtim Have you try to add 'compute_sudo=True' on field directly ?
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.
@rousseldenis I already added compute_sudo=True
on field. Please review it again.
ba32949
to
bd7b4c9
Compare
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.
Functional Test 👍
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
This PR has the |
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 2d66ab4. Thanks a lot for contributing to OCA. ❤️ |
Standard Migration.
Wating for: