diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml
index 0239dc372a7..38261523dcf 100644
--- a/addons/account/views/account_move_views.xml
+++ b/addons/account/views/account_move_views.xml
@@ -618,7 +618,7 @@
+ attrs="{'invisible' : ['|', '|', ('id', '=', False), ('state', '!=', 'draft'),('move_type', '=', 'entry')]}"/>
+
diff --git a/addons/event_sale/views/event_registration_views.xml b/addons/event_sale/views/event_registration_views.xml
index a9b1ffd60ce..8a84da0e20b 100644
--- a/addons/event_sale/views/event_registration_views.xml
+++ b/addons/event_sale/views/event_registration_views.xml
@@ -44,6 +44,7 @@
Sale Order
+
diff --git a/addons/google_calendar/views/res_users_views.xml b/addons/google_calendar/views/res_users_views.xml
index e57b7d55d13..7995b9a8c84 100644
--- a/addons/google_calendar/views/res_users_views.xml
+++ b/addons/google_calendar/views/res_users_views.xml
@@ -12,7 +12,7 @@
-
+
diff --git a/addons/google_gmail/views/res_config_settings_views.xml b/addons/google_gmail/views/res_config_settings_views.xml
index 48cbccb672a..2d3f29e1369 100644
--- a/addons/google_gmail/views/res_config_settings_views.xml
+++ b/addons/google_gmail/views/res_config_settings_views.xml
@@ -4,7 +4,7 @@
res.config.settings.view.form.inherit.google_gmail
res.config.settings
-
+
diff --git a/addons/hr_recruitment/views/hr_job_views.xml b/addons/hr_recruitment/views/hr_job_views.xml
index 86dbc03d706..9ab70940136 100644
--- a/addons/hr_recruitment/views/hr_job_views.xml
+++ b/addons/hr_recruitment/views/hr_job_views.xml
@@ -246,7 +246,7 @@
hr.job.search
hr.job
-
+
20
diff --git a/addons/l10n_br/views/account_fiscal_position_views.xml b/addons/l10n_br/views/account_fiscal_position_views.xml
index 1a5c4bdceef..0020aefb0a6 100644
--- a/addons/l10n_br/views/account_fiscal_position_views.xml
+++ b/addons/l10n_br/views/account_fiscal_position_views.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/addons/l10n_br/views/res_company_views.xml b/addons/l10n_br/views/res_company_views.xml
index 9bfa1948ad0..fafc792a290 100644
--- a/addons/l10n_br/views/res_company_views.xml
+++ b/addons/l10n_br/views/res_company_views.xml
@@ -6,10 +6,10 @@
-
-
-
-
+
+
+
+
diff --git a/addons/l10n_cl/views/res_company_view.xml b/addons/l10n_cl/views/res_company_view.xml
index dd97d5d001e..b40e2624c09 100644
--- a/addons/l10n_cl/views/res_company_view.xml
+++ b/addons/l10n_cl/views/res_company_view.xml
@@ -7,7 +7,9 @@
-
+
diff --git a/addons/l10n_ec/views/res_partner_view.xml b/addons/l10n_ec/views/res_partner_view.xml
index 65d7faeccd3..fa9fa2fe961 100644
--- a/addons/l10n_ec/views/res_partner_view.xml
+++ b/addons/l10n_ec/views/res_partner_view.xml
@@ -5,7 +5,7 @@
res.partner
-
+
diff --git a/addons/l10n_in/views/res_country_state_view.xml b/addons/l10n_in/views/res_country_state_view.xml
index 282d5045413..456b1a86dee 100644
--- a/addons/l10n_in/views/res_country_state_view.xml
+++ b/addons/l10n_in/views/res_country_state_view.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/addons/l10n_in_edi_ewaybill/views/account_move_views.xml b/addons/l10n_in_edi_ewaybill/views/account_move_views.xml
index e3f1b98625c..492e81ba62a 100755
--- a/addons/l10n_in_edi_ewaybill/views/account_move_views.xml
+++ b/addons/l10n_in_edi_ewaybill/views/account_move_views.xml
@@ -16,7 +16,7 @@
-
+
diff --git a/addons/mass_mailing/wizard/mail_compose_message_views.xml b/addons/mass_mailing/wizard/mail_compose_message_views.xml
index b4111a23f66..df77a257975 100644
--- a/addons/mass_mailing/wizard/mail_compose_message_views.xml
+++ b/addons/mass_mailing/wizard/mail_compose_message_views.xml
@@ -39,7 +39,7 @@
+ attrs="{'invisible': ['|', ('mass_mailing_name', '=', ''), ('mass_mailing_name', '=', False)]}" data-hotkey="q"/>
diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml
index 083570ce3ac..b85d4c8477e 100644
--- a/addons/mrp/views/mrp_production_views.xml
+++ b/addons/mrp/views/mrp_production_views.xml
@@ -438,7 +438,7 @@
-
+
diff --git a/addons/payment/models/payment_method.py b/addons/payment/models/payment_method.py
index 2598f465b3e..57012b93910 100644
--- a/addons/payment/models/payment_method.py
+++ b/addons/payment/models/payment_method.py
@@ -16,7 +16,7 @@ class PaymentMethod(models.Model):
string="Image",
max_width=64,
max_height=64,
- required="True",
+ required=True,
help="This field holds the image used for this payment method, limited to 64x64 px")
image_payment_form = fields.Image(
string="Image displayed on the payment form", related='image', store=True, max_width=45,
diff --git a/addons/point_of_sale/wizard/pos_close_session_wizard.xml b/addons/point_of_sale/wizard/pos_close_session_wizard.xml
index c2a319ddd25..c63a563b5ca 100644
--- a/addons/point_of_sale/wizard/pos_close_session_wizard.xml
+++ b/addons/point_of_sale/wizard/pos_close_session_wizard.xml
@@ -9,7 +9,7 @@
-
+
-
+
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index d71a12939df..a8e6b58f526 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -9,7 +9,7 @@
diff --git a/addons/purchase_product_matrix/views/purchase_views.xml b/addons/purchase_product_matrix/views/purchase_views.xml
index 495a8dfc5a1..212d5a530ab 100644
--- a/addons/purchase_product_matrix/views/purchase_views.xml
+++ b/addons/purchase_product_matrix/views/purchase_views.xml
@@ -7,7 +7,7 @@
- 1
+ 1
-
-
-
+
+
+
diff --git a/addons/sale/views/sale_order_views.xml b/addons/sale/views/sale_order_views.xml
index b3836889944..0f2af301d03 100644
--- a/addons/sale/views/sale_order_views.xml
+++ b/addons/sale/views/sale_order_views.xml
@@ -241,9 +241,11 @@
-
-
+
-
-
+
+
@@ -576,7 +578,7 @@
options="{'no_create': True}"
domain="[('type_tax_use','=','sale'),('company_id','=',parent.company_id), ('country_id', '=', parent.tax_country_id)]"
context="{'active_test': True}"
- attrs="{'readonly': ['|', ('qty_invoiced', '>', 0), ('is_downpayment', '==', True)]}"
+ attrs="{'readonly': ['|', ('qty_invoiced', '>', 0), ('is_downpayment', '=', True)]}"
optional="show"
/>
diff --git a/addons/sale_product_configurator/views/sale_order_views.xml b/addons/sale_product_configurator/views/sale_order_views.xml
index 81d4c46d5ac..6ee1c974332 100644
--- a/addons/sale_product_configurator/views/sale_order_views.xml
+++ b/addons/sale_product_configurator/views/sale_order_views.xml
@@ -7,18 +7,18 @@
- 0
+ 0
-
-
+
+
-
-
+
+
hide
diff --git a/addons/sale_timesheet/views/project_sharing_views.xml b/addons/sale_timesheet/views/project_sharing_views.xml
index 61fcde15fc7..ac090a7599e 100644
--- a/addons/sale_timesheet/views/project_sharing_views.xml
+++ b/addons/sale_timesheet/views/project_sharing_views.xml
@@ -5,7 +5,7 @@
project.task.form.inherit.timesheet
project.task
600
-
+
timesheet_invoice_id != False
diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml
index 98ea871e070..708e9c732b7 100644
--- a/addons/stock/views/product_views.xml
+++ b/addons/stock/views/product_views.xml
@@ -315,7 +315,7 @@
@@ -438,7 +438,7 @@