[FIX] point_of_sale: list in Sale Details wizard

On mobile devices, by default Odoo will uses a kanban view instead of a
list view if avaiable.

In the case of "Point of Sale > Reporting > Sale Details", we can select
the list of point of sale configs. It works fine on desktop, but on
mobile we had the kanban view that does not allow to remove selected
configs (and there is "New Session", "Resume" and so on buttons that
make little to no sense).

With this changeset we force in the case usage of the list view.

opw-2040954
closes #35104

Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Nicolas Lempereur
2019-07-23 13:05:04 +00:00
parent b8be821058
commit 11fb681d2b
+1 -1
View File
@@ -10,7 +10,7 @@
<field name="end_date"/>
</group>
<group>
<field name="pos_config_ids" colspan="4" nolabel="1" />
<field name="pos_config_ids" mode="tree" colspan="4" nolabel="1" />
</group>
<footer>
<button name="generate_report" string="Print" type="object" class="btn-primary"/>