Two warehouses, default warehouse in Sale


My company has two warehouses - two stock locations of type Warehouse. Once the Sale is created, the Warehouse should be selected manually in the Sale. Is there a way to set up a default Warehouse for Sale, so that a Warehouse field in Sale is filled in automatically?

Thank you

You can override the default_warehouse method of sale to return the warehouse you want to use on your company.

Is it possible to define a default warehouse on Sale from the client menu or this should be done at a module level?

For now, we have not generic method to define the default warehouse of a sale.
There are many different cases: per company, per employee, per customer, per shipping address etc. So for now we let this to the customization until we got a proper solution.

Now it is clear. Thank you for the support.