mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX]account_mass_reconcile_by_sale_line: allow reconcile for kits sale
This commit is contained in:
committed by
Don Kendall
parent
b7db0dc8ca
commit
6059a61934
@@ -20,12 +20,8 @@ class MassReconcileAdvancedBySaleLine(models.TransientModel):
|
||||
|
||||
@staticmethod
|
||||
def _matchers(move_line):
|
||||
return (
|
||||
("product_id", move_line["product_id"]),
|
||||
("sale_line_id", move_line["sale_line_id"]),
|
||||
)
|
||||
return (("sale_line_id", move_line["sale_line_id"]),)
|
||||
|
||||
@staticmethod
|
||||
def _opposite_matchers(move_line):
|
||||
yield ("product_id", move_line["product_id"])
|
||||
yield ("sale_line_id", move_line["sale_line_id"])
|
||||
|
||||
Reference in New Issue
Block a user