mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Using `invoice_validate` method for validating invoice, makes the call to the sequence to be done before, and although rollbacking the transaction, the next number is already assigned and then you may have gaps in your numbering. Thus, we do the check before this, on the first executed method.
17 lines
542 B
Python
17 lines
542 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2015 - Camptocamp SA - Author Vincent Renaville
|
|
# Copyright 2016 - Tecnativa - Angel Moya <odoo@tecnativa.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
{
|
|
'name': "Tax required in invoice",
|
|
'version': "10.0.1.0.2",
|
|
"author": "Camptocamp,Tecnativa,Odoo Community Association (OCA)",
|
|
'website': "http://www.camptocamp.com",
|
|
'category': "Localisation / Accounting",
|
|
'license': "AGPL-3",
|
|
'depends': ["account"],
|
|
'data': [
|
|
],
|
|
'installable': True,
|
|
}
|