Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5187 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
796
2
paź 24
2171
0
maj 22
3038
1
maj 23
2954
0
lis 22
3146