change the view, make looks like version 5 view

bzr revid: mga@tinyerp.com-20081219103946-xuyjcfcmvwq4t6l9
This commit is contained in:
Mantavya Gajjar 2008-12-19 16:09:46 +05:30
commit 5b3507c947
3 changed files with 8 additions and 7 deletions

View File

@ -1147,11 +1147,13 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Server Action">
<field name="name" select="1"/>
<field name="state" select="1"/>
<field name="model_id" select="1"/>
<field name="sequence" select="2"/>
<field name="condition" colspan="4"/>
<group col="6" colspan="4">
<field name="name" select="1"/>
<field name="model_id" select="1"/>
<field name="state" select="1"/>
<field name="sequence" select="2"/>
<field name="condition" colspan="3"/>
</group>
<notebook colspan="4">
<page string="Python Code" attrs="{'invisible':[('state','!=','code')]}">
<separator colspan="4" string="Python Code"/>

View File

@ -416,7 +416,7 @@ class actions_server(osv.osv):
'fields_lines': fields.one2many('ir.server.object.lines', 'server_id', 'Fields Mapping'),
'record_id':fields.many2one('ir.model.fields', 'Create Id', help="Provide the field name from where the record id stores after the create operations, if its empty, you can not track the new record"),
'write_id':fields.char('Write Id', size=256, help="Provide the field name from where the record id refer for the write operation, if its empty it will refer to the active id of the object"),
'loop_action':fields.many2one('ir.actions.server', 'Loop Action', help="select the action, which will be executes"),
'loop_action':fields.many2one('ir.actions.server', 'Loop Action', help="select the action, which will be executes. Loop action will not be avaliable inside loop"),
'expression':fields.char('Loop Expression', size=512, help="enter the field/expression that will return the list, i.e. select the sale order in Object, and we can have loop on sales order line. Expression = `object.order_line`"),
}
_defaults = {

View File

@ -155,7 +155,6 @@ setup(name = name,
'openerp-server.addons',
'openerp-server.ir',
'openerp-server.osv',
'openerp-server.ssl',
'openerp-server.service',
'openerp-server.tools',
'openerp-server.report',