[IMP] ensan_sale_management: change domain to reconciled instead of the move completely pai
This commit is contained in:
parent
403fa67da9
commit
4465c566b8
|
|
@ -170,7 +170,7 @@ class ProductTemplate_Inherit(models.Model):
|
|||
|
||||
line_ids = self.env['account.move.line'].search([
|
||||
('product_id.product_tmpl_id', 'in', products.ids),
|
||||
('move_id.payment_state', '=', 'paid'),
|
||||
('reconciled', '=', True),
|
||||
('move_id.move_type', '=', 'out_invoice')
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue