|
@ -1,6 +1,5 @@ |
|
|
# -*- coding: utf-8 -*- |
|
|
# -*- coding: utf-8 -*- |
|
|
import base64 |
|
|
import base64 |
|
|
from datetime import datetime |
|
|
|
|
|
|
|
|
|
|
|
from openerp import api, fields, models, _ |
|
|
from openerp import api, fields, models, _ |
|
|
|
|
|
|
|
@ -11,7 +10,10 @@ TYPE_MAP = { |
|
|
} |
|
|
} |
|
|
REPORT_DIC = {'subscription':('easy_my_coop_taxshelter_report.tax_shelter_subscription_report','Tax Shelter Subscription'), |
|
|
REPORT_DIC = {'subscription':('easy_my_coop_taxshelter_report.tax_shelter_subscription_report','Tax Shelter Subscription'), |
|
|
'shares':('easy_my_coop_taxshelter_report.tax_shelter_shares_report','Tax Shelter Shares')} |
|
|
'shares':('easy_my_coop_taxshelter_report.tax_shelter_shares_report','Tax Shelter Shares')} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TaxShelterDeclaration(models.Model): |
|
|
class TaxShelterDeclaration(models.Model): |
|
|
|
|
|
|
|
|
_name = "tax.shelter.declaration" |
|
|
_name = "tax.shelter.declaration" |
|
|
|
|
|
|
|
|
name = fields.Char(string='Declaration year', required=True) |
|
|
name = fields.Char(string='Declaration year', required=True) |
|
|