[13.0][MIG] account_tax_balance

This commit is contained in:
Andrea
2019-09-30 11:57:59 +02:00
committed by Borruso
parent c4a0f593df
commit b8e91371e1
8 changed files with 44 additions and 58 deletions

View File

@@ -1,16 +1,15 @@
# Copyright 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models
from odoo import models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
@api.model_cr
def init(self):
res = super(AccountMoveLine, self).init()
res = super().init()
self._cr.execute("""
SELECT indexname FROM pg_indexes
WHERE indexname = 'account_move_line_date_tax_line_id_idx'