feat: add dlv_account_move_copy_ref — copy customer ref on duplicate of customer invoice/credit note, with OK-popup warning

This commit is contained in:
Kristof Bernaert
2026-10-04 18:43:39 +02:00
parent aa0bafca84
commit 2dc424a7d0
9 changed files with 203 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
{
"name": "DLV Account Move Copy Ref",
"summary": "Copy the customer reference when duplicating a customer "
"invoice or credit note, and warn about it",
"description": """
By default the reference (account.move.ref, shown as "Customer Reference")
is not copied when an invoice is duplicated.
This addon copies it for customer invoices and customer credit notes
(out_invoice, out_refund). Vendor bills and journal entries are unchanged.
After the Duplicate action in the form view, a warning dialog is shown
when the copied reference has a value, so the user can check whether it is
still relevant or has to be removed.
""",
"author": "bv Domus La Vila",
"website": "https://domuslavila.eu",
"category": "Accounting/Accounting",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"depends": ["account"],
"data": [],
"assets": {
"web.assets_backend": [
"dlv_account_move_copy_ref/static/src/js/duplicate_warning.js",
],
},
"installable": True,
"application": False,
"auto_install": False,
}