Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[FIX] stock: Avoid ambiguous colum reference error #325

Closed deivislaya closed 2 years ago

deivislaya commented 5 years ago

Current SQL, not being fully qualified, can lead to an error if you have any of the referenced columns also on product_product table.

For solving the problem, we are doing the whole query fully qualified.

Alternative patch to #30307 Related #34387

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr