2
0

[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 committed by Rodrigo
parent 72abb8ed9d
commit 8dc37aa648
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@
{
"name": "Assets Management",
"version": "14.0.2.0.1",
"version": "14.0.2.0.2",
"license": "AGPL-3",
"depends": ["account", "report_xlsx_helper"],
"excludes": ["account_asset"],

View File

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