Skip to content

Commit

Permalink
[FIX] sale_stock_partner_warehouse: domain on sale order line route_id
Browse files Browse the repository at this point in the history
  • Loading branch information
victorvermot committed Feb 13, 2024
1 parent 563f905 commit dec0ea7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sale_stock_warehouse_multicompany/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class SaleOrderLine(models.Model):

route_id = fields.Many2one(
"stock.route",
domain="[('company_ids', 'in', company_id)]",
domain="""
[&, ('company_ids', 'in', company_id),(sale_selectable, =,true)]
""",
check_company=False,
)

Expand Down

0 comments on commit dec0ea7

Please sign in to comment.