Odoo Help

0

0
1 Answer
0
Avatar

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
6961
| 8 8 12
San Francisco, الولايات المتّحدة
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe)
8‏/9‏/2016 4:02 ص

Assuming v9.0 Enterprise. Yes it's possible with export-import.

- Export the names, email addresses, and IDs of the customers you want to give portal access to.
- Export one or two user records to see how it's structured. Make sure you export the "Portal" checkbox and the "Related partner". This will be your template for the next step.
- Use that template and list all your customers as rows. Make sure the "Portal" checkbox is True. Make sure that the "Related Partner" field points to the customer ID you have exported in the first step. Mass import this csv file.

Notes: This will send a "Create your account" email to all these portal usres (where portal users need to create their password). Test this in a test instance where you disable your outgoing email servers. Test this with a very small number of customers at first. This will require that you learn about import in Odoo; the faq on the Import page in the application is a good start.

2 Comments
SEAN CALLAHAN
9‏/9‏/2016 1:39 ص

Hi Fabrice,

I couldnt actually find any field in the list that simply enabled portal access. It seems like some fields are generated (like the sign up token) when the portal method is run.

Fabrice Henrion (fhe)
9‏/9‏/2016 1:49 ص

The portal access is only an access right. It's a check box. So it is a boolean that is part of the res.user data model.

The creation of a user is done by the fact of importing. Importing new records is the same as clicking on the "Create" button. If creating a user sends an invitation email, then importing a new record will do too.

Ask a Question
Writer
Tag
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now