-
Notifications
You must be signed in to change notification settings - Fork 2.6k
18.0-training-nosir #973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nsirjacobs
wants to merge
1
commit into
odoo:18.0
Choose a base branch
from
odoo-dev:18.0-training-nosir
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
18.0-training-nosir #973
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import controllers | ||
from . import models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
{ | ||
'name': "Awesome Dashboard", | ||
|
||
'summary': """ | ||
"name": "Awesome Dashboard", | ||
"summary": """ | ||
Starting module for "Discover the JS framework, chapter 2: Build a dashboard" | ||
""", | ||
|
||
'description': """ | ||
"description": """ | ||
Starting module for "Discover the JS framework, chapter 2: Build a dashboard" | ||
""", | ||
|
||
'author': "Odoo", | ||
'website': "https://www.odoo.com/", | ||
'category': 'Tutorials/AwesomeDashboard', | ||
'version': '0.1', | ||
'application': True, | ||
'installable': True, | ||
'depends': ['base', 'web', 'mail', 'crm'], | ||
|
||
'data': [ | ||
'views/views.xml', | ||
"author": "Odoo", | ||
"website": "https://www.odoo.com/", | ||
"category": "Tutorials/AwesomeDashboard", | ||
"version": "0.1", | ||
"application": True, | ||
"installable": True, | ||
"depends": ["base", "web", "mail", "crm"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"views/views.xml", | ||
], | ||
'assets': { | ||
'web.assets_backend': [ | ||
'awesome_dashboard/static/src/**/*', | ||
"assets": { | ||
"web.assets_backend": [ | ||
"awesome_dashboard/static/src/**/*", | ||
("remove", "awesome_dashboard/static/src/dashboard/**/*"), | ||
], | ||
"awesome_dashboard.dashboard": ["awesome_dashboard/static/src/dashboard/**/*"], | ||
}, | ||
'license': 'AGPL-3' | ||
"license": "AGPL-3", | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * awesome_dashboard | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 18.0+e\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2025-09-26 14:52+0000\n" | ||
"PO-Revision-Date: 2025-09-26 16:54+0200\n" | ||
"Last-Translator: odoo <odoo@nosir-laptop>\n" | ||
"Language-Team: English\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Language: en_US\n" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average amount of t-shirt" | ||
msgstr "Average amount of t-shirt" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average amount of t-shirt by order this month" | ||
msgstr "Average amount of t-shirt by order this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average time for an order" | ||
msgstr "Average time for an order" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average time for an order to go from 'new' to 'sent' or 'cancelled'" | ||
msgstr "Average time for an order to go from 'new' to 'sent' or 'cancelled'" | ||
|
||
#. module: awesome_dashboard | ||
#: model:ir.ui.menu,name:awesome_dashboard.menu_root | ||
msgid "Awesome Dashboard" | ||
msgstr "Awesome Dashboard" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.xml:0 | ||
msgid "Cancel" | ||
msgstr "Cancel" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Cancelled orders this month" | ||
msgstr "Cancelled orders this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.xml:0 | ||
msgid "Confirm" | ||
msgstr "Confirm" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard.xml:0 | ||
msgid "Customers" | ||
msgstr "Customers" | ||
|
||
#. module: awesome_dashboard | ||
#: model:ir.actions.client,name:awesome_dashboard.dashboard | ||
#: model:ir.ui.menu,name:awesome_dashboard.dashboard_menu | ||
msgid "Dashboard" | ||
msgstr "Dashboard" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.js:0 | ||
msgid "Dashboard Configuration" | ||
msgstr "Dashboard Configuration" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard.xml:0 | ||
msgid "Leads" | ||
msgstr "Leads" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "New orders this month" | ||
msgstr "New orders this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Number of cancelled orders this month" | ||
msgstr "Number of cancelled orders this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Number of new orders this month" | ||
msgstr "Number of new orders this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Shirt orders by size" | ||
msgstr "Shirt orders by size" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Total amount of new orders this month" | ||
msgstr "Total amount of new orders this month" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "amount orders this month" | ||
msgstr "amount orders this month" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * awesome_dashboard | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 18.0+e\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2025-09-26 14:52+0000\n" | ||
"PO-Revision-Date: 2025-09-26 16:54+0200\n" | ||
"Last-Translator: odoo <odoo@nosir-laptop>\n" | ||
"Language-Team: French <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
"Language: fr\n" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average amount of t-shirt" | ||
msgstr "Nombre moyen de t-shirt" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average amount of t-shirt by order this month" | ||
msgstr "Nombre moyen de t-shirt par commande ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average time for an order" | ||
msgstr "Temps moyen pour une commande" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Average time for an order to go from 'new' to 'sent' or 'cancelled'" | ||
msgstr "Temps moyen pour qu'une commande passe de 'nouveau' à 'envoyée' ou 'annulée'" | ||
|
||
#. module: awesome_dashboard | ||
#: model:ir.ui.menu,name:awesome_dashboard.menu_root | ||
msgid "Awesome Dashboard" | ||
msgstr "Awesome Dashboard" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.xml:0 | ||
msgid "Cancel" | ||
msgstr "Annuler" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Cancelled orders this month" | ||
msgstr "Commandes annulées ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.xml:0 | ||
msgid "Confirm" | ||
msgstr "Confirmer" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard.xml:0 | ||
msgid "Customers" | ||
msgstr "Clients" | ||
|
||
#. module: awesome_dashboard | ||
#: model:ir.actions.client,name:awesome_dashboard.dashboard | ||
#: model:ir.ui.menu,name:awesome_dashboard.dashboard_menu | ||
msgid "Dashboard" | ||
msgstr "Dashboard" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_dialog/dashboard_dialog.js:0 | ||
msgid "Dashboard Configuration" | ||
msgstr "Configuration du Dashboard" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard.xml:0 | ||
msgid "Leads" | ||
msgstr "Pistes" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "New orders this month" | ||
msgstr "Nouvelles commandes ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Number of cancelled orders this month" | ||
msgstr "Nombre de commandes annulées ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Number of new orders this month" | ||
msgstr "Nombre de nouvelles commandes ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Shirt orders by size" | ||
msgstr "Commandes de T-Shirt par taille" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "Total amount of new orders this month" | ||
msgstr "Nombre total de nouvelles commandes ce mois" | ||
|
||
#. module: awesome_dashboard | ||
#. odoo-javascript | ||
#: code:addons/awesome_dashboard/static/src/dashboard/dashboard_items.js:0 | ||
msgid "amount orders this month" | ||
msgstr "Quantitées de commandes ce mois" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from . import ( | ||
res_users | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from odoo import models, fields | ||
|
||
class ResUsers(models.Model): | ||
_inherit = "res.users" | ||
|
||
dashboard_config = fields.Text("Dashboard Configuration") | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_res_users,res.users,model_res_users,base.group_user,1,1,1,1 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be careful with this I think you're formatter is turning every
'
into a"
. That shouldn't happen it should preserve the quotesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll look into it ty