-
-
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_tier_validation #1595
[15.0][MIG] stock_request_tier_validation #1595
Conversation
/ocabot migration stock_request_tier_validation |
1abbe4a
to
dd17ae0
Compare
dd17ae0
to
991cbdc
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
d3d0bba
to
930e879
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.
Code Review 👍
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.
Some small comments.
Functional review: works properly 👍🏼
<odoo> | ||
<record id="view_stock_request_order_filter" model="ir.ui.view"> | ||
<field name="name">stock.request.select - stock_request_tier_validation</field> | ||
<field name="model">stock.request</field> | ||
<field name="inherit_id" ref="stock_request.stock_request_search" /> | ||
<field name="arch" type="xml"> | ||
<search position="inside"> | ||
<group expand="0" string="Need actions"> | ||
<filter | ||
name="needs_review" | ||
string="Needs my Review" | ||
domain="[('reviewer_ids','in',uid), ('state', 'not in', ['done', 'cancel'])]" | ||
help="My Stock Request Orders to review" | ||
/> | ||
<filter | ||
name="tier_validated" | ||
string="Validated" | ||
domain="[('validated', '=', True)]" | ||
help="Stock Requests validated and ready to be confirmed" | ||
/> | ||
</group> | ||
</search> | ||
</field> | ||
</record> | ||
</odoo> |
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.
def setUp(self): | ||
super(TestStockRequest, self).setUp() |
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.
I think you should change the setUp method to setUpClass according to the Migration Rules to v15.
Currently translated at 94.1% (16 of 17 strings) Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_request_tier_validation/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_request_tier_validation/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_tier_validation/
Currently translated at 100.0% (19 of 19 strings) Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_tier_validation/zh_CN/
Currently translated at 100.0% (19 of 19 strings) Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_tier_validation/zh_CN/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_tier_validation/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_request_tier_validation Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_request_tier_validation/
3a0cb33
to
502f96c
Compare
@OriolMForgeFlow Thank you for your review. I fixed 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.
Code review
@OriolMForgeFlow Could you update your review ? |
This PR has the |
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.
LGTM!
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at c6f9c52. Thanks a lot for contributing to OCA. ❤️ |
Standard migration, set manual view = False