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

closes #134

X-original-commit: 5485e86
Signed-off-by: Ignacio Cainelli <ica@adhoc.com.ar>
  • Loading branch information
rov-adhoc committed Dec 4, 2023
1 parent e5642d1 commit 1c2a390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions payment_multic_ux/models/account_payment.py
@@ -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 1c2a390

Please sign in to comment.