WIP search domain ebsite

This commit is contained in:
snt 2024-09-18 17:21:07 +02:00 committed by snt
parent a61d228c9a
commit 1f832980b3
8 changed files with 56 additions and 75 deletions

View file

@ -41,8 +41,7 @@ class Picking(models.Model):
for picking in self:
if not picking.partner_id:
return
_logger.warning("onchange %s %s", picking.location_dest_id.name, picking.location_id.name) # web cliebt does not update without this, wtf?
_logger.warning("onchange %s", picking.picking_type_id.code)
_logger.debug("onchange %s %s", picking.location_dest_id.name, picking.location_id.name) # web cliebt does not update without this, wtf?
if picking.picking_type_id.is_deposit:
if picking.picking_type_id.code in ["internal","outgoing"]:
if not picking.partner_id.deposit_sale_accept: