Commit Graph

16 Commits

Author SHA1 Message Date
Denis Ledoux 23da42d5a0 [MERGE] forward port of branch saas-3 up to dd72d15 2015-01-20 13:25:53 +01:00
Denis Ledoux dd72d1537f [MERGE] forward port of branch 7.0 up to fb4c822 2015-01-20 12:21:52 +01:00
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
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Phil Frost 5ff3ae2034 kill the executable bit on things that are clearly not executables or scripts
bzr revid: pfrost@openerpdev-20130103231005-56pglti6uss0jsm5
2013-01-03 18:10:05 -05:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Quentin (OpenERP) e45f9ebc55 [FIX] account_asset: change duration wizard
bzr revid: qdp-launchpad@openerp.com-20110710005357-6rfi7xwvngcepwaw
2011-07-10 02:53:57 +02:00
Quentin (OpenERP) 3864c9acf4 [IMP] account_asset: usability changes for asset history
bzr revid: qdp-launchpad@openerp.com-20110701084233-rcmwin10fh5oq72g
2011-07-01 10:42:33 +02:00
Quentin (OpenERP) 7579dbbf24 [FIX] account_asset: change duration wizard. Fixed context using and historization of duration change
bzr revid: qdp-launchpad@openerp.com-20110701080512-211krjr6tjbtw28x
2011-07-01 10:05:12 +02:00
Ujjvala Collins (OpenERP) a5b04d3de0 [ADD] account_asset: Added fields_view_get method for setting the fields invisible based on Time method of asset.
bzr revid: uco@tinyerp.com-20110627122239-byt91wu5b1akzzgq
2011-06-27 17:52:39 +05:30
Ujjvala Collins (OpenERP) 89d9c9407d [FIX] account_asset: Changed order by id for history changes. Improved indentations. Changed field types.
bzr revid: uco@tinyerp.com-20110627105105-33w6pup1elslw542
2011-06-27 16:21:05 +05:30
Ujjvala Collins (OpenERP) 0c4460a25f [REF] account_asset: Corrected usability and indentation. Improvement: Latest history should come first in the list.
bzr revid: uco@tinyerp.com-20110627085142-5amjoke1d3jtkdz3
2011-06-27 14:21:42 +05:30
Ujjvala Collins (OpenERP) a3fc4b62b3 [IMP] account_asset: Added docstrings for methods and improved indentation.
bzr revid: uco@tinyerp.com-20110624130821-9spobpiq2sp31cfy
2011-06-24 18:38:21 +05:30
Ujjvala Collins (OpenERP) d62d538ace [IMP] account_asset: Improved+Fixed change duration wizard.
bzr revid: uco@tinyerp.com-20110624130131-cwcnk09qy8bes4li
2011-06-24 18:31:31 +05:30