mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[MRG] fix wrong inheritance
This commit is contained in:
@@ -22,7 +22,7 @@ from openerp.tools.translate import _
|
||||
from openerp.osv import osv, orm
|
||||
|
||||
|
||||
class account_invoice(orm.TransientModel):
|
||||
class account_invoice(orm.Model):
|
||||
_inherit = "account.invoice"
|
||||
|
||||
def action_cancel(self, cr, uid, ids, *args):
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
from openerp.tools.translate import _
|
||||
from openerp.osv import osv, orm
|
||||
|
||||
class account_invoice(orm.TransientModel):
|
||||
class account_invoice(orm.Model):
|
||||
_inherit = "account.invoice"
|
||||
|
||||
def action_cancel(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user