From 7cfc68cc97e18b888fb61d53cc4a3eaabad619a4 Mon Sep 17 00:00:00 2001 From: houssine Date: Mon, 3 Apr 2017 21:38:15 +0200 Subject: [PATCH] [IMP] add total amount previously subscribed to the certificate form view --- .../models/tax_shelter_declaration.py | 2 +- .../views/tax_shelter_declaration_view.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py b/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py index 7365ebf..c444c58 100644 --- a/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py +++ b/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py @@ -104,7 +104,7 @@ class TaxShelterCertificate(models.Model): subscribed_lines = fields.One2many(compute='_compute_certificate_lines', comodel_name='certificate.line', string='Shares subscribed', readonly=True) resold_lines = fields.One2many(compute='_compute_certificate_lines', comodel_name='certificate.line', string='Shares resold', readonly=True) transfered_lines = fields.One2many(compute='_compute_certificate_lines', comodel_name='certificate.line', string='Shares transfered', readonly=True) - total_amount_previously_subscribed = fields.Float(compute='_compute_amounts', string='Total subscribed') + total_amount_previously_subscribed = fields.Float(compute='_compute_amounts', string='Total previously subscribed') total_amount_subscribed = fields.Float(compute='_compute_amounts', string='Total subscribed') total_amount_resold = fields.Float(compute='_compute_amounts', string='Total resold') total_amount_transfered = fields.Float(compute='_compute_amounts', string='Total transfered') diff --git a/easy_my_coop_taxshelter_report/views/tax_shelter_declaration_view.xml b/easy_my_coop_taxshelter_report/views/tax_shelter_declaration_view.xml index dad9811..190a507 100644 --- a/easy_my_coop_taxshelter_report/views/tax_shelter_declaration_view.xml +++ b/easy_my_coop_taxshelter_report/views/tax_shelter_declaration_view.xml @@ -90,6 +90,7 @@ +