Skip to content

Commit

Permalink
Merge PR #98 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 Oct 7, 2024
2 parents 4a11a05 + 77bb82c commit eb070af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions joint_buying_product_food/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ def _get_report_tour_category(self):
will impact order in the joint.buying.tour report"""
self.ensure_one()
return self.storage_method or "normal"

def _prepare_joint_buying_product(self, action):
res = super()._prepare_joint_buying_product(action)
res.update(
{
"storage_method": self.storage_method,
"use_by_date_day": self.use_by_date_day,
"best_before_date_day": self.best_before_date_day,
}
)
return res

0 comments on commit eb070af

Please sign in to comment.