diff options
| author | Jigar Vaghela <jva@odoo.com> | 2019-03-05 08:30:02 +0000 |
|---|---|---|
| committer | Gert Pellin <gpe@odoo.com> | 2019-03-27 16:48:37 +0000 |
| commit | c9c8f1b4b7809b4f498ecbb7622dc1b537ff933d (patch) | |
| tree | 9548ff92b36b2a01662a6062e3b7e12bb4f420f4 /addons | |
| parent | 2f9e793d24a04f248ba21e34072ece740e5e32ce (diff) | |
[FIX] point_of_sale: Remove static domian
Before this fix it is not possible to disable the 'available in pos'
filter on the Payment Journal list-view when opened from within the
pos-config.
related to internal task: #1932119
closes odoo/odoo#32179
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/views/account_journal_view.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/point_of_sale/views/account_journal_view.xml b/addons/point_of_sale/views/account_journal_view.xml index 86c15e3135e..b2c1f046629 100644 --- a/addons/point_of_sale/views/account_journal_view.xml +++ b/addons/point_of_sale/views/account_journal_view.xml @@ -5,8 +5,7 @@ <field name="res_model">account.journal</field> <field name="view_type">form</field> <field name="view_mode">tree,kanban,form</field> - <field name="context" eval="{'default_journal_user': 1, 'default_type': 'cash'}"/> - <field name="domain">[('journal_user','=', 1)]</field> + <field name="context" eval="{'search_default_available_in_pos': True, 'default_journal_user': True, 'default_type': 'cash'}"/> <field name="help" type="html"> <p class="oe_view_nocontent_create"> Click to add a payment method. |
