Search 1.9 billion lines of Odoo code on GitHub

partner_user_auto_assign

Author: Numigi
License: LGPL-3
Branch: TA#47980
Repository: Numigi/odoo-partner-addons
Dependencies: base
Languages: PO File (22, 15.5%), Python (96, 67.6%), and reStructuredText (24, 16.9%)
Other branches: 12.0, 14.0, 40112, TA#46412---migration_modules_flex, TA#47980---partner_phone_validation, TA#48575, TA#50667, and TA#50761

<h1 class="title">Partner User Auto Assign</h1> <a name="context"></a> <h2>Context</h2> <p>The module <code>partner_unique_email</code> prevents to have two partners with the same email address.</p> <p>However, when creating a user with a given email address without setting a partner, a partner is automatically created. Then a blocking error message is raised.</p> <a name="overview"></a> <h2>Overview</h2> <p>After installing this module, when creating a user, an existing partner matching the email address is automatically assigned to the new user.</p> <p>If no matching partner is found, then a partner is created.</p> <a name="usage"></a> <h2>Usage</h2> <p>I create a partner with a given email address.</p> <img alt="static/description/partner_form.png" src="static/description/partner_form.png" /> <p>I create a user with the same email address.</p> <img alt="static/description/user_form.png" src="static/description/user_form.png" /> <p>After saving the user form, I notice that the existing partner was automatically assigned to it.</p> <img alt="static/description/user_form_saved.png" src="static/description/user_form_saved.png" /> <p>This can be easily verified by checking that only one partner matches the given name.</p> <img alt="static/description/partner_kanban.png" src="static/description/partner_kanban.png" /> <a name="contributors"></a> <h2>Contributors</h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul> <a name="more-information"></a> <h2>More information</h2> <ul class="simple"> <li>Meet us at <a class="reference external" href="https://bit.ly/numigi-com">https://bit.ly/numigi-com</a></li> </ul>