Browse Source

[FIX] pos_pricelist: right operator in default pricelist

pull/287/head
David 6 years ago
committed by Sylvain LE GAL
parent
commit
64157e0969
  1. 2
      pos_pricelist/__manifest__.py
  2. 2
      pos_pricelist/views/pos_config_view.xml

2
pos_pricelist/__manifest__.py

@ -4,7 +4,7 @@
{
'name': 'POS Pricelist',
'version': '10.0.1.0.1',
'version': '10.0.1.0.2',
'category': 'Point Of Sale',
'author': "Tecnativa, "
"Odoo SA, "

2
pos_pricelist/views/pos_config_view.xml

@ -25,7 +25,7 @@
widget="many2many_tags"/>
<field
name="pricelist_id"
domain="[('id', 'in', available_pricelist_ids)]"
domain="[('id', 'in', available_pricelist_ids and available_pricelist_ids[0] and available_pricelist_ids[0][2] or False)]"
options="{'no_create': True}"/>
<button
name="%(product.product_pricelist_action2)d"

Loading…
Cancel
Save