summaryrefslogtreecommitdiff
path: root/addons/account_debit_note/wizard/__init__.py
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2019-12-12 14:25:34 +0000
committerJosse Colpaert <jco@odoo.com>2020-02-17 16:33:22 +0000
commit47eff65afdba3a2a8283342d8b636657f1fac317 (patch)
tree3ee74b04a78fa7fd051f9659d7c96008c4fe4e6d /addons/account_debit_note/wizard/__init__.py
parent8de07a8aa569cf6e21388d67c02344c8fdf0751e (diff)
[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>
Diffstat (limited to 'addons/account_debit_note/wizard/__init__.py')
-rw-r--r--addons/account_debit_note/wizard/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/account_debit_note/wizard/__init__.py b/addons/account_debit_note/wizard/__init__.py
new file mode 100644
index 00000000000..2048c309b0f
--- /dev/null
+++ b/addons/account_debit_note/wizard/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from . import account_debit_note \ No newline at end of file