Skip to Content
Menu
This question has been flagged
1742 Views

To enhance the enterprise/helpdesk tickets and website forms, I had to add new fields like sale order and sale order lines. While I accomplished to extend the form and to add the new sale order field to the formbuilder_whitelist, I don't find the intended way how to add and whitelist the nested order lines. Is this actually possible? 

If so, how would the input field names for the model have to be called? Currently, I used naming like ticket_order_line_ids[][order_line_id], but digging in the code (odoo/addons/website_form/controllers/main.py#WebsiteForm.extract_data) I now fear that nested models are not supported and might always require custom code. But maybe I miss something, maybe there is some extension or I could/send the nested models in a better way?


Avatar
Discard