odooodoo-8odoo-9odoo-viewodoo-website

How can I add some custom field in odoo eCommerce website Shopping cart table


I want to add custom fields like following image

enter image description here


Solution

  • Inherit website_sale.cart_lines in odoo 9 or website_sale.cart in odoo8 ,either use position replace or after/before like <xpath expr="//tbody" position="replace"> and put your code in the xpath(update tr and td).