Files
odoo_source/addons/snailmail_account/__manifest__.py
T
Kevin Baptiste b83e783700 [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>
2020-04-16 09:36:04 +00:00

19 lines
495 B
Python

# -*- coding: utf-8 -*-
{
'name': "snailmail_account",
'description': """
Allows users to send invoices by post
=====================================================
""",
'category': 'Hidden/Tools',
'version': '0.1',
'depends': ['account', 'snailmail'],
'data': [
'views/res_config_settings_views.xml',
'views/assets.xml',
'wizard/account_invoice_send_views.xml',
'security/ir.model.access.csv',
],
'auto_install': True,
}