diff --git a/addons/account/__manifest__.py b/addons/account/__manifest__.py index e9b7b6ff1b6..0a77f1600f4 100644 --- a/addons/account/__manifest__.py +++ b/addons/account/__manifest__.py @@ -48,11 +48,9 @@ You could use this simplified accounting in case you work with an (external) acc 'views/account_report.xml', 'data/mail_template_data.xml', 'wizard/account_validate_move_view.xml', - 'views/account_end_fy.xml', 'views/res_company_views.xml', 'views/product_view.xml', 'views/account_analytic_view.xml', - 'views/account_tip_data.xml', 'views/account.xml', 'views/report_invoice.xml', 'report/account_invoice_report_view.xml', diff --git a/addons/account/views/account_end_fy.xml b/addons/account/views/account_end_fy.xml deleted file mode 100644 index 04decacb705..00000000000 --- a/addons/account/views/account_end_fy.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index f16e766cf11..664e151df21 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -286,7 +286,8 @@ primary - + + @@ -294,7 +295,6 @@ - @@ -778,7 +778,6 @@ -
diff --git a/addons/account/views/account_tip_data.xml b/addons/account/views/account_tip_data.xml deleted file mode 100644 index 8a71be77756..00000000000 --- a/addons/account/views/account_tip_data.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/addons/account/views/partner_view.xml b/addons/account/views/partner_view.xml index 1b1fdae71c3..b232c4e96bf 100644 --- a/addons/account/views/partner_view.xml +++ b/addons/account/views/partner_view.xml @@ -105,6 +105,7 @@ context="{'default_partner_id': active_id}">
+ Invoiced diff --git a/addons/fleet/views/fleet_vehicle_cost_views.xml b/addons/fleet/views/fleet_vehicle_cost_views.xml index 070ee85eb1b..5754c081495 100644 --- a/addons/fleet/views/fleet_vehicle_cost_views.xml +++ b/addons/fleet/views/fleet_vehicle_cost_views.xml @@ -8,7 +8,7 @@
diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 98de5bbbbfc..705ca75d31a 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -460,7 +460,6 @@ -
diff --git a/addons/point_of_sale/views/pos_order_view.xml b/addons/point_of_sale/views/pos_order_view.xml index 2ac3b9c17c5..ce080eda8b1 100644 --- a/addons/point_of_sale/views/pos_order_view.xml +++ b/addons/point_of_sale/views/pos_order_view.xml @@ -55,6 +55,7 @@ +
@@ -68,6 +69,7 @@ +
@@ -90,6 +92,7 @@ class="oe_subtotal_footer_separator" widget="monetary" attrs="{'invisible': [('amount_paid','=', 'amount_total')]}"/> +
@@ -274,6 +277,7 @@ + @@ -289,6 +293,7 @@ + @@ -329,6 +334,7 @@ + diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index 46689223a91..db50323004d 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -674,6 +674,7 @@ + diff --git a/addons/repair/models/repair.py b/addons/repair/models/repair.py index b5a6f4f75ca..80e66e23209 100644 --- a/addons/repair/models/repair.py +++ b/addons/repair/models/repair.py @@ -79,6 +79,7 @@ class Repair(models.Model): 'product.pricelist', 'Pricelist', default=lambda self: self.env['product.pricelist'].search([('company_id', 'in', [self.env.company.id, False])], limit=1).id, help='Pricelist of the selected partner.', check_company=True) + currency_id = fields.Many2one(related='pricelist_id.currency_id') partner_invoice_id = fields.Many2one('res.partner', 'Invoicing Address', check_company=True) invoice_method = fields.Selection([ ("none", "No Invoice"), @@ -602,6 +603,8 @@ class RepairLine(models.Model): index=True, ondelete='cascade', check_company=True) company_id = fields.Many2one( related='repair_id.company_id', store=True, index=True) + currency_id = fields.Many2one( + related='repair_id.currency_id') type = fields.Selection([ ('add', 'Add'), ('remove', 'Remove')], 'Type', required=True) @@ -737,6 +740,8 @@ class RepairFee(models.Model): index=True, ondelete='cascade', required=True) company_id = fields.Many2one( related="repair_id.company_id", index=True, store=True) + currency_id = fields.Many2one( + related="repair_id.currency_id") name = fields.Text('Description', index=True, required=True) product_id = fields.Many2one( 'product.product', 'Product', check_company=True, diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml index c39ecb0ff55..8c59e6964cb 100644 --- a/addons/repair/views/repair_views.xml +++ b/addons/repair/views/repair_views.xml @@ -84,6 +84,7 @@ + @@ -106,6 +107,7 @@ + @@ -132,6 +134,7 @@ + @@ -162,6 +165,7 @@ + @@ -174,6 +178,7 @@ + diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml index d8b338914a0..46f5e2d291f 100644 --- a/addons/sale/views/sale_views.xml +++ b/addons/sale/views/sale_views.xml @@ -1015,6 +1015,7 @@ + diff --git a/addons/snailmail/views/snailmail_views.xml b/addons/snailmail/views/snailmail_views.xml index 1502856abbc..4fbcd1072b4 100644 --- a/addons/snailmail/views/snailmail_views.xml +++ b/addons/snailmail/views/snailmail_views.xml @@ -23,7 +23,7 @@
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index 138f02a6b98..7a7a78b37a2 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -201,7 +201,6 @@ - diff --git a/addons/stock/views/stock_orderpoint_views.xml b/addons/stock/views/stock_orderpoint_views.xml index b377ef81870..4b69fd9990c 100644 --- a/addons/stock/views/stock_orderpoint_views.xml +++ b/addons/stock/views/stock_orderpoint_views.xml @@ -42,7 +42,6 @@ - diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index b04462e3dfd..07b99d820e8 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -253,7 +253,7 @@