Merge lp:~openerp-dev/openobject-addons/7.0-opw-584266-ksa into lp:openobject-addons/7.0

Proposed by Kirti Savalia(OpenERP)
Status: Rejected
Rejected by: Martin Trigaux (OpenERP)
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-584266-ksa
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
account/account_cash_statement.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-584266-ksa
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+143828@code.launchpad.net

Description of the change

Hello,

Fixed the issue when try to delete the journal get integirty error.

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Rejected as changes already applied in v7

Unmerged revisions

8594. By Kirti Savalia(OpenERP)

[FIX]: when try to delete the journal get integirty error

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_cash_statement.py'
2--- account/account_cash_statement.py 2012-12-17 15:23:03 +0000
3+++ account/account_cash_statement.py 2013-01-18 06:11:24 +0000
4@@ -343,7 +343,7 @@
5 _rec_name = 'pieces'
6 _columns = {
7 'pieces': fields.float('Values', digits_compute=dp.get_precision('Account')),
8- 'journal_id' : fields.many2one('account.journal', 'Journal', required=True, select=1),
9+ 'journal_id' : fields.many2one('account.journal', 'Journal', required=True, ondelete='cascade', select=1),
10 }
11
12 _order = 'pieces asc'