conv_bal
watcha.h@almacom.co.th 2015-06-30 17:12:53 +07:00
parent bb73fd9245
commit 4510c8534d
4 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<field name="date"/>
<field name="cycle_id"/>
<field name="staff_id"/>
<field name="level_id"/>
<field name="type" readonly="1"/>
<field name="branch_id"/>
<field name="department_id"/>

View File

@ -3,6 +3,7 @@
<field name="cycle_id"/>
<field name="department_id"/>
<field name="staff_id"/>
<field name="level_id"/>
<field name="type"/>
<field name="amount"/>
<field name="pay_amount"/>

View File

@ -1231,7 +1231,7 @@ class HDCase(Model):
for payment in obj.payments:
context['payment_id']=payment.id
data=self.get_report_payment_data(context=context)
limit_item=13
limit_item=10
if data['state']=='draft':
limit_item=10
for i in range(len(data['lines']),limit_item):