add asset management modules

Florian, 

 

I indeed made a script to migrate a couple of our customers from the old to the new version of the asset mgt module.

 

What I mean is that any customer who starts managing his assets in openerp/odoo will either have to type them in manually or alternatively export them from e.g. an excel or csv file.

Hence if you make an ORM script to import old and current assets from an XLS file, than we could document the XLS (or probably csv) format  and adding an import wizard to load assets from this documented csv format.

 

We do have a customer project where we have to load 700+ assets into odoo hence it would be interesting if I could reuse the script that you are working on.

 

Regards,

Luc

 

 <http://www.noviat.com/> www.noviat.com

Rusatiralaan 1, 1083 Brussel

+32 2 808 86 38

 



 

From: florian-dacosta [mailto:notifications@github.com] 
Sent: dinsdag 28 oktober 2014 11:15
To: OCA/account-financial-tools
Cc: luc-demeyer
Subject: Re: [account-financial-tools] add asset management modules (#51)

 

In account_asset_management/account_asset.py:

> +                    _get_assets,
> +                    ['purchase_value', 'salvage_value', 'parent_id'], 10),
> +            },
> +            help="This amount represent the initial value of the asset."),
> +        'value_residual': fields.function(
> +            _residual, method=True,
> +            digits_compute=dp.get_precision('Account'),
> +            string='Residual Value',
> +            store={
> +                'account.asset.asset': (
> +                    _get_assets, [
> +                        'purchase_value', 'salvage_value',
> +                        'parent_id', 'depreciation_line_ids'
> +                    ], 20),
> +                'account.asset.depreciation.line': (
> +                    _get_assets_from_dl, ['amount', 'init', 'move_id'], 20),

Actually I just import a custom excel file with old and current assets into Odoo.
I am not sure to understand what you mean, since there is already a script to migrate from account_asset to account_asset_management.
I would be glad to contribute what I did but it is ultra specific and made in ooor...

—
Reply to this email directly or view it on GitHub <https://github.com/OCA/account-financial-tools/pull/51/files#r19461440> .  <https://github.com/notifications/beacon/AHWZQfum8cR_1I9UxJD7GwfjttLdEop6ks5nH2QrgaJpZM4CpKrQ.gif>