[MIG] report_csv: Migration to 13.0

This commit is contained in:
kongrattapong
2020-02-21 17:19:02 +07:00
committed by ferran-73
parent f9d2d2178a
commit 77665ceaec
7 changed files with 39 additions and 33 deletions

View File

@@ -8,6 +8,7 @@ from odoo import models
class PartnerCSV(models.AbstractModel):
_name = "report.report_csv.partner_csv"
_inherit = "report.report_csv.abstract"
_description = "Report Partner to CSV"
def generate_csv_report(self, writer, data, partners):
writer.writeheader()