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>
5 lines
169 B
Python
5 lines
169 B
Python
from . import snailmail_confirm
|
|
from . import snailmail_letter_cancel
|
|
from . import snailmail_letter_format_error
|
|
from . import snailmail_letter_missing_required_fields
|