-
Notifications
You must be signed in to change notification settings - Fork 42
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
[REL] Migration project_stage to 11.0 #62
Conversation
nicomacr
commented
Jun 14, 2018
- [FIX] Readme
- [FIX] change the name of the xml views files
- [FIX] some minor code fixes
* [FIX] Readme * [FIX] change the name of the xml views files * [FIX] some minor code fixes * [FIX] separe project.py into diferent files
878a33c
to
8b8ac4b
Compare
Codecov Report
@@ Coverage Diff @@
## 11.0 #62 +/- ##
=====================================
Coverage ? 100%
=====================================
Files ? 2
Lines ? 16
Branches ? 0
=====================================
Hits ? 16
Misses ? 0
Partials ? 0
Continue to review full report at Codecov.
|
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.
Hi @nicomacr
Here is the technical review.
Best Regards
@@ -0,0 +1,45 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<odoo> | |||
<record id="project_form" model="ir.ui.view"> |
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.
- id project_stage_form
- name project.stage.form
project_stage/README.rst
Outdated
:alt: License: AGPL-3 | ||
|
||
============= | ||
Project Stage | ||
============= | ||
|
||
Create module project stage and add it on project header form and project search. | ||
This module create class project stage and add it on project header form and project search. |
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.
- use model instead of class
- Capitalize the name of the new model
- This is more a technical description than a functional one. This one should be change to something like:
This module create a new model Project Stage that let us to manage project lifecycle more
than just active/inactive status. This new stages works like Tasks Stage original model from
Odoo were we can add sequences, fold stages, kanban status, etc
project_stage/README.rst
Outdated
:alt: License: AGPL-3 | ||
|
||
============= | ||
Project Stage | ||
============= | ||
|
||
Create module project stage and add it on project header form and project search. | ||
This module create class project stage and add it on project header form and project search. | ||
|
||
Installation | ||
============ | ||
|
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.
<field name="stage_id" string="Stage"/> | ||
</field> | ||
<group expand="0"> | ||
<filter string="Stage" name="stage_id" help="Stage" context="{'group_by':'stage_id'}"/> |
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.
name="stage_id"
filter name group_by_stage or group_by_stage_id
<field name="name">project.stage.form</field> | ||
<field name="model">project.stage</field> | ||
<field name="arch" type="xml"> | ||
<form string="Task Stage"> |
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.
<form string="Task Stage">
Project Stage
</field> | ||
</record> | ||
<record id="action_project_stage" model="ir.actions.act_window"> | ||
<field name="name">Stages</field> |
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.
<field name="name">Stages</field>
I think that should be Project Stages in order to do not confuse the menu with the Task Stages.
* [FIX] Update Readme * [FIX] some minor views fixes
* [REL] Migration project_stage to 11.0 * [FIX] Readme * [FIX] change the name of the xml views files * [FIX] some minor code fixes * [FIX] separe project.py into diferent files * [FIX] some fixes * [FIX] Update Readme * [FIX] some minor views fixes
* [REL] Migration project_stage to 11.0 * [FIX] Readme * [FIX] change the name of the xml views files * [FIX] some minor code fixes * [FIX] separe project.py into diferent files * [FIX] some fixes * [FIX] Update Readme * [FIX] some minor views fixes
* [REL] Migration project_stage to 11.0 * [FIX] Readme * [FIX] change the name of the xml views files * [FIX] some minor code fixes * [FIX] separe project.py into diferent files * [FIX] some fixes * [FIX] Update Readme * [FIX] some minor views fixes