[FIX] website_event_track: put partner_biography back on track proposal
Small oversight of #60847 where the "partner_biography" field was mistakenly removed from the frontend track proposal form. This commit simply re-introduces the field back into the form and saves it when submitting the event.track proposal. Task-2500455 closes odoo/odoo#69116 X-original-commit: cef6d91190de0c305c2f7a45b87717db28a9c7db Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com>
This commit is contained in:
@@ -440,6 +440,7 @@ class EventTrackController(http.Controller):
|
||||
'event_id': event.id,
|
||||
'tag_ids': [(6, 0, valid_tag_indices)],
|
||||
'description': plaintext2html(post['description']),
|
||||
'partner_biography': plaintext2html(post['partner_biography']),
|
||||
'user_id': False,
|
||||
'image': base64.b64encode(post['image'].read()) if post.get('image') else False,
|
||||
})
|
||||
|
||||
@@ -92,6 +92,10 @@
|
||||
<label class="col-form-label col-sm-auto" for="partner_function" style="width: 200px">Job Title</label>
|
||||
<div class="col-sm"><input name="partner_function" type="text" class="form-control"/></div>
|
||||
</div>
|
||||
<div class="row form-group">
|
||||
<label class="col-form-label col-sm-auto" for="partner_biography" style="width: 200px" >Biography</label>
|
||||
<div class="col-sm"><textarea name="partner_biography" class="form-control"/></div>
|
||||
</div>
|
||||
</div>
|
||||
<t t-call="website_event_track.event_track_proposal_contact_details"/>
|
||||
<div class="form-group o_form_buttons">
|
||||
|
||||
Reference in New Issue
Block a user