Set only tree mode on document inside One2Many

Those list are there for reporting and quick information. But not for working
on the document because buttons are disable on the first modification. The
relate actions are the proper way to work on the documents.

issue7823
review53461002
This commit is contained in:
Cédric Krier committed 2018-11-18 12:11:19 +01:00
1 parent 6417d6dcf5
commit 42a617f1c0
1 file changed
+4 -5
+4 -5
View File
@@ -69,13 +69,12 @@ this repository contains the full copyright notices and license terms. -->
<field name="comment" colspan="4"/>
</page>
<page name="invoices">
<field name="invoices" colspan="4"/>
<field name="invoices" colspan="4" mode="tree"/>
</page>
<page name="shipments">
<field name="moves" colspan="4"
view_ids="sale.move_view_list_shipment"/>
<field name="shipments" colspan="4"/>
<field name="shipment_returns" colspan="4"/>
<field name="moves" colspan="4" view_ids="sale.move_view_list_shipment" mode="tree"/>
<field name="shipments" colspan="4" mode="tree"/>
<field name="shipment_returns" colspan="4" mode="tree"/>
</page>
</notebook>
<field name="currency_digits" invisible="1" colspan="6"/>