I'm running Odoo 17.0. I've created a custom model quote with a submodel quote.line_item. (I know Odoo has its own quoting system, I'd like to write my own for practice.)
The tag for the line_item_ids field in the  view for the quote model has custom  links specified under  to add different types of line_items.
One of these  buttons autofills some defaults through the context attribute. This means, once the button is clicked, an auto-populated row appears.
When I click anywhere else on the page, the new row disappears. This appears to be some sort of default behaviour within Odoo, and I'd like to know how to override it. The row added by the button should be ready to save by default, even without user interaction.
