From 1a5770c94041fcb87cb807bc277b3f888ff0a164 Mon Sep 17 00:00:00 2001 From: Sergio Zanchetta Date: Sat, 2 Dec 2017 16:47:09 +0100 Subject: [PATCH] [FIX] contract_show_invoice: wrong value for account (#99) --- contract_show_invoice/__manifest__.py | 3 ++- contract_show_invoice/views/contract_view.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contract_show_invoice/__manifest__.py b/contract_show_invoice/__manifest__.py index 945940e4..e83890a0 100644 --- a/contract_show_invoice/__manifest__.py +++ b/contract_show_invoice/__manifest__.py @@ -6,7 +6,8 @@ { 'name': 'Contract Show Invoice', 'summary': 'Button in contracts to show their invoices', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', + 'license': 'AGPL-3', 'author': 'Domatix,' 'Tecnativa,' 'Odoo Community Association (OCA)', diff --git a/contract_show_invoice/views/contract_view.xml b/contract_show_invoice/views/contract_view.xml index 86f791ed..c20391ee 100644 --- a/contract_show_invoice/views/contract_view.xml +++ b/contract_show_invoice/views/contract_view.xml @@ -3,7 +3,7 @@ {'search_default_analytic_account_ids': - [active_id], 'default_analytic_account_ids': active_id} + [active_id], 'default_analytic_account_ids': [active_id]} Invoices account.invoice [('analytic_account_ids','=',active_id)]