Skip to content

Commit

Permalink
Fix issue of approving In-kind Entitlement
Browse files Browse the repository at this point in the history
Signed-off-by: mkumar-02 <mkumar6@ch.iitr.ac.in>
  • Loading branch information
mkumar-02 committed Jun 18, 2024
1 parent 39083d2 commit 295c3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spp_programs/models/stock/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def _assign_picking_post_process(self, new=False):
picking_id = self.mapped("picking_id")
entitlement_ids = self.mapped("entitlement_id.cycle_id")
for entitlement_id in entitlement_ids:
picking_id.message_post_with_view(
picking_id.message_post_with_source(
"mail.message_origin_link",
values={"self": picking_id, "origin": entitlement_id},
render_values={"self": picking_id, "origin": entitlement_id},
subtype_id=self.env.ref("mail.mt_note").id,
)
return
Expand Down

0 comments on commit 295c3b9

Please sign in to comment.