Search code examples
odoosaasodoo-9qweb

Add Purchase Order field to website checkout in Odoo 9 SaaS


I need to add a PO field to the portal website checkout in Odoo 9 SA (SaaS version). I assume I should add a field in the qweb view through the "customize/HTML Editor" but I'm not sure how I can trigger saving of a field value client_order_ref field in the sale.order model when someone presses the "Pay now" button.

How can I accomplish this?

Thanks in advance!


Solution

  • Once the Extra Option is activated through the HTML Editor it is possible to edit the xml page named "Checkout Extra Info". According to this documentation about Odoo E-Commerce Website only x_ field are accepted.