Files
odoo_source/addons/account_debit_note/__manifest__.py
T
Josse Colpaert 47eff65afd [ADD] account_debit_note: Debit Note functionality
You might think that if the debit note is like the inverse
of a credit note, that it is just a regular invoice.

Well, it is, except that we had several localizations
adding a link with the original invoice for the debit note.
This way, we can share that many2one and add a wizard that is
similar as the one for the credit once and for all.

In order to keep things simple, we always create a
draft debit note.  The only option we give, is to copy
the original invoice lines or not.

You can also create a debit note from a credit note,
in which case the type needs to change, but we don't
copy the lines in that case (for now).

opw-2181586

closes odoo/odoo#45542

X-original-commit: f1af011d0966fa6e436168879b7f18fabb955934
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-02-17 16:33:22 +00:00

24 lines
788 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Debit Notes',
'version': '1.0',
'category': 'Accounting/Accounting',
'summary': 'Debit Notes',
'description': """
In a lot of countries, a debit note is used as an increase of the amounts of an existing invoice
or in some specific cases to cancel a credit note.
It is like a regular invoice, but we need to keep track of the link with the original invoice.
The wizard used is similar as the one for the credit note.
""",
'depends': ['account'],
'data': [
'wizard/account_debit_note_view.xml',
'views/account_move_view.xml',
'security/ir.model.access.csv',
],
'installable': True,
'auto_install': False,
}