Skip to content
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

Merged
merged 2 commits into from
Jun 19, 2018

Conversation

nicomacr
Copy link
Contributor

  • [FIX] Readme
  • [FIX] change the name of the xml views files
  • [FIX] some minor code fixes

@nicomacr nicomacr requested a review from zaoral June 14, 2018 19:29
* [FIX] Readme
* [FIX] change the name of the xml views files
* [FIX] some minor code fixes
* [FIX] separe project.py into diferent files
@coveralls
Copy link

coveralls commented Jun 15, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling a65fe93 on adhoc-dev:11.0-t-9870-nmr into 9593aee on ingadhoc:11.0.

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (11.0@9593aee). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##             11.0    #62   +/-   ##
=====================================
  Coverage        ?   100%           
=====================================
  Files           ?      2           
  Lines           ?     16           
  Branches        ?      0           
=====================================
  Hits            ?     16           
  Misses          ?      0           
  Partials        ?      0
Impacted Files Coverage Δ
project_stage/models/project_project.py 100% <100%> (ø)
project_stage/models/project_stage.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9593aee...8b8ac4b. Read the comment docs.

Copy link
Contributor

@zaoral zaoral left a 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">
Copy link
Contributor

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

: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.
Copy link
Contributor

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

: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
============

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sections are empty, will be good if they have content as it is in the README guideline template.
Would be good if could look like the next one:

image

<field name="stage_id" string="Stage"/>
</field>
<group expand="0">
<filter string="Stage" name="stage_id" help="Stage" context="{'group_by':'stage_id'}"/>
Copy link
Contributor

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">
Copy link
Contributor

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>
Copy link
Contributor

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
@jjscarafia jjscarafia merged commit 1c21c3d into ingadhoc:11.0 Jun 19, 2018
@jjscarafia jjscarafia deleted the 11.0-t-9870-nmr branch June 19, 2018 09:41
mlaitinen pushed a commit to avoinsystems/project that referenced this pull request Oct 2, 2018
* [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
mlaitinen pushed a commit to avoinsystems/project that referenced this pull request Nov 7, 2018
* [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
Menestrels pushed a commit to avoinsystems/project that referenced this pull request Feb 26, 2020
* [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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants