diff --git a/addons/account/models/res_config_settings.py b/addons/account/models/res_config_settings.py index fe30a1c33e9..bda14428315 100644 --- a/addons/account/models/res_config_settings.py +++ b/addons/account/models/res_config_settings.py @@ -43,10 +43,6 @@ class ResConfigSettings(models.TransientModel): "Show line subtotals with taxes (B2C)", implied_group='account.group_show_line_subtotals_tax_included', group='base.group_portal,base.group_user,base.group_public') - group_products_in_bills = fields.Boolean(string="Use products in vendor bills", - implied_group='account.group_products_in_bills', - group='base.group_user', - help="Disable this option to use a simplified versions of vendor bills, where products are hidden.") show_line_subtotals_tax_selection = fields.Selection([ ('tax_excluded', 'Tax-Excluded'), ('tax_included', 'Tax-Included')], string="Line Subtotals Tax Display", diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index 029b06d5334..fa998f922ea 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -59,10 +59,6 @@ - - Use products on vendor bills - - account.analytic.line.billing.user @@ -218,10 +214,5 @@ [('invoice_id.message_partner_ids','child_of',[user.commercial_partner_id.id])] - - - - - diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index d173f9cd09e..b965b67f488 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -343,22 +343,24 @@ - + + context="{'default_partner_id': parent.partner_id}" + optional="show"/> - + - + + domain="[('type_tax_use','=','purchase'),('company_id', '=', parent.company_id)]" optional="show"/> @@ -514,7 +516,7 @@ - + @@ -529,14 +531,17 @@ /> - + context="{'default_partner_id': parent.partner_id}" + optional="show"/> + - + - + + domain="[('type_tax_use','=','sale'),('company_id', '=', parent.company_id)]" + optional="hide"/> diff --git a/addons/account/views/res_config_settings_views.xml b/addons/account/views/res_config_settings_views.xml index 107623839de..e9154f04d31 100644 --- a/addons/account/views/res_config_settings_views.xml +++ b/addons/account/views/res_config_settings_views.xml @@ -357,17 +357,6 @@

Vendor Bills

-
-
- -
-
-
-
diff --git a/addons/event_sale/views/sale_order_views.xml b/addons/event_sale/views/sale_order_views.xml index a13776072f3..bc875cd7114 100644 --- a/addons/event_sale/views/sale_order_views.xml +++ b/addons/event_sale/views/sale_order_views.xml @@ -36,8 +36,8 @@ - - + + diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index edaa5693f3f..19b654a7c6f 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -191,19 +191,19 @@ - - + + - - + + - - - + + + - +
diff --git a/addons/purchase_requisition/views/purchase_requisition_views.xml b/addons/purchase_requisition/views/purchase_requisition_views.xml index 9ac52db35fd..c3e0748ae08 100644 --- a/addons/purchase_requisition/views/purchase_requisition_views.xml +++ b/addons/purchase_requisition/views/purchase_requisition_views.xml @@ -168,12 +168,12 @@ - + - + - - + + diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml index dd9cbd1f6cc..f91daadd95c 100644 --- a/addons/repair/views/repair_views.xml +++ b/addons/repair/views/repair_views.xml @@ -106,15 +106,15 @@ - + - - + + - + - + @@ -150,12 +150,12 @@
- + - + - +
diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml index e592d69373d..758108db0ea 100644 --- a/addons/sale/views/sale_views.xml +++ b/addons/sale/views/sale_views.xml @@ -419,9 +419,10 @@ 'default_description_sale': name }" /> - + @@ -442,6 +443,7 @@ 'column_invisible': [('parent.state', 'not in', ['sale', 'done'])], 'readonly': [('qty_delivered_method', '!=', 'manual')] }" + optional="show" /> @@ -449,6 +451,7 @@ name="qty_invoiced" string="Invoiced" attrs="{'column_invisible': [('parent.state', 'not in', ['sale', 'done'])]}" + optional="show" /> - + - + diff --git a/addons/sale_management/views/sale_order_views.xml b/addons/sale_management/views/sale_order_views.xml index 6ecd09c2fca..d67671ab6de 100644 --- a/addons/sale_management/views/sale_order_views.xml +++ b/addons/sale_management/views/sale_order_views.xml @@ -66,11 +66,11 @@ - + - + - +
-
-
- -
-
-
-
diff --git a/addons/sale_stock/views/sale_order_views.xml b/addons/sale_stock/views/sale_order_views.xml index 6f100f51521..8cdccd0514e 100644 --- a/addons/sale_stock/views/sale_order_views.xml +++ b/addons/sale_stock/views/sale_order_views.xml @@ -31,13 +31,13 @@ - + - + - + @@ -48,7 +48,7 @@ sale.order.line - + diff --git a/addons/sale_stock/wizard/stock_rules_report_views.xml b/addons/sale_stock/wizard/stock_rules_report_views.xml index 1fb6594f6cc..61cad856757 100644 --- a/addons/sale_stock/wizard/stock_rules_report_views.xml +++ b/addons/sale_stock/wizard/stock_rules_report_views.xml @@ -6,7 +6,7 @@ - +