diff --git a/donation_base/README.rst b/donation_base/README.rst index 5ad67e8..f1be571 100644 --- a/donation_base/README.rst +++ b/donation_base/README.rst @@ -23,7 +23,15 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/180/9.0 + :target: https://runbot.odoo-community.org/runbot/180/10.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. Credits ======= diff --git a/donation_base/data/donation_tax_seq.xml b/donation_base/data/donation_tax_seq.xml index 3b19ba4..f19f6d0 100644 --- a/donation_base/data/donation_tax_seq.xml +++ b/donation_base/data/donation_tax_seq.xml @@ -5,8 +5,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - + Donation Tax Receipt @@ -17,5 +16,4 @@ - - + diff --git a/donation_base/demo/donation_demo.xml b/donation_base/demo/donation_demo.xml index 8ac82d0..b37db5c 100644 --- a/donation_base/demo/donation_demo.xml +++ b/donation_base/demo/donation_demo.xml @@ -1,7 +1,6 @@ - - + @@ -96,5 +95,5 @@ none - + diff --git a/donation_base/models/donation_tax_receipt.py b/donation_base/models/donation_tax_receipt.py index a97b257..208afde 100644 --- a/donation_base/models/donation_tax_receipt.py +++ b/donation_base/models/donation_tax_receipt.py @@ -3,8 +3,8 @@ # © 2014-2016 Akretion France (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api -import openerp.addons.decimal_precision as dp +from odoo import models, fields, api +import odoo.addons.decimal_precision as dp class DonationTaxReceipt(models.Model): @@ -48,6 +48,7 @@ class DonationTaxReceipt(models.Model): return super(DonationTaxReceipt, self).create(vals) @api.model - def update_tax_receipt_annual_dict(self, tax_receipt_annual_dict): + def update_tax_receipt_annual_dict( + self, tax_receipt_annual_dict, start_date, end_date, precision): '''This method is inherited in donation and donation_sale It is called by the tax.receipt.annual.create wizard''' diff --git a/donation_base/models/partner.py b/donation_base/models/partner.py index 0be33ce..66bf458 100644 --- a/donation_base/models/partner.py +++ b/donation_base/models/partner.py @@ -3,7 +3,7 @@ # © 2014-2016 Akretion France (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api +from odoo import models, fields, api class ResPartner(models.Model): diff --git a/donation_base/models/product.py b/donation_base/models/product.py index 2a96fd9..a2401e9 100644 --- a/donation_base/models/product.py +++ b/donation_base/models/product.py @@ -3,8 +3,8 @@ # © 2014-2016 Akretion France (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import ValidationError +from odoo import models, fields, api, _ +from odoo.exceptions import ValidationError class ProductTemplate(models.Model): diff --git a/donation_base/report/report.xml b/donation_base/report/report.xml index 864556d..c02435b 100644 --- a/donation_base/report/report.xml +++ b/donation_base/report/report.xml @@ -1,13 +1,12 @@ - - + - - + diff --git a/donation_base/views/donation_tax_receipt.xml b/donation_base/views/donation_tax_receipt.xml index b944be7..84ee0ae 100644 --- a/donation_base/views/donation_tax_receipt.xml +++ b/donation_base/views/donation_tax_receipt.xml @@ -6,7 +6,6 @@ --> - @@ -100,5 +99,4 @@ - diff --git a/donation_base/views/partner.xml b/donation_base/views/partner.xml index 2adafb7..eefa8ff 100644 --- a/donation_base/views/partner.xml +++ b/donation_base/views/partner.xml @@ -1,13 +1,11 @@ - - + donation.tax.receipt.res.partner.form @@ -20,5 +18,4 @@ - - + diff --git a/donation_base/views/product.xml b/donation_base/views/product.xml index 88f6d62..e981ecc 100644 --- a/donation_base/views/product.xml +++ b/donation_base/views/product.xml @@ -6,7 +6,7 @@ --> - + donation.product.template.search @@ -48,5 +48,5 @@ - + diff --git a/donation_base/wizard/tax_receipt_annual_create.py b/donation_base/wizard/tax_receipt_annual_create.py index 0159aa3..1d627cd 100644 --- a/donation_base/wizard/tax_receipt_annual_create.py +++ b/donation_base/wizard/tax_receipt_annual_create.py @@ -3,8 +3,8 @@ # © 2014-2016 Akretion France (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import UserError +from odoo import models, fields, api, _ +from odoo.exceptions import UserError from datetime import datetime @@ -40,11 +40,6 @@ class TaxReceiptAnnualCreate(models.TransientModel): vals.update(partner_dict['extra_vals']) return vals - @api.model - def update_tax_receipt_annual_dict( - self, tax_receipt_annual_dict, start_date, end_date, precision): - '''This method is inherited in donation and donation_sale''' - @api.multi def generate_annual_receipts(self): self.ensure_one() diff --git a/donation_base/wizard/tax_receipt_print.py b/donation_base/wizard/tax_receipt_print.py index 317989d..8e3002f 100644 --- a/donation_base/wizard/tax_receipt_print.py +++ b/donation_base/wizard/tax_receipt_print.py @@ -3,8 +3,8 @@ # © 2014-2016 Akretion France (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import UserError +from odoo import models, fields, api, _ +from odoo.exceptions import UserError class DonationTaxReceiptPrint(models.TransientModel):