[IMP] snailmail: add missing value to selection field

From _snailmail_create function the value passed to error_code selection field
is ATTACHMENT_ERROR. However it is not existing the selection field.

In this commit we add the missing value to selection field.

closes odoo/odoo#108226

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
niyasraphy
2023-01-02 10:53:54 +01:00
committed by Thibault Delavallée
parent e9dfb08021
commit 123912784b
@@ -27,6 +27,7 @@ ERROR_CODES = [
'NO_PRICE_AVAILABLE',
'FORMAT_ERROR',
'UNKNOWN_ERROR',
'ATTACHMENT_ERROR',
]