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

[17.0][IMP] product_supplierinfo_for_customer: change _name_search product restrictions #1821

Open
wants to merge 2 commits into
base: 17.0
Choose a base branch
from

Conversation

ThiagoMForgeFlow
Copy link

@ThiagoMForgeFlow ThiagoMForgeFlow commented Dec 18, 2024

Using these features with the product_supplierinfo_for_customer_sale module when searching for a product by code in an order line, the limit field has no value and does not work correctly.

@ForgeFlow

@OCA-git-bot
Copy link
Contributor

Hi @luisg123v,
some modules you are maintaining are being modified, check this out!

@ThiagoMForgeFlow ThiagoMForgeFlow force-pushed the 17.0-imp-product_supplierinfo_for_customer branch from 1b8d08f to 7ae43de Compare December 18, 2024 10:17
Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

just reading it, it makes more sense now. Functional review also LGTM

Copy link

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

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

Please fix commit message. It should be a short title, followed by a blank line, followed by the description.

…restrictions

Checking whether the search has a limit is restricting cases where it is important to retrieve the product by the customer's code. With this change, the restriction on res_ids_len being greater than the limit will only apply if the limit exists.
@ThiagoMForgeFlow ThiagoMForgeFlow force-pushed the 17.0-imp-product_supplierinfo_for_customer branch from 7ae43de to 46de10d Compare December 19, 2024 11:35
@ThiagoMForgeFlow
Copy link
Author

Please fix commit message. It should be a short title, followed by a blank line, followed by the description.

Done, thanks.

@rousseldenis
Copy link
Contributor

IMHO, the function should be documented to indicate what the override does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants