[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:
parent
72abb8ed9d
commit
8dc37aa648
@ -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"],
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user