summaryrefslogtreecommitdiff
path: root/addons/document_change/document_change.py
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-01-21 18:24:49 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-01-21 18:24:49 +0530
commit296a7dc89b671faefef990a113a6ef41f9eb8559 (patch)
treeb49636633195ab0c1eec06e150c1fd7cc1024285 /addons/document_change/document_change.py
parentb70368a4d05aa8550463f14a6264fbf1103140d7 (diff)
document_change: remove the require true
bzr revid: sbh@tinyerp.com-20100121125449-smu9qwzggfbj1nua
Diffstat (limited to 'addons/document_change/document_change.py')
-rw-r--r--addons/document_change/document_change.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py
index ccb45408804..3748c1bbc5e 100644
--- a/addons/document_change/document_change.py
+++ b/addons/document_change/document_change.py
@@ -83,7 +83,7 @@ class document_change_process_model(osv.osv):
_columns = {
'name': fields.char("Changed Process Model", size=64,required=True),
'sequence': fields.integer('Sequence'),
- 'phase_type_ids':fields.many2many('document.change.process.phase.type','phase_type_rel','phase_id','phase_model_id','Process Type', required=True),
+ 'phase_type_ids':fields.many2many('document.change.process.phase.type','phase_type_rel','phase_id','phase_model_id','Process Type'),
}
document_change_process_model()
@@ -139,7 +139,7 @@ class doucment_change_process(osv.osv):
'structure_id' :fields.many2one('document.directory','Structure ID'),
'process_model_id':fields.many2one('document.change.process.model','Process Model'),
'user_id':fields.many2one('res.users','Change Owner'),
- 'create_date':fields.datetime('Creation'),
+ 'create_date':fields.datetime('Creation',readonly=True),
'latest_modified_date':fields.function(_latestmodification, method=True, type='date', string="Lastest Modification"), #TODO no year!
'date_expected':fields.datetime('Expected Production'),
'state':fields.selection([('draft', 'Draft'),('progress', 'Progress'),('confirmed', 'To Validate'), ('done', 'Done'),('done', 'Done'),('cancel','Cancelled')], 'Status', readonly=True),