Skip to content

Commit

Permalink
[FIX] payment_multic_ux: add decorator to create..
Browse files Browse the repository at this point in the history
.. method

X-original-commit: 5485e86
  • Loading branch information
rov-adhoc committed Nov 29, 2023
1 parent e5642d1 commit 75fcd03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions payment_multic_ux/models/account_payment.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from odoo import models

from odoo import models, api

class AccountPayment(models.Model):
_inherit = 'account.payment'


@api.model_create_multi
def create(self, val_list):
force_company = self.env.context.get('force_company_id')
if force_company:
Expand Down

0 comments on commit 75fcd03

Please sign in to comment.