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 #133

Signed-off-by: Ignacio Cainelli <ica@adhoc.com.ar>
  • Loading branch information
rov-adhoc committed Nov 29, 2023
1 parent 7808118 commit 5485e86
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 5485e86

Please sign in to comment.