summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2018-06-13 23:30:16 +0200
committerMartin Trigaux <mat@odoo.com>2018-06-14 16:55:49 +0200
commitb99b4e384fc0ef0f0b989bd6a347e194e6af9c64 (patch)
tree87820aa3f60842e92c382f35d326bbb0884f1cc1 /addons
parent6db546949b8bc376b12d196ca59f0fedd8507070 (diff)
[IMP] *: set create=False on some views
Same as df05c81, the other views of the action have disabled the create. To be consistent, remove the create button everywhere Closes #25239
Diffstat (limited to 'addons')
-rw-r--r--addons/account_asset/views/account_asset_views.xml2
-rw-r--r--addons/gamification/views/goal.xml2
-rw-r--r--addons/payment/views/payment_views.xml2
-rw-r--r--addons/point_of_sale/views/pos_order_view.xml2
-rw-r--r--addons/point_of_sale/views/pos_session_view.xml2
-rw-r--r--addons/stock/views/stock_move_line_views.xml2
-rw-r--r--addons/stock/views/stock_move_views.xml2
-rw-r--r--addons/survey/views/survey_views.xml2
8 files changed, 8 insertions, 8 deletions
diff --git a/addons/account_asset/views/account_asset_views.xml b/addons/account_asset/views/account_asset_views.xml
index 4d4c9cea441..59ca45a2a01 100644
--- a/addons/account_asset/views/account_asset_views.xml
+++ b/addons/account_asset/views/account_asset_views.xml
@@ -193,7 +193,7 @@
<field name="move_posted_check" invisible="1"/>
<field name="parent_state" invisible="1"/>
</tree>
- <form string="Depreciation Lines">
+ <form string="Depreciation Lines" create="false">
<group>
<group>
<field name="parent_state" invisible="1"/>
diff --git a/addons/gamification/views/goal.xml b/addons/gamification/views/goal.xml
index 31852c1a049..11c3b029c2a 100644
--- a/addons/gamification/views/goal.xml
+++ b/addons/gamification/views/goal.xml
@@ -128,7 +128,7 @@
<field name="name">Goal Kanban View</field>
<field name="model">gamification.goal</field>
<field name="arch" type="xml">
- <kanban class="oe_background_grey">
+ <kanban class="oe_background_grey" create="false">
<field name="definition_id"/>
<field name="user_id"/>
<field name="current"/>
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml
index 4f05d0a4dba..a3ad281e785 100644
--- a/addons/payment/views/payment_views.xml
+++ b/addons/payment/views/payment_views.xml
@@ -292,7 +292,7 @@
<field name="name">payment.transaction.kanban</field>
<field name="model">payment.transaction</field>
<field name="arch" type="xml">
- <kanban class="o_kanban_mobile">
+ <kanban class="o_kanban_mobile" create="false">
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_content oe_kanban_global_click">
diff --git a/addons/point_of_sale/views/pos_order_view.xml b/addons/point_of_sale/views/pos_order_view.xml
index 895504b3217..f737b635d9b 100644
--- a/addons/point_of_sale/views/pos_order_view.xml
+++ b/addons/point_of_sale/views/pos_order_view.xml
@@ -107,7 +107,7 @@
<field name="name">pos.order.kanban</field>
<field name="model">pos.order</field>
<field name="arch" type="xml">
- <kanban class="o_kanban_mobile">
+ <kanban class="o_kanban_mobile" create="0">
<field name="name"/>
<field name="user_id"/>
<field name="amount_total"/>
diff --git a/addons/point_of_sale/views/pos_session_view.xml b/addons/point_of_sale/views/pos_session_view.xml
index bd18d81d329..5c2c961c7a1 100644
--- a/addons/point_of_sale/views/pos_session_view.xml
+++ b/addons/point_of_sale/views/pos_session_view.xml
@@ -148,7 +148,7 @@
<field name="name">pos.session.kanban</field>
<field name="model">pos.session</field>
<field name="arch" type="xml">
- <kanban class="o_kanban_mobile">
+ <kanban class="o_kanban_mobile" create="0">
<field name="config_id" />
<field name="name" />
<field name="user_id" />
diff --git a/addons/stock/views/stock_move_line_views.xml b/addons/stock/views/stock_move_line_views.xml
index c53a8931c6a..e8cd1b483de 100644
--- a/addons/stock/views/stock_move_line_views.xml
+++ b/addons/stock/views/stock_move_line_views.xml
@@ -87,7 +87,7 @@
<field name="name">stock.move.line.kanban</field>
<field name="model">stock.move.line</field>
<field name="arch" type="xml">
- <kanban class="o_kanban_mobile">
+ <kanban class="o_kanban_mobile" create="0">
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card oe_kanban_global_click">
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml
index 058a8f63793..f5f95765ea5 100644
--- a/addons/stock/views/stock_move_views.xml
+++ b/addons/stock/views/stock_move_views.xml
@@ -70,7 +70,7 @@
<field name="name">stock.move.kanban</field>
<field name="model">stock.move</field>
<field name="arch" type="xml">
- <kanban class="o_kanban_mobile">
+ <kanban class="o_kanban_mobile" create="0">
<field name="name"/>
<field name="product_id"/>
<field name="priority"/>
diff --git a/addons/survey/views/survey_views.xml b/addons/survey/views/survey_views.xml
index 72d6cc823e2..cc966c7bf34 100644
--- a/addons/survey/views/survey_views.xml
+++ b/addons/survey/views/survey_views.xml
@@ -87,7 +87,7 @@
<field name="name">survey.user_input.kanban</field>
<field name="model">survey.user_input</field>
<field name="arch" type="xml">
- <kanban>
+ <kanban create="false">
<field name="survey_id"/>
<field name="date_create"/>
<field name="partner_id"/>