How can I predefinde/prefilter a many2one field?
As example product.category has a type, in my view the user should only be able to select a product.category based on the category type.
//field in model category_id = fields.Many2one(comodel_name="product.category", string="ebay Category", required=True)
//field in view
How can I prefilter the select in view to offer only categories with type 'external'???