[FIX] account_asset_management: FIX empty asset reference
If the assets are created before posting the invoice, they wouldn't have a name and the "code" field of the assets will be empty, but they would have the invoice name.
This commit is contained in:
parent
a555ed9259
commit
9f9a72f073
@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
"name": "Assets Management",
|
||||
"version": "13.0.1.1.1",
|
||||
"version": "13.0.1.1.2",
|
||||
"license": "AGPL-3",
|
||||
"depends": ["account"],
|
||||
"excludes": ["account_asset"],
|
||||
|
@ -1035,6 +1035,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1058,6 +1058,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1081,6 +1081,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1072,6 +1072,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1083,6 +1083,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1069,6 +1069,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1062,6 +1062,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1079,6 +1079,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1067,6 +1067,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1124,6 +1124,12 @@ msgstr ""
|
||||
"Der Anlagenbuchwert wird wie folgt berechnet:\n"
|
||||
"Anschaffungspreis - Bezugskosten."
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1063,6 +1063,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1081,6 +1081,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1143,6 +1143,12 @@ msgstr ""
|
||||
"El valor del activo se calcula de la siguiente forma:\n"
|
||||
"Valor de compra - valor de salvaguarda."
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1082,6 +1082,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1077,6 +1077,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1086,6 +1086,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1067,6 +1067,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1089,6 +1089,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1067,6 +1067,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1086,6 +1086,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1070,6 +1070,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1145,6 +1145,12 @@ msgstr ""
|
||||
"La base d'amortisement est calculée comme suit:\n"
|
||||
"Valeur d'achat - Valeur de revente."
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1051,6 +1051,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1084,6 +1084,12 @@ msgstr ""
|
||||
"O valor do activo calcúlase do seguinte xeito:\n"
|
||||
"Valor de compra - Valor residual"
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1092,6 +1092,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1070,6 +1070,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1069,6 +1069,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1075,6 +1075,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1091,6 +1091,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1079,6 +1079,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1089,6 +1089,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1090,6 +1090,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1084,6 +1084,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1084,6 +1084,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1079,6 +1079,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1075,6 +1075,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1131,6 +1131,12 @@ msgstr ""
|
||||
"O Valor do Ativo é calculado da seguinte forma: Valor de Compra - Valor "
|
||||
"Residual"
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1141,6 +1141,12 @@ msgstr ""
|
||||
"A Base de Depreciação é calculada conforme a seguir:\n"
|
||||
"Valor de Compra - Valor Residual."
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1133,6 +1133,12 @@ msgstr ""
|
||||
"O Valor do Ativo é calculado da seguinte forma: Valor de Compra - Valor "
|
||||
"Residual"
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1086,6 +1086,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1087,6 +1087,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1125,6 +1125,12 @@ msgstr ""
|
||||
"Vrednost sredstva se izračuna kot:\n"
|
||||
"Nabavna vrednost - Rabljena vrednost."
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1069,6 +1069,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1109,6 +1109,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1063,6 +1063,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1090,6 +1090,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1054,6 +1054,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1087,6 +1087,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1053,6 +1053,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1084,6 +1084,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -1077,6 +1077,12 @@ msgid ""
|
||||
"Purchase Value - Salvage Value."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: code:addons/account_asset_management/models/account_move.py:0
|
||||
#, python-format
|
||||
msgid "This invoice created the asset(s): %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_asset_management
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset__method_time
|
||||
#: model:ir.model.fields,field_description:account_asset_management.field_account_asset_profile__method_time
|
||||
|
@ -59,6 +59,7 @@ class AccountMove(models.Model):
|
||||
return super().write(vals)
|
||||
|
||||
def post(self):
|
||||
super().post()
|
||||
for move in self:
|
||||
for aml in move.line_ids.filtered("asset_profile_id"):
|
||||
depreciation_base = aml.debit or -aml.credit
|
||||
@ -79,8 +80,6 @@ class AccountMove(models.Model):
|
||||
.create(vals)
|
||||
)
|
||||
aml.with_context(allow_asset=True).asset_id = asset.id
|
||||
super().post()
|
||||
for move in self:
|
||||
refs = [
|
||||
"<a href=# data-oe-model=account.asset data-oe-id=%s>%s</a>"
|
||||
% tuple(name_get)
|
||||
@ -88,7 +87,7 @@ class AccountMove(models.Model):
|
||||
"asset_profile_id"
|
||||
).asset_id.name_get()
|
||||
]
|
||||
message = _("This invoice created the asset/s: %s") % ", ".join(refs)
|
||||
message = _("This invoice created the asset(s): %s") % ", ".join(refs)
|
||||
move.message_post(body=message)
|
||||
|
||||
def button_draft(self):
|
||||
|
Loading…
Reference in New Issue
Block a user