odoo/addons/account_asset/wizard
Denis Ledoux fb4c822000 [FIX] account_asset: using attrs to hide method_* fields
In order to hide fields method_number and method_period to hide them according to the asset, fields_view_get method was overriden.
An issue was present: if a search view on model account.asset.asset was added, and did not contain these method_* fields, this overriden fields_view_get was applied, and tried to hide method_* fields, while they were not present in the search view, which leaded to a crash.

I could have solved this the easy way, to not apply the invisbility if the fields were not present in the view, or if the view was something else than form, but I prefered to solve this the cleanest way.
2015-01-20 12:17:45 +01:00
..
__init__.py kill the executable bit on things that are clearly not executables or scripts 2013-01-03 18:10:05 -05:00
account_asset_change_duration.py [FIX] account_asset: using attrs to hide method_* fields 2015-01-20 12:17:45 +01:00
account_asset_change_duration_view.xml [FIX] account_asset: using attrs to hide method_* fields 2015-01-20 12:17:45 +01:00
wizard_asset_compute.py [MERGE] kill the executable bit on things that are clearly not executables or scripts 2013-05-08 16:45:21 +02:00
wizard_asset_compute_view.xml [IMP]Remove type field from the whole account 2012-08-08 16:29:07 +05:30