Skip to content

Commit

Permalink
Merge PR #95 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
github-grap-bot committed Jul 29, 2024
2 parents 7cea7da + ece480c commit 58bb8c3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ class JointBuyingCreatePurchaseOrderWizard(models.TransientModel):
)

def _default_date_planned(self):
# TODO: With LOG2, recover the delivery date
return False
order = self.env["joint.buying.purchase.order"].browse(
self.env.context.get("active_id")
)
return order and order.request_arrival_date

def _default_order_id(self):
return self.env.context.get("active_id")
Expand Down

0 comments on commit 58bb8c3

Please sign in to comment.