Skip to content

Commit

Permalink
[Karthi] | BAH-4140 | Refactor. The return entry fails if the order i…
Browse files Browse the repository at this point in the history
…s in the quotation state issue fixed (#192)
  • Loading branch information
karthikeyansp91 authored Jan 2, 2025
1 parent b489914 commit ad48384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bahmni_customer_return/models/bahmni_customer_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def onchange_product_ids(self):
sale_order_lines = self.env['sale.order.line'].search([
('order_partner_id', '=', self.customer_id.id),
('product_id', 'in', new_product_ids),
('state', '=', 'sale'),
('order_id.date_order', '>=', date_threshold)
])

Expand Down

0 comments on commit ad48384

Please sign in to comment.