[FIX] website_crm_partner_assign: create opportunity
Issue ----- Users cannot create a new opportunity on the portal if they don't have any. Fix ----- Apply the same change in 17.0 than 58356928dd9cf07158bca4e8c1ce0dcf5177d0b9 did in following versions. opw-3809571 closes odoo/odoo#161870 Signed-off-by: Tanguy Quéguineur (taqu) <taqu@odoo.com>
This commit is contained in:
@@ -303,6 +303,7 @@
|
||||
<t t-set="title">Opportunities</t>
|
||||
<t t-set="url" t-value="'/my/opportunities'"/>
|
||||
<t t-set="placeholder_count" t-value="'opp_count'"/>
|
||||
<t t-set="config_card" t-value="request.env.user.partner_id.grade_id or request.env.user.commercial_partner_id.grade_id"/>
|
||||
</t>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user