Files
account-financial-tools/account_move_name_sequence/tests/__init__.py
Pierre Verkest 4733733066 [FIX] account_move_name_sequence: avoid fallback on odoo sequence name
In case an alias is configured to fecth email to generate
account entries. the new_message method directly call the
_compute_name on account move which call the legacy code
provide by account odoo module which should be avoid here.

To reproduce:

* configure an alias on your purchase journal
* send an email to that alias
* the invoice is draft with a number

to mitigate this behavior the suggested patch overwritte
the former method '_compute_name' and call the new implemented
method '_compute_name_by_sequence'.
2023-03-27 11:38:57 +02:00

4 lines
134 B
Python

from . import test_account_move_name_seq
from . import test_sequence_concurrency
from . import test_account_incoming_supplier_invoice