-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
9.0 mgmtsystem severity #157
Conversation
|
||
* Clone the project from github on your instance | ||
* git clone https://github.com/OCA/management-system.git | ||
* Start odoo with the project in the addons path |
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.
- No need for installation instructions.
To use this module, you need to: | ||
|
||
* go to Management System > Configuration > Severity | ||
|
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.
- Please add the
Try me on Runbot
link
Contributors | ||
------------ | ||
|
||
* Loïc Faure-Lacroix <loic.lacroix@savoirfairelinux.com> |
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.
- Add yourself and me.
"website": "http://www.savoirfairelinux.com", | ||
"license": "AGPL-3", | ||
"category": "Management System", | ||
"complexity": "normal", |
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.
deprecated - remove
@@ -0,0 +1,27 @@ | |||
# -*- coding: utf-8 -*- |
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.
Missing copyright notice (please use short headers)
|
||
|
||
class MgmtSystemSeverity(models.Model): | ||
|
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.
Remove empty line
|
||
value = fields.Integer("Value", required=True) | ||
|
||
category = fields.Selection(( |
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.
Selection values usually is a List of tuples, rather than a Tuple of tuples.
|
||
checks = [ | ||
test_create_severity | ||
] |
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.
AFAIK the checks
variable is not needed (?)
"website": "http://www.savoirfairelinux.com", | ||
"license": "AGPL-3", | ||
"category": "Management System", | ||
"complexity": "normal", |
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.
@naousse Keep the website, license and category.
No description provided.