Community mailing list archives

Sale Layout: Restrict available sections, to already used sections

F. B.
- 03/24/2016 06:46:44

I'm using odoo 9 with the sale_layout module.
When creating Sale Orders, the drop-down menu for the Sections
displays all former Sections, that have been used in any Sales Order.
As the reusage of existing Sections is not desired in our case, I
would like to restrict the available Sections to those Sections, that
are already in use in a particular Sales Order.

I was thinking of a domain filter, something like

Unfortunately, I don't know/understand domain filter to a hundred
percent, especially, what fields or variables are available and if the
context can be modified. So the suggested filter obviously doesn't

Thank you very much for your help!