Ravi Gohil (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/6.0-opw-32662-rgo into lp:openobject-addons/6.0.
Requested reviews: nel (nel-tinyerp) Related bugs: Bug #886747 in OpenERP Addons: "[6.0] Error message after creation of new database || base_setup : correction on action definition, misses _rec_name" https://bugs.launchpad.net/openobject-addons/+bug/886747 For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-32662-rgo/+merge/81849 Hello, There was an issue when creating Database from Web-Client. Originally, its the bug of module base_setup which misses the 2 important fields view_mode,view_type in the action definition of setup wizard(especially they are needed when the model is osv_memory because we always display the form view). This fixes the issue. Thanks to Serpent Consulting Services for the Fix. -- https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-32662-rgo/+merge/81849 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/6.0-opw-32662-rgo.
=== modified file 'base_setup/__init__.py' --- base_setup/__init__.py 2011-01-14 09:34:28 +0000 +++ base_setup/__init__.py 2011-11-10 13:41:12 +0000 @@ -59,6 +59,7 @@ 'installed_users':fields.text('Installed Users', readonly=True), 'config_logo' : fields.binary('Image', readonly=True), } + _rec_name = 'installed_users' _defaults = { 'installed_users':get_users, === modified file 'base_setup/base_setup_data.xml' --- base_setup/base_setup_data.xml 2011-01-14 00:11:01 +0000 +++ base_setup/base_setup_data.xml 2011-11-10 13:41:12 +0000 @@ -36,6 +36,8 @@ <field name="type">ir.actions.act_window</field> <field name="view_id" ref="view_base_setup"/> <field name="target">new</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> </record> <record id="base.user_root" model="res.users">
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp