xrg has proposed merging lp:~openerp-dev/openobject-addons/6.0-bug-741863-xrg
into lp:openobject-addons/6.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #741863 in OpenERP Addons: "[6.0] Cash and bank journals are unintendedly
created as refund journals"
https://bugs.launchpad.net/openobject-addons/+bug/741863
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-bug-741863-xrg/+merge/55484
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-bug-741863-xrg/+merge/55484
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-bug-741863-xrg.
=== modified file 'account/account.py'
--- account/account.py 2011-02-09 12:17:19 +0000
+++ account/account.py 2011-03-30 08:32:34 +0000
@@ -2943,6 +2943,7 @@
seq_id = obj_sequence.create(cr,uid,vals_seq)
#create the bank journal
+ vals_journal = {}
analitical_bank_ids = analytic_journal_obj.search(cr,uid,[('type','=','situation')])
analitical_journal_bank = analitical_bank_ids and analitical_bank_ids[0] or False
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp