Changeset 1156 in main


Ignore:
Timestamp:
06/01/12 14:48:50 (7 years ago)
Author:
pcosquer
Message:

models: adds PLMObject.published_attributesOH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/models.py

    r1155 r1156  
    648648 
    649649    @property 
     650    def published_attributes(self): 
     651        u""".. versionadded:: 1.1 
     652 
     653        Attributes that are visible to everyone if the object has been published.""" 
     654        return ["type", "reference", "revision", "name",] 
     655 
     656    @property 
    650657    def menu_items(self): 
    651658        "Menu items to choose a view" 
Note: See TracChangeset for help on using the changeset viewer.