mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] Test if invoice have credit control line in non draft state before deleting it
This commit is contained in:
@@ -27,3 +27,4 @@ from . import policy
|
||||
from . import company
|
||||
from . import wizard
|
||||
from . import report
|
||||
from . import invoice
|
||||
|
||||
@@ -363,6 +363,14 @@ msgstr ""
|
||||
msgid "Lines marker"
|
||||
msgstr "Lines marker"
|
||||
|
||||
|
||||
#. module: account_credit_control
|
||||
#: code:addons/account_credit_control/invoice.py:35
|
||||
#, python-format
|
||||
msgid "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
msgstr "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
|
||||
|
||||
#. module: account_credit_control
|
||||
#: field:credit.control.printer,state:0
|
||||
msgid "state"
|
||||
|
||||
@@ -363,6 +363,14 @@ msgstr ""
|
||||
msgid "Lines marker"
|
||||
msgstr "Lines marker"
|
||||
|
||||
|
||||
#. module: account_credit_control
|
||||
#: code:addons/account_credit_control/invoice.py:35
|
||||
#, python-format
|
||||
msgid "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
msgstr "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
|
||||
|
||||
#. module: account_credit_control
|
||||
#: field:credit.control.printer,state:0
|
||||
msgid "state"
|
||||
|
||||
@@ -368,6 +368,12 @@ msgstr "Lines marker"
|
||||
msgid "state"
|
||||
msgstr "state"
|
||||
|
||||
#. module: account_credit_control
|
||||
#: code:addons/account_credit_control/invoice.py:35
|
||||
#, python-format
|
||||
msgid "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
msgstr "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
|
||||
#. module: account_credit_control
|
||||
#: field:credit.control.run,report:0
|
||||
msgid "Report"
|
||||
|
||||
@@ -345,6 +345,13 @@ msgstr ""
|
||||
msgid "Lines marker"
|
||||
msgstr "Traiter les lignes"
|
||||
|
||||
#. module: account_credit_control
|
||||
#: code:addons/account_credit_control/invoice.py:35
|
||||
#, python-format
|
||||
msgid "You cannot cancel this invoice ! A payment reminder has already been sent to the customer.You must create a credit note and raise a new invoice."
|
||||
msgstr "Vous ne pouvez pas annuler cette facture ! Une lettre de relance a été envoyé au client. Vous devez créer un avoir et établir une nouvelle facture."
|
||||
|
||||
|
||||
#. module: account_credit_control
|
||||
#: field:credit.control.printer,state:0
|
||||
msgid "state"
|
||||
|
||||
Reference in New Issue
Block a user