Bulk creation of depreciation lines for Assets imported via CSV

I imported around ~1000 fixed assets into Tryton using CSV import (Assets / account.asset). The assets are created correctly, but depreciation schedules (depreciation Lines) are not generated automatically.

Inside each asset form I can use the Action menu to Run and Create Lines, and it works.
However, from the Assets list (tree view) I cannot generate lines in bulk (I don’t get a working “Run/Create Lines” for selected records), so doing it one-by-one is not realistic.

My question:
Is there a standard/configuration-based way in Tryton to automatically create depreciation lines for assets after import (or to generate them for many selected assets at once), without custom code?
Or is the recommended solution to implement a custom wizard/batch process (e.g., a wizard that takes selected assets / a domain like Draft/Running and performs “Run + Create Lines” for all of them)?

If there is a built-in approach, could you please point me to the correct module/setting or UI location (e.g., action keywords, scheduled tasks, etc.)?

Thanks!

You could use proteus or trytond-console to execute the create_lines button.
When doing migration from other system, it is very common to write some proteus scripts (even for import as it is often easier and more flexible than CSV).

An other option is to add the button to the list view which will make it available.

4 posts were split to a new topic: Posting 10k accounting moves