summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-08-07 18:15:37 +0200
committerMartin Trigaux <mat@openerp.com>2014-08-07 18:15:37 +0200
commite4c0940e9fbb2d2d60de08c76b3d74caef794781 (patch)
tree5ea25dfb1244e4e1e9761920a9800fafd77d5245 /addons/mail/static/src/xml/mail.xml
parent581275a63c7cf054efe57a150d44f00bbf92d379 (diff)
[FIX] website_sale: avoid displaying inactive products in shops
The domains in the form ('o2m_field', operator, False) do not use the orm but convert the domain to ('id', 'invert operator', [list of ids]). This means that the orm is not used and implicit filter (active=True) or access rights are not checked. A proper fix in master should be done to use the orm instead of an SQL query. This patch force a search to be made on product.product and then exclude the products where active=False (opw 607602).
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
0 files changed, 0 insertions, 0 deletions