Felipe Orellana 0952df29dc Update product.py (#8877)
Hi!

If template_item_code is None on line 71-72 the query will return ALL "Item Price" records irrespective of item_code, potentially causing the wrong price list rate to be used.

Noticed this behavior when fetching product price for a group of items without "variant_of" data.
2017-05-17 19:20:01 +05:30
..
2017-03-23 18:22:02 +05:30
2017-05-17 19:20:01 +05:30
2017-01-14 00:25:22 +05:30