quelques améliorations

This commit is contained in:
eloyoussef 2018-04-12 18:58:19 +02:00
parent 01a34e0e3b
commit 94bdd6240a
2 changed files with 2 additions and 13 deletions

View File

@ -47,17 +47,6 @@ class GolemResevationReport(models.AbstractModel):
'date_stop': reservation.date_stop
}
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
@api.model

View File

@ -26,8 +26,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<form string="Resource Report">
<group>
<group>
<field name="resource_ids" >
<tree options="{'no_create' : True}">
<field name="resource_ids" options="{'no_create' : True}">
<tree >
<field name="name"/>
</tree>
</field>