diff options
| author | Kevin Baptiste <kba@odoo.com> | 2020-03-17 13:00:21 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-04-16 09:36:04 +0000 |
| commit | b83e78370005b9089d75859fcd0b13c50e64eadd (patch) | |
| tree | 07aa032bab13e95267b3b75369b186ae2cecc9fc /addons/snailmail/wizard/__init__.py | |
| parent | 0b0690a3934cedcab0d5e34373e8d40c2ab25660 (diff) | |
[IMP] snailmail: confirm sending first letter
Show a confirmation dialog when a user is sending the very first letter.
=========
Purpose
=========
It happens from time to time that a letter gets sent by accident to a
final customer. This situation is always a bit problematic and is
usually only uncovered when it is too late. Having an additional
warning when sending the very first letter should help avoid that kind
of issue.
================
Specifications
================
Display the following warning when the user tries to send a snailmail
letter for the first time (from an invoice or from a follow-up report):
'You are about to send this invoice/follow-up report by post. Are you
sure you want to continue?' Confirm/Cancel
closes odoo/odoo#47861
Taskid: 2215091
Related: odoo/enterprise#9326
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/snailmail/wizard/__init__.py')
| -rw-r--r-- | addons/snailmail/wizard/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/snailmail/wizard/__init__.py b/addons/snailmail/wizard/__init__.py index 86a507b287b..de2f4be2c8c 100644 --- a/addons/snailmail/wizard/__init__.py +++ b/addons/snailmail/wizard/__init__.py @@ -1,3 +1,4 @@ +from . import snailmail_confirm from . import snailmail_letter_cancel from . import snailmail_letter_format_error from . import snailmail_letter_missing_required_fields |
