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

FIX problem with stock when use ENTREPOT_EXTRA_STATUS #11570

Closed
wants to merge 1 commit into from

Conversation

hregis
Copy link
Contributor

@hregis hregis commented Jul 27, 2019

@eldy
A product that does not have a record in the table "llx_product_stock" does not appear in the drop-down list with a stock at 0 !

FIX add entity filter for "llx_entrepot"

@hregis
Copy link
Contributor Author

hregis commented Jul 31, 2019

@eldy ping

@hregis
Copy link
Contributor Author

hregis commented Aug 10, 2019

@eldy
Copy link
Member

eldy commented Aug 26, 2019

I pushed a better fix that is faster. There is no reason to include a subrequest. The test on a sub-table was done in the WHERE instead of being done on the ON of the LEFT JOIN level, so the left join was transformed into an INNER JOIN.

eldy added a commit that referenced this pull request Aug 26, 2019
@eldy eldy closed this Aug 26, 2019
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