From cec41edc7fbd9744ede84de0af897fc3c2c99726 Mon Sep 17 00:00:00 2001 From: michel Date: Tue, 13 Feb 2018 18:13:43 +0100 Subject: [PATCH] [TMP]Qweb report work in proges --- golem_member/report/golem_member_report.py | 33 +++++++++++++++++++ golem_member/report/golem_member_report.xml | 35 +++++++++++++++++---- 2 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 golem_member/report/golem_member_report.py diff --git a/golem_member/report/golem_member_report.py b/golem_member/report/golem_member_report.py new file mode 100644 index 0000000..91bf2af --- /dev/null +++ b/golem_member/report/golem_member_report.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2016 Fabien Bourgeois +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + +from odoo import models, fields +class GolemMember(models.Model): + _name = '.golem.member.report' + _description = 'Golem member Report' + _sql = """ + CREATE OR REPLACE VIEW todo_task_report AS + SELECT * + FROM todo_task + WHERE active = True + """ + name = fields.Char('Description') + is_done = fields.Boolean('Done?') + active = fields.Boolean('Active?') + user_id = fields.Many2one('res.users', 'Responsible') + date_deadline = fields.Date('Deadline') diff --git a/golem_member/report/golem_member_report.xml b/golem_member/report/golem_member_report.xml index 4b5595e..33f3017 100644 --- a/golem_member/report/golem_member_report.xml +++ b/golem_member/report/golem_member_report.xml @@ -49,19 +49,42 @@ along with this program. If not, see .
+
+
+
- - - + + -
TitleOwnerDeadlineMemberSeason
- +

+

+ +

+
+

+

+ +

+
+

- + + +

+

+

+

+

+

+