~openerp-community/openobject-addons/fix-account-trunk-tax-computation-method

« back to all changes in this revision

Viewing changes to portal/wizard/portal_wizard.py

  • Committer: Quentin (OpenERP)
  • Date: 2012-04-23 15:29:24 UTC
  • Revision ID: qdp-launchpad@openerp.com-20120423152924-ml1n9jzk1yc2e8en
[IMP] portal: added the home_action feature for portal users

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
                    'user_email': u.user_email,
147
147
                    'context_lang': u.lang,
148
148
                    'share': True,
 
149
                    'action_id': wiz.portal_id.home_action_id and wiz.portal_id.home_action_id.id or False,
149
150
                    'partner_id': u.partner_id and u.partner_id.id,
150
151
                } for u in wiz.user_ids if u.user_email not in existing_logins ]
151
152
            portal_obj.write(cr, ROOT_UID, [wiz.portal_id.id],