odoo/addons/account_asset
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
..
i18n [I18N] Sync updated 7.0 translations from Launchpad 2015-01-07 17:57:28 +01:00
report [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
security kill the executable bit on things that are clearly not executables or scripts 2013-01-03 18:10:05 -05:00
static/src/img Changed module icons 2011-12-21 18:37:39 +01:00
test [FIX] account_asset: moves should use the depreciation line date 2014-11-06 14:06:55 +01:00
wizard [FIX] account_asset: using attrs to hide method_* fields 2015-01-20 12:17:45 +01:00
__init__.py [FIX] account_asset: remove 'x' flag on .xml and .py files 2011-09-22 11:44:06 +02:00
__openerp__.py [IMP] Improved _openerp__.py of all modules by replacing demo_xml with demo, init_xml and update_xml with data and adding noupdate 2012-08-22 18:32:32 +05:30
account_asset.py [FIX] account_asset: moves should use the depreciation line date 2014-11-06 14:06:55 +01:00
account_asset_demo.xml [FIX] account_asset: moves should use the depreciation line date 2014-11-06 14:06:55 +01:00
account_asset_invoice.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
account_asset_invoice_view.xml [FIX] Adding asset category in supplier invoice form 2013-05-08 14:51:01 +05:30
account_asset_view.xml [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00