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>
213 B
213 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_snailmail_confirm_invoice | access_snailmail_confirm_invoice | model_snailmail_confirm_invoice | account.group_account_invoice | 1 | 1 | 1 | 0 |