[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>
This commit is contained in:
committed by
Gert Pellin
parent
2f9e793d24
commit
c9c8f1b4b7
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user