← Back to team overview

openerp-expert-accounting team mailing list archive

Re: [Bug 935535] Re: Several bug account_asset 2

 

Just like that whould be right. Otherwise asset category has nosense. User
is setting default values on category but he has got to set again same
values on each asset created. It's an usability issue.

The  Several bug account_asset 4 bug says just the default values should be
taken from category. I included the piece of code to be merged on file.
Here it is, if it coudl be usefull...

On same point the default values of asset should be taken from asset
category instead of being hardcoded on asset defaults:

                    'method': line.asset_category_id.method,
                    'method_number': line.asset_category_id.method_number,
                    'method_time': line.asset_category_id.method_time,
                    'method_period': line.asset_category_id.method_period,
                    'method_progress_factor':
line.asset_category_id.method_progress_factor,
                    'method_end': line.asset_category_id.method_end,
                    'prorata': line.asset_category_id.prorata,
Thank you:

Ana


2012/2/21 Amit Bhavsar (Open ERP) <935535@xxxxxxxxxxxxxxxxxx>

> Hello Ana Juaristi Olalde,
>
> When create new Asset and define the asset_categories. Base on "asset
> categories" set the value for  method_number, method_period and
> method_progress_factor. also we can change this field from the Asset
> formview. But I am not sure that behaviour is right or wrong.
>
> So, before Implementing this, we have to more discussion on this issue.
> That's why I am setting this as an "Opinion" so we can get more suggestion
> on this.
>
> @Experts: Would you please share your view on this.
>
> Thanks and more suggestions are welcomed!
>
> ** Changed in: openobject-addons
>       Status: New => Opinion
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/935535
>
> Title:
>  Several bug account_asset 2
>
> Status in OpenERP Addons (modules):
>   Opinion
>
> Bug description:
>  Second one is that default values are set on creating asset, so the
>  values are not taken dinamically from asset category.
>
>   'method_number': 5,
>   'method_period': 12,
>   'method_progress_factor': 0.3,
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/935535/+subscriptions
>


-- 
Ana Juaristi Olalde <http://www.anajuaristi.com/>: Personal phone: 677 93
42 59. User/usuario skype: Avanzosc
CEO Avanzosc, S.L <http://www.avanzosc.com/> : Office phone / Tfono
oficina: (+34) 943 02 69 02
www.openerpsite.com

-- 
You received this bug notification because you are a member of OpenERP
Accounting Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/935535

Title:
  Several bug account_asset 2

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  Second one is that default values are set on creating asset, so the
  values are not taken dinamically from asset category.

   'method_number': 5,
   'method_period': 12,
   'method_progress_factor': 0.3,

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/935535/+subscriptions