diff --git a/product/ERP5/PropertySheet/Amortisation.py b/product/ERP5/PropertySheet/Amortisation.py index a3adb96026fe5699204f1f77baa53323ba0d42d5..71e6a5862ec4a9d25a0df48b2b0029934009b0bb 100644 --- a/product/ERP5/PropertySheet/Amortisation.py +++ b/product/ERP5/PropertySheet/Amortisation.py @@ -109,7 +109,6 @@ class Amortisation: 'acquisition_portal_type' : Expression('python:[]'), 'acquisition_depends' : None, 'mode' : 'w' }, - # Properties specific to each amortisation method { 'id' : 'degressive_coefficient', 'description' : 'The fiscal coefficient to use in degressive amortisation', diff --git a/product/ERP5Form/Form.py b/product/ERP5Form/Form.py index ea45785eef034f14cd876312d50783d99e9c791b..69f541e7cbee8e1da27024ec5b72114bd6c1d587 100644 --- a/product/ERP5Form/Form.py +++ b/product/ERP5Form/Form.py @@ -68,7 +68,7 @@ def get_value(self, id, **kw): field = REQUEST.get('field__proxyfield_%s_%s' % (self.id, id), self) else: field = self - + kw['field'] = field form = field.aq_parent # XXX (JPS) form for default is wrong apparently in listbox - double check