Rifakat (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-576406-rha into
lp:openobject-addons/6.1.
Requested reviews:
Priyesh (OpenERP) (pso-openerp)
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576406-rha/+merge/112976
Hello,
It is not possible to cancel a bank statement where there is no voucher
associated
on statement line. (created manual entries)
It is possible to cancel bank statement where voucher is associated in the
statement line.
Posted account move can not be directly deleted but move in draft state.
Note that account_cancel is already been installed and journal is enable 'Allow
Cancelling Entries'.
Thanks for your review,
Rifakat Haradwala
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576406-rha/+merge/112976
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-576406-rha.
=== modified file 'account/account_bank_statement.py'
--- account/account_bank_statement.py 2012-03-22 11:39:59 +0000
+++ account/account_bank_statement.py 2012-07-02 06:21:02 +0000
@@ -376,6 +376,7 @@
ids = []
for line in st.line_ids:
ids += [x.id for x in line.move_ids]
+ account_move_obj.button_cancel(cr, uid, ids, context=context)
account_move_obj.unlink(cr, uid, ids, context)
done.append(st.id)
return self.write(cr, uid, done, {'state':'draft'}, context=context)
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp