Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-16779-msh into
lp:openobject-addons/6.0.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-16779-msh/+merge/71182
Hello,
Fixed the issue of signin wizard in project.
Due to View_mode='tree,form' in web-client by default tree view was opened and
wizard always opened as a form so there is no need to write tree,form both mode.
Hence changed the code accordingly.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-16779-msh/+merge/71182
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-16779-msh.
=== modified file 'hr_timesheet/wizard/hr_timesheet_sign_in_out.py'
--- hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2011-01-14 00:11:01 +0000
+++ hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2011-08-11 11:39:33 +0000
@@ -145,9 +145,9 @@
return {
'name': 'Sign in / Sign out',
'view_type': 'form',
- 'view_mode': 'tree,form',
+ 'view_mode': 'form',
'res_model': 'hr.sign.%s.project' % in_out,
- 'views': [(False,'tree'), (resource_id,'form')],
+ 'views': [(resource_id,'form')],
'type': 'ir.actions.act_window',
'target': 'new'
}
=== modified file 'hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml'
--- hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml 2011-01-14 00:11:01 +0000
+++ hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml 2011-08-11 11:39:33 +0000
@@ -84,7 +84,7 @@
<field name="name">Sign in / Sign out by project</field>
<field name="res_model">hr.sign.out.project</field>
<field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
+ <field name="view_mode">form</field>
<field name="view_id" ref="view_hr_timesheet_sign_out"/>
<field name="target">new</field>
</record>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp