Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5239 Visualizzazioni

I've defined a specific carrier / delivery method for ecommerce. This carrier delivers parcels to automatic post stations / parcel terminals. https://www.google.com/search?tbm=isch&q=parcel+terminal

I'd like to add a new dropdown list input field to this carrier on ecommerce checkout form in order to let the customer choose between the available terminals. Also would like to get the customer's choice visible on quotation in backend if this delivery method is choosen by the customer.

I'm not expert in Odoo and Python, but able to create custom module extending existing Odoo forms with extra fields, but now I don't know where to start.

Can someone please help mi with this?

Avatar
Abbandona
Risposta migliore

Hi,

You can inherit the corresponding template and add new selection field at the necessary position, once customer opted the value you have to override the corresponding controller also to record the data into back-end depending on how the coding is done.

If you check over the net, you can get the docs of how to inherit controller, webpages etc .

For inheriting a controller, you can check this question: https://www.odoo.com/forum/help-1/question/how-to-inherit-controller-in-odoo-12-148217

Also check this question to see how the webpages are inherited and changes are done: https://www.odoo.com/forum/help-1/question/how-to-inherit-website-homepage-in-odoo-12-146555

Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 25
828
2
ott 24
2193
0
mag 22
3050
1
mag 23
2971
0
nov 22
3176