disactive sort by on report cycle item
parent
9cf78c69d0
commit
99f27424c7
|
@ -6,7 +6,7 @@
|
|||
<field name="ptype_id" span="2"/>
|
||||
<field name="branch_id" onchange="onchange_type" span="2"/>
|
||||
<field name="department_id" domain='[["branch_id","=",branch_id]]' span="2"/>
|
||||
<field name="sort_by" span="2"/>
|
||||
<!--<field name="sort_by" span="2"/>-->
|
||||
<group span="6" columns="1">
|
||||
<template>
|
||||
<div>
|
||||
|
|
|
@ -278,7 +278,7 @@ class ReportCycleItem(Model):
|
|||
if no==count:
|
||||
epo_items=[{'name': k, 'qty': v} for k,v in epos.items() if k ]
|
||||
#sort item
|
||||
clines=sorted(clines,key=lambda cl: cl[sort_by])
|
||||
#clines=sorted(clines,key=lambda cl: cl[sort_by])
|
||||
no=1
|
||||
index=len(nlines)
|
||||
date_txt=''
|
||||
|
|
Loading…
Reference in New Issue