Merge lp:~camptocamp/account-financial-tools/fix_bug_1297369 into lp:~account-core-editors/account-financial-tools/7.0

Proposed by Vincent Renaville@camptocamp
Status: Merged
Approved by: Alexandre Fayolle - camptocamp
Approved revision: 170
Merged at revision: 182
Proposed branch: lp:~camptocamp/account-financial-tools/fix_bug_1297369
Merge into: lp:~account-core-editors/account-financial-tools/7.0
Diff against target: 25 lines (+2/-2)
2 files modified
account_cancel_invoice_check_payment_order/account_invoice.py (+1/-1)
account_cancel_invoice_check_voucher/account_invoice.py (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/account-financial-tools/fix_bug_1297369
Reviewer Review Type Date Requested Status
Leonardo Pistone code review Approve
Pedro Manuel Baeza code review Approve
Alexandre Fayolle - camptocamp code review, no test Approve
Review via email: mp+212648@code.launchpad.net

Description of the change

Fix TransiantModel to Model

To post a comment you must log in.
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

LGTM

review: Approve (code review, no test)
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

LGTM. What a dangerous mistake!

review: Approve (code review)
Revision history for this message
Leonardo Pistone (lepistone) wrote :

LGTM thanks.

review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_cancel_invoice_check_payment_order/account_invoice.py'
2--- account_cancel_invoice_check_payment_order/account_invoice.py 2013-01-28 09:26:24 +0000
3+++ account_cancel_invoice_check_payment_order/account_invoice.py 2014-03-25 15:47:30 +0000
4@@ -22,7 +22,7 @@
5 from openerp.osv import osv, orm
6
7
8-class account_invoice(orm.TransientModel):
9+class account_invoice(orm.Model):
10 _inherit = "account.invoice"
11
12 def action_cancel(self, cr, uid, ids, *args):
13
14=== modified file 'account_cancel_invoice_check_voucher/account_invoice.py'
15--- account_cancel_invoice_check_voucher/account_invoice.py 2013-02-11 10:00:17 +0000
16+++ account_cancel_invoice_check_voucher/account_invoice.py 2014-03-25 15:47:30 +0000
17@@ -24,7 +24,7 @@
18 from openerp.tools.translate import _
19 from openerp.osv import osv, orm
20
21-class account_invoice(orm.TransientModel):
22+class account_invoice(orm.Model):
23 _inherit = "account.invoice"
24
25 def action_cancel(self, cr, uid, ids, context=None):

Subscribers

People subscribed via source and target branches