Skip to content

Commit

Permalink
[IMP] stock_product_brand_info: Improve expected product.product sing…
Browse files Browse the repository at this point in the history
…leton error
  • Loading branch information
unaiberis committed Jan 24, 2025
1 parent 65e5c6d commit b4d9f14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stock_product_brand_info/models/stock_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from odoo import api, fields, models


class StockMoveLine(models.Model):
_inherit = "stock.move.line"

Expand Down Expand Up @@ -57,7 +56,7 @@ def _get_aggregated_product_quantities(self, **kwargs):
return result
for clave in result.keys():
for move_line in self:
line_key = self._generate_keys_to_found()
line_key = move_line._generate_keys_to_found()
if line_key in clave:
result[clave]["fabricator"] = (
""
Expand Down

0 comments on commit b4d9f14

Please sign in to comment.