@@ -351,7 +335,7 @@
options="{'no_create': True}"
context="{'search_view_ref': 'account.account_tax_view_search'}"
domain="[('type_tax_use','=','sale'),('company_id','=',parent.company_id)]"
- attrs="{'readonly': [('qty_invoiced', '>', 0)]}"
+ readonly="qty_invoiced > 0"
/>
+
+
+ state not in ('draft','sent','sale')
+
+
+ state not in ('draft','sent','sale')
+
+
diff --git a/rental_base/wizard/update_sale_line_date_view.xml b/rental_base/wizard/update_sale_line_date_view.xml
index 016626da..3ac602c1 100644
--- a/rental_base/wizard/update_sale_line_date_view.xml
+++ b/rental_base/wizard/update_sale_line_date_view.xml
@@ -13,23 +13,19 @@ Part of rental-vertical See LICENSE file for full copyright and licensing detail
>By changing the start and end dates of order lines, the dates are also updated in the timeline,the related stock pickings and contracts, if available.
Attention: The ordered quantities are not updated!
-
-
+
+