forked from Yaltik/golem
quelques améliorations
This commit is contained in:
parent
01a34e0e3b
commit
94bdd6240a
@ -47,17 +47,6 @@ class GolemResevationReport(models.AbstractModel):
|
|||||||
'date_stop': reservation.date_stop
|
'date_stop': reservation.date_stop
|
||||||
}
|
}
|
||||||
lst.append(res)
|
lst.append(res)
|
||||||
|
|
||||||
#self.total_student = 0
|
|
||||||
"""for student in student_search:
|
|
||||||
self.total_student += 1
|
|
||||||
res = {
|
|
||||||
'name': student.name,
|
|
||||||
'middle_name': student.middle_name,
|
|
||||||
'last_name': student.last_name,
|
|
||||||
'application_no': student.application_number,
|
|
||||||
}
|
|
||||||
lst.append(res)"""
|
|
||||||
return lst
|
return lst
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
|
@ -26,8 +26,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<form string="Resource Report">
|
<form string="Resource Report">
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="resource_ids" >
|
<field name="resource_ids" options="{'no_create' : True}">
|
||||||
<tree options="{'no_create' : True}">
|
<tree >
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user