[FIX] account_asset_management: Don't put asset name as entry name

This can provoke an error due to duplicated entry name.

Remaining of the migration to version 13.0, and similar to
b7637cbe45 (diff-5318cd3560cdb2d23d2889fe39c5b71745c140810b20f64f0c9aa5b24b8b602bL206)
This commit is contained in:
Pedro M. Baeza
2021-08-11 20:35:21 +02:00
parent b7766dff0f
commit 15769e953a
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
{
"name": "Assets Management",
"version": "13.0.3.4.0",
"version": "13.0.3.4.1",
"license": "AGPL-3",
"depends": ["account", "report_xlsx_helper"],
"excludes": ["account_asset"],

View File

@@ -198,7 +198,6 @@ class AccountAssetRemove(models.TransientModel):
# create move
move_vals = {
"name": asset.name,
"date": date_remove,
"ref": line_name,
"journal_id": journal_id,