[FIX] Add the required flag and set the value to True
[IMP] Add a new "note" field in the object and in the view bzr revid: stephane@tinyerp.com-20090306093310-9k4ap5m2heosd5wf
This commit is contained in:
parent
894157b52d
commit
11b72020ee
|
@ -797,7 +797,8 @@ class mrp_procurement(osv.osv):
|
|||
('cancel','Cancel'),
|
||||
('ready','Ready'),
|
||||
('done','Done'),
|
||||
('waiting','Waiting')], 'Status')
|
||||
('waiting','Waiting')], 'Status', required=True),
|
||||
'note' : fields.text('Note'),
|
||||
}
|
||||
_defaults = {
|
||||
'state': lambda *a: 'draft',
|
||||
|
|
|
@ -711,6 +711,10 @@
|
|||
<separator colspan="4" string="Properties"/>
|
||||
<field colspan="4" name="property_ids" nolabel="1" groups="base.group_extended"/>
|
||||
</page>
|
||||
<page string="Note">
|
||||
<separator colspan="4" string="Note" />
|
||||
<field name="name" colspan="4" />
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue