ODOO 12 / Studio: How can I set the domain correctly to get only the invoice and shipping addresses based on choosen company
Steps
1. Start create an quotation/order
2. Select/find the right company (with muliple addresses attached). E.g. BEWISE Solutions
3. Search for the right (invoice) address
Expected
- I only see the addresses attached to the company BEWISE
Actual
- I see all the addresses (also from other companies)
Question:
How can I set the domain for the field partner_invoice_id (and partner_shipping_id) so I only search within the selected company addresses.
I tried for example 'parent_id','=',parent_id -->but this did not work.
Please help, thanks!