Changeset 12167 for main/waeup.ikoba/trunk
- Timestamp:
- 8 Dec 2014, 05:14:58 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/customers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12166 r12167 1200 1200 1201 1201 def update(self): 1202 if not self.context.is_editable :1202 if not self.context.is_editable_by_customer: 1203 1203 emit_lock_message(self) 1204 1204 return -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/contracts.py
r12144 r12167 122 122 123 123 @property 124 def is_editable (self):124 def is_editable_by_customer(self): 125 125 try: 126 126 # Customer must be approved -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py
r12166 r12167 193 193 'formatted_transition_date', 194 194 'translated_class_name', 195 'is_editable ',195 'is_editable_by_customer', 196 196 'is_approvable']))) 197 197 -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/interfaces.py
r12166 r12167 277 277 last_product_id = Attribute( 278 278 'Id of product recently stored with the contract') 279 is_editable = Attribute('Contract editable by customer')279 is_editable_by_customer = Attribute('Contract editable by customer') 280 280 is_approvable = Attribute('Contract approvable by officer') 281 281 translated_class_name = Attribute('Translatable class name') -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/viewlets.py
r12166 r12167 418 418 @property 419 419 def target_url(self): 420 if not self.context.is_editable :420 if not self.context.is_editable_by_customer: 421 421 return '' 422 422 return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.