WIP search domain ebsite
This commit is contained in:
parent
3e0c3eeccb
commit
d57fa37505
8 changed files with 56 additions and 75 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue