Amit Parik (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1025538-amp into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1025538 in OpenERP Addons: "crash trying to close POS"
https://bugs.launchpad.net/openobject-addons/+bug/1025538
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1025538-amp/+merge/115280
Hello,
Currently "check_dtls: field name renamed with "closing_control", that's why
"Field 'check_dtls' does not exist in object 'browse_record(account.journal,
6)'" error is faced.
When close the pos(cash register).
This branch will fix this issue.
Thank you!
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1025538-amp/+merge/115280
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1025538-amp.
=== modified file 'point_of_sale/wizard/pos_close_statement.py'
--- point_of_sale/wizard/pos_close_statement.py 2012-02-10 14:02:42 +0000
+++ point_of_sale/wizard/pos_close_statement.py 2012-07-17 06:59:21 +0000
@@ -52,7 +52,7 @@
statement_obj.write(cr, uid, [statement.id], {
'balance_end_real': statement.balance_end
}, context=context)
- if not statement.journal_id.check_dtls:
+ if not statement.journal_id.closing_control:
statement_obj.button_confirm_cash(cr, uid, [statement.id], context=context)
tree_res = mod_obj.get_object_reference(cr, uid, 'point_of_sale', 'view_cash_statement_pos_tree')
_______________________________________________
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