mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
@@ -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"],
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user