[IMP] Add filters to super_calendar
parent
ef3813e5f5
commit
3f6ea42c1a
|
@ -6,16 +6,16 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 8.0\n"
|
"Project-Id-Version: Odoo Server 8.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2015-06-19 15:56+0000\n"
|
"POT-Creation-Date: 2015-07-29 20:39+0000\n"
|
||||||
"PO-Revision-Date: 2015-06-19 12:06-0500\n"
|
"PO-Revision-Date: 2015-07-29 16:43-0500\n"
|
||||||
"Last-Translator: Agathe Mollé <agathe.molle@savoirfairelinux.com>\n"
|
"Last-Translator: Agathe Mollé <agathe.molle@savoirfairelinux.com>\n"
|
||||||
"Language-Team: Savoir-faire Linux <support@savoirfairelinux.com>\n"
|
"Language-Team: Savoir-faire Linux <support@savoirfairelinux.com>\n"
|
||||||
|
"Language: fr\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: Poedit 1.5.4\n"
|
"X-Generator: Poedit 1.5.4\n"
|
||||||
"Language: fr\n"
|
|
||||||
"X-Poedit-SourceCharset: UTF-8\n"
|
"X-Poedit-SourceCharset: UTF-8\n"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
|
@ -69,10 +69,24 @@ msgstr "Créé par"
|
||||||
msgid "Created on"
|
msgid "Created on"
|
||||||
msgstr "Créé le"
|
msgstr "Créé le"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Current month"
|
||||||
|
msgstr "Mois courant"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Current week"
|
||||||
|
msgstr "Semaine courante"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Day"
|
||||||
|
msgstr "Jour"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,name:0
|
#: field:super.calendar,name:0
|
||||||
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
||||||
#: field:super.calendar.configurator.line,description:0
|
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr "Description"
|
msgstr "Description"
|
||||||
|
|
||||||
|
@ -87,6 +101,26 @@ msgstr "Type de Description"
|
||||||
msgid "Description field"
|
msgid "Description field"
|
||||||
msgstr "Champ Description"
|
msgstr "Champ Description"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the current month."
|
||||||
|
msgstr "Afficher tous les éléments du mois courant."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the current week."
|
||||||
|
msgstr "Afficher tous les éléments de la semaine courante."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the next month."
|
||||||
|
msgstr "Afficher tous les éléments du mois prochain."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the next week."
|
||||||
|
msgstr "Afficher tous les éléments de la semaine prochaine."
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar.configurator.line,domain:0
|
#: field:super.calendar.configurator.line,domain:0
|
||||||
msgid "Domain"
|
msgid "Domain"
|
||||||
|
@ -107,12 +141,6 @@ msgstr "Champ Durée"
|
||||||
msgid "End date field"
|
msgid "End date field"
|
||||||
msgstr "Champ Date de fin"
|
msgstr "Champ Date de fin"
|
||||||
|
|
||||||
#. module: super_calendar
|
|
||||||
#: code:addons/super_calendar/models/super_calendar.py:100
|
|
||||||
#, python-format
|
|
||||||
msgid "Error"
|
|
||||||
msgstr "Erreur"
|
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: view:super.calendar:super_calendar.super_calendar_search
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
msgid "Extended Filters..."
|
msgid "Extended Filters..."
|
||||||
|
@ -128,6 +156,36 @@ msgstr "Champ"
|
||||||
msgid "Generate Calendar"
|
msgid "Generate Calendar"
|
||||||
msgstr "Générer le calendrier"
|
msgstr "Générer le calendrier"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group By"
|
||||||
|
msgstr "Grouper par"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same day."
|
||||||
|
msgstr "Regrouper les éléments par jour."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same month."
|
||||||
|
msgstr "Regrouper les éléments par mois."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same quarter."
|
||||||
|
msgstr "Regrouper les éléments par trimestre."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same week."
|
||||||
|
msgstr "Regrouper les éléments par semaine."
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same year."
|
||||||
|
msgstr "Regrouper les éléments par année."
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,id:0 field:super.calendar.configurator,id:0
|
#: field:super.calendar,id:0 field:super.calendar.configurator,id:0
|
||||||
#: field:super.calendar.configurator.line,id:0
|
#: field:super.calendar.configurator.line,id:0
|
||||||
|
@ -166,9 +224,9 @@ msgid "Model"
|
||||||
msgstr "Modèle"
|
msgstr "Modèle"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,model_description:0
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
msgid "Model Description"
|
msgid "Month"
|
||||||
msgstr "Description du modèle"
|
msgstr "Mois"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: view:super.calendar:super_calendar.super_calendar_search
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
@ -180,6 +238,26 @@ msgstr "Mes éléments"
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Next month"
|
||||||
|
msgstr "Mois prochain"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Next week"
|
||||||
|
msgstr "Semaine prochaine"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Period"
|
||||||
|
msgstr "Période"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Quarter"
|
||||||
|
msgstr "Trimestre"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,res_id:0
|
#: field:super.calendar,res_id:0
|
||||||
msgid "Resource"
|
msgid "Resource"
|
||||||
|
@ -207,16 +285,24 @@ msgid "Super Calendar"
|
||||||
msgstr "Super Calendrier"
|
msgstr "Super Calendrier"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: code:addons/super_calendar/models/super_calendar.py:101
|
#: code:addons/super_calendar/models/super_calendar_configurator.py:112
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The 'User' field of record %s (%s) does not refer to res.users"
|
msgid "The 'User' field of record %s (%s) does not refer to res.users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Le champ 'Utilisateur' de l'enregistrement %s (%s) ne réfère pas à res.users"
|
"Le champ 'Utilisateur' de l'enregistrement %s (%s) ne réfère pas à res.users"
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
|
||||||
#: help:super.calendar.configurator.line,description_code:0
|
#: help:super.calendar.configurator.line,description_code:0
|
||||||
msgid ""
|
msgid ""
|
||||||
|
"Use '${o}' to refer to the involved object.\n"
|
||||||
|
"E.g.: '${o.project_id.name}'"
|
||||||
|
msgstr ""
|
||||||
|
"Utilisez '${o}' pour référer à l'objet concerné. \n"
|
||||||
|
"Par exemple : '${o.project_id.name}'"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
||||||
|
msgid ""
|
||||||
"Use '${o}' to refer to the involved object. E.g.: '${o.project_id.name}'"
|
"Use '${o}' to refer to the involved object. E.g.: '${o.project_id.name}'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Utilisez '${o}' pour référer à l'objet concerné. Par exemple : '${o."
|
"Utilisez '${o}' pour référer à l'objet concerné. Par exemple : '${o."
|
||||||
|
@ -231,3 +317,19 @@ msgstr "Utilisateur"
|
||||||
#: field:super.calendar.configurator.line,user_field_id:0
|
#: field:super.calendar.configurator.line,user_field_id:0
|
||||||
msgid "User field"
|
msgid "User field"
|
||||||
msgstr "Champ Utilisateur"
|
msgstr "Champ Utilisateur"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Week"
|
||||||
|
msgstr "Semaine"
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Year"
|
||||||
|
msgstr "Année"
|
||||||
|
|
||||||
|
#~ msgid "Error"
|
||||||
|
#~ msgstr "Erreur"
|
||||||
|
|
||||||
|
#~ msgid "Model Description"
|
||||||
|
#~ msgstr "Description du modèle"
|
||||||
|
|
|
@ -6,9 +6,9 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 8.0\n"
|
"Project-Id-Version: Odoo Server 8.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2015-06-19 15:56+0000\n"
|
|
||||||
"PO-Revision-Date: 2015-06-19 15:56+0000\n"
|
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
|
"POT-Creation-Date: 2015-07-29 20:39+0000\n"
|
||||||
|
"PO-Revision-Date: 2015-07-29 16:40-0500\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
@ -66,10 +66,24 @@ msgstr ""
|
||||||
msgid "Created on"
|
msgid "Created on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Current month"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Current week"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Day"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,name:0
|
#: field:super.calendar,name:0
|
||||||
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
||||||
#: field:super.calendar.configurator.line,description:0
|
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -84,6 +98,26 @@ msgstr ""
|
||||||
msgid "Description field"
|
msgid "Description field"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the current month."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the current week."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the next month."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Display all elements in the next week."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar.configurator.line,domain:0
|
#: field:super.calendar.configurator.line,domain:0
|
||||||
msgid "Domain"
|
msgid "Domain"
|
||||||
|
@ -104,12 +138,6 @@ msgstr ""
|
||||||
msgid "End date field"
|
msgid "End date field"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
|
||||||
#: code:addons/super_calendar/models/super_calendar.py:100
|
|
||||||
#, python-format
|
|
||||||
msgid "Error"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: view:super.calendar:super_calendar.super_calendar_search
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
msgid "Extended Filters..."
|
msgid "Extended Filters..."
|
||||||
|
@ -126,8 +154,37 @@ msgid "Generate Calendar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,id:0
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
#: field:super.calendar.configurator,id:0
|
msgid "Group By"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same day."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same month."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same quarter."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same week."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Group all elements in the same year."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: field:super.calendar,id:0 field:super.calendar.configurator,id:0
|
||||||
#: field:super.calendar.configurator.line,id:0
|
#: field:super.calendar.configurator.line,id:0
|
||||||
msgid "ID"
|
msgid "ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -164,8 +221,8 @@ msgid "Model"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,model_description:0
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
msgid "Model Description"
|
msgid "Month"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
|
@ -178,6 +235,26 @@ msgstr ""
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Next month"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Next week"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Period"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Quarter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: field:super.calendar,res_id:0
|
#: field:super.calendar,res_id:0
|
||||||
msgid "Resource"
|
msgid "Resource"
|
||||||
|
@ -205,15 +282,22 @@ msgid "Super Calendar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: code:addons/super_calendar/models/super_calendar.py:101
|
#: code:addons/super_calendar/models/super_calendar_configurator.py:112
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The 'User' field of record %s (%s) does not refer to res.users"
|
msgid "The 'User' field of record %s (%s) does not refer to res.users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
|
||||||
#: help:super.calendar.configurator.line,description_code:0
|
#: help:super.calendar.configurator.line,description_code:0
|
||||||
msgid "Use '${o}' to refer to the involved object. E.g.: '${o.project_id.name}'"
|
msgid ""
|
||||||
|
"Use '${o}' to refer to the involved object.\n"
|
||||||
|
"E.g.: '${o.project_id.name}'"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar.configurator:super_calendar.super_calendar_configurator_form
|
||||||
|
msgid ""
|
||||||
|
"Use '${o}' to refer to the involved object. E.g.: '${o.project_id.name}'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: super_calendar
|
#. module: super_calendar
|
||||||
|
@ -225,3 +309,13 @@ msgstr ""
|
||||||
#: field:super.calendar.configurator.line,user_field_id:0
|
#: field:super.calendar.configurator.line,user_field_id:0
|
||||||
msgid "User field"
|
msgid "User field"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Week"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: super_calendar
|
||||||
|
#: view:super.calendar:super_calendar.super_calendar_search
|
||||||
|
msgid "Year"
|
||||||
|
msgstr ""
|
||||||
|
|
|
@ -134,6 +134,51 @@
|
||||||
<field name="date_start" />
|
<field name="date_start" />
|
||||||
<field name="duration" />
|
<field name="duration" />
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
<group expand="0" string="Period">
|
||||||
|
<filter string="Current week"
|
||||||
|
name="current_week"
|
||||||
|
domain="[('date_start','<=', (context_today() + relativedelta(weeks=0, weekday=6)).strftime('%%Y-%%m-%%d')),
|
||||||
|
('date_start','>',(context_today() - relativedelta(weeks=1, weekday=6)).strftime('%%Y-%%m-%%d'))]"
|
||||||
|
help="Display all elements in the current week." />
|
||||||
|
<filter string="Current month"
|
||||||
|
name="current_month"
|
||||||
|
domain="[('date_start','<',(context_today()+relativedelta(months=1)).strftime('%%Y-%%m-01')),
|
||||||
|
('date_start','>=',time.strftime('%%Y-%%m-01'))]"
|
||||||
|
help="Display all elements in the current month." />
|
||||||
|
<filter string="Next week"
|
||||||
|
name="next_week"
|
||||||
|
domain="[('date_start','>',(context_today()+relativedelta(weeks=0, weekday=6)).strftime('%%Y-%%m-%%d')),
|
||||||
|
('date_start','<=',(context_today()+relativedelta(weeks=1, weekday=6)).strftime('%%Y-%%m-%%d'))]"
|
||||||
|
help="Display all elements in the next week." />
|
||||||
|
<filter string="Next month"
|
||||||
|
name="next_month"
|
||||||
|
domain="[('date_start','>=',(context_today()+relativedelta(months=1)).strftime('%%Y-%%m-01')),
|
||||||
|
('date_start','<',(context_today()+relativedelta(months=2)).strftime('%%Y-%%m-01'))]"
|
||||||
|
help="Display all elements in the next month." />
|
||||||
|
</group>
|
||||||
|
<group expand="1" string="Group By">
|
||||||
|
<filter string="Day"
|
||||||
|
name="group_day"
|
||||||
|
context="{'group_by':'date_start:day'}"
|
||||||
|
help="Group all elements in the same day."/>
|
||||||
|
<filter string="Week"
|
||||||
|
name="group_week"
|
||||||
|
context="{'group_by':'date_start:week'}"
|
||||||
|
help="Group all elements in the same week."/>
|
||||||
|
<filter string="Month"
|
||||||
|
name="group_month"
|
||||||
|
context="{'group_by':'date_start:month'}"
|
||||||
|
help="Group all elements in the same month."/>
|
||||||
|
<filter string="Quarter"
|
||||||
|
name="group_quarter"
|
||||||
|
context="{'group_by':'date_start:quarter'}"
|
||||||
|
help="Group all elements in the same quarter."/>
|
||||||
|
<filter string="Year"
|
||||||
|
name="group_year"
|
||||||
|
context="{'group_by':'date_start:year'}"
|
||||||
|
help="Group all elements in the same year."/>
|
||||||
|
</group>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue