[REM] point of sale: removed references to check_dtls, unexistent field.

bzr revid: tde@openerp.com-20120809112334-i35nbq54zhkqo1dc
This commit is contained in:
Thibault Delavallée 2012-08-09 13:23:34 +02:00
parent e8cd2d48c5
commit 79e035a3a2
2 changed files with 0 additions and 3 deletions

View File

@ -12,7 +12,6 @@
<record id="account.cash_journal" model="account.journal">
<field eval="True" name="journal_user"/>
<field eval="1" name="check_dtls"/>
</record>
</data>

View File

@ -52,8 +52,6 @@ class pos_close_statement(osv.osv_memory):
statement_obj.write(cr, uid, [statement.id], {
'balance_end_real': statement.balance_end
}, context=context)
if not statement.journal_id.check_dtls:
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')
tree_id = tree_res and tree_res[1] or False