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

[REF] pos_lot_selection: Make it work properly on offline mode #4

Conversation

etobella
Copy link

The problem was an equal wrongly wrote on the last change.

BTW, don't merge, just rebase 😉


def get_available_lots_for_pos(self, company_id):
self.ensure_one()
if self.type != "product" or self.tracking == "none":
Copy link
Author

Choose a reason for hiding this comment

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

On the original code we had:
if self.type != "product" or self.tracking != "none":

Obviously it should be self.tracking == "none"

@etobella
Copy link
Author

@nguyenminhchien Can you check it?

@nguyenminhchien nguyenminhchien merged commit 4605a74 into nguyenminhchien:17.0-mig-pos_lot_selection Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants