[MIG] beta migration of account_usability

This commit is contained in:
Alexis de Lattre
2020-12-07 23:48:29 +01:00
parent d72872eb90
commit 17549ca457
36 changed files with 1110 additions and 812 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 2018-2019 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
#class AccountInvoiceReport(models.Model):
# _inherit = 'account.invoice.report'
# number = fields.Char(string="Number", readonly=True)
# def _sub_select(self):
# select_str = super(AccountInvoiceReport, self)._sub_select()
# select_str += ", ai.number"
# return select_str
# def _select(self):
# select_str = super(AccountInvoiceReport, self)._select()
# select_str += ", sub.number"
# return select_str
# def _group_by(self):
# group_by_str = super(AccountInvoiceReport, self)._group_by()
# group_by_str += ", ai.number"
# return group_by_str