Skip to content
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

Merged

Conversation

ps-tubtim
Copy link
Member

Standard migration, set manual view = False

@ps-tubtim
Copy link
Member Author

/ocabot migration stock_request_tier_validation

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Dec 27, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 27, 2022
80 tasks
@ps-tubtim ps-tubtim force-pushed the 15.0-mig-stock_request_tier_validation branch from 1abbe4a to dd17ae0 Compare December 27, 2022 11:00
@ps-tubtim ps-tubtim force-pushed the 15.0-mig-stock_request_tier_validation branch from dd17ae0 to 991cbdc Compare February 16, 2023 04:36
@github-actions
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 18, 2023
@github-actions github-actions bot closed this Jul 23, 2023
@ps-tubtim ps-tubtim reopened this Aug 11, 2023
@Saran440 Saran440 force-pushed the 15.0-mig-stock_request_tier_validation branch from d3d0bba to 930e879 Compare August 11, 2023 07:40
Copy link
Member

@Saran440 Saran440 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review 👍

Copy link

@OriolMForgeFlow OriolMForgeFlow left a 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 👍🏼

Comment on lines 4 to 26
<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>
Copy link

@OriolMForgeFlow OriolMForgeFlow Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This view should be used in the stock request order model. In Runboat, I can only see two duplicated filters for the stock request model, and there are no filters available for the stock request order model. I am referring to the Needs My Review and Validated filters.

image

Comment on lines 8 to 9
def setUp(self):
super(TestStockRequest, self).setUp()

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.

image

HviorForgeFlow and others added 17 commits September 14, 2023 13:58
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/
liweijie0812 and others added 15 commits September 14, 2023 13:58
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/
@Saran440 Saran440 force-pushed the 15.0-mig-stock_request_tier_validation branch from 3a0cb33 to 502f96c Compare September 14, 2023 06:59
@Saran440
Copy link
Member

@OriolMForgeFlow Thank you for your review. I fixed it.

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review

@rousseldenis
Copy link
Contributor

@OriolMForgeFlow Could you update your review ?

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link

@OriolMForgeFlow OriolMForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rousseldenis
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-1595-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4b4ea95 into OCA:15.0 Sep 14, 2023
6 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c6f9c52. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved merged 🎉 migration ready to merge stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.