Skip to content

Commit

Permalink
[FIX] sale_global_discount: wrong property name
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu authored and miguel-S73 committed Dec 21, 2023
1 parent 8ea922d commit e8dde40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sale_global_discount/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Sale Global Discount',
'version': '11.0.1.0.1',
'version': '11.0.1.0.2',
'category': 'Sales Management',
'author': 'Tecnativa,'
'Odoo Community Association (OCA)',
Expand Down
2 changes: 1 addition & 1 deletion sale_global_discount/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def onchange_partner_id(self):
if self.partner_id.customer_global_discount_ids:
self.global_discount_ids = (
self.partner_id.customer_global_discount_ids or
self.parnter_id.commercial_partner_id
self.partner_id.commercial_partner_id
.customer_global_discount_ids)
return res

Expand Down

0 comments on commit e8dde40

Please sign in to comment.