-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
[FIX] Upgrade mgmtsystem_claim to v9.0 #141
Conversation
Jeroen7V
commented
Jun 23, 2016
- updated version number
- removed dependency to document_page
- according to changelog in mgmtsystem no longer needed
- copied the board view from v8.0
- removed (commented) sequence type
- no longer needed in odoo v9
- section_id became team_id in odoo v9
- email.template became mail.template in odoo v9
Hey @Jeroen7V, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
CLA fixed. |
@@ -42,7 +43,6 @@ addon | version | summary | |||
[mgmtsystem_action_audittrail](mgmtsystem_action_audittrail/) | 1.0 (unported) | Management System - Actions Audit Trail tracking | |||
[mgmtsystem_audit](mgmtsystem_audit/) | 8.0.1.2.0 (unported) | Management System - Audit | |||
[mgmtsystem_audit_audittrail](mgmtsystem_audit_audittrail/) | 1.0 (unported) | Management System - Audits Audit Trail tracking | |||
[mgmtsystem_claim](mgmtsystem_claim/) | 8.0.1.1.0 (unported) | Management System - Claim | |||
[mgmtsystem_claim_audittrail](mgmtsystem_claim_audittrail/) | 1.0 (unported) | Management System - Claims Audit Trail tracking |
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.
@Jeroen7V No need to touch this. It is updated automatically.
@Jeroen7V Try to have modifications to one module only per pull request. It is easier to review. |
vals.update({ | ||
'reference': self.env['ir.sequence'].get('mgmtsystem.claim') | ||
}) | ||
if vals: |
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.
I don't think this if
is needed.
Mr.Travis also has a few comments for you:
|
@Jeroen7V The form view displays the company field. Can you fix it (should be |
@dreispt The email notification on the claim creation is added to the chatter. Please confirm this is expected. |
@max3903 Yes, the |
@max3903 A more streamlined alternative is to use the Odoo "tracking" features, like in project Issues/Tasks. But we can leave that to another PR. |
@Jeroen7V let us know when the the work on out comments is done. |
@Jeroen7V The module fails to install with See https://travis-ci.org/OCA/management-system/jobs/144723455#L841 |
@Jeroen7V Few comments:
|
mgmtsystem_claim m | ||
group by m.user_id, m.stage_id, m.date, \ | ||
m.create_date,m.date_deadline, \ | ||
m.date_closed, m.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.
This group by operation is redundant, since it groups by id
.
IMO skip completely the report model, and instead just add a Pivot view to the mgmtsystem.claim
model.
ping @Jeroen7V |
I believe this is the last PR to finish the migration, correct? |
I see. PRs are missing, then. |
@max3903 I've reverted my changes and the attribute name is changed. What did you mean by "There is no button and only one step in the workflow."? |
@Jeroen7V There is 2 states in the workflow and no button to click to move from one state to the other. |
@max3903 Could this be a rights issue? When I check the box 'Common to All Teams' under configuration -> claims -> stages, I am able to choose that stage when creating/editing a claim. |
@Jeroen7V Claims belongs to a Sales Team (Direct Sales). You need to add this team to the stages (draft, pending, open, closed and cancel) so users can click on the statusbar. |
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.
- Allow claims to move in the workflow (add the stages to the sales team)
@max3903: |
@Jeroen7V Let me check and I will get back to you. Hopefully today or later this week. Thanks! |
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.
I don't see any issues with the code: LGTM