Merge lp://qastaging/~camptocamp/project-service/7.0-port-project_service_type into lp://qastaging/~project-core-editors/project-service/trunk

Proposed by Yannick Vaucher @ Camptocamp
Status: Work in progress
Proposed branch: lp://qastaging/~camptocamp/project-service/7.0-port-project_service_type
Merge into: lp://qastaging/~project-core-editors/project-service/trunk
Diff against target: 512 lines (+291/-153)
7 files modified
project_service_type/__init__.py (+18/-24)
project_service_type/__openerp__.py (+32/-40)
project_service_type/i18n/en.po (+79/-0)
project_service_type/i18n/fr.po (+79/-0)
project_service_type/project.py (+36/-47)
project_service_type/project_view.xml (+44/-42)
project_service_type/security/ir.model.access.csv (+3/-0)
To merge this branch: bzr merge lp://qastaging/~camptocamp/project-service/7.0-port-project_service_type
Reviewer Review Type Date Requested Status
Maxime Chambreuil (http://www.savoirfairelinux.com) Abstain
Guewen Baconnier @ Camptocamp Needs Fixing
Daniel Reis Needs Information
Review via email: mp+162135@code.qastaging.launchpad.net
To post a comment you must log in.
Revision history for this message
Daniel Reis (dreis-pt) wrote :

To fix:
- "WARNING: The model project.service_type has no access rules, consider adding one."

Other comments:
- Project "Type": would it be adequate to call it "Budget type"? Personally I'm not familiar with "Forfait" and "Regie" terms. Probably I know them as "Fixed price" and "Responsibility / Closed price". It would be nice to add a little explanation on these on the field's Help text.

review: Needs Fixing
Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

Ok for the comment. Do you agree with this king of comment ?

Fixed price -> 'when project price is an upfront agreed price'

Responsibility / Closed price -> 'when invoicing is based on actual worked time (only an hourly/daily price has been agreed).

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

I updated the terms and made help text:

Forfait (FR) -> Fixed price
Plafond (FR) -> Responsibility / Closed price
Régie (FR) -> Force account

Maybe not the best terms?

Revision history for this message
Daniel Reis (dreis-pt) wrote :

Sorry for not commenting earlier.

I've just learned that v7 official modules have some support for different type of service projects: take a look at https://doc.openerp.com/book/4/4_12_Services/4_12_Services_contract

If you install "Contract Management", you get new fields for the invoicing methods to use:
- `fix_price_invoices` flag, if there is fixed invoicing
- `invoice_on timesheets` flag, if there is invoicing based on actual work

Could this make the new `project_type` unnecessary?

review: Needs Information
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

> I updated the terms and made help text:
>
> Forfait (FR) -> Fixed price
> Plafond (FR) -> Responsibility / Closed price
> Régie (FR) -> Force account
>
> Maybe not the best terms?

Renaming the string of a selection is a thing. The 'stored' part of the selection should be renamed as well.

> If you install "Contract Management", you get new fields for the invoicing methods to use:
> - `fix_price_invoices` flag, if there is fixed invoicing
> - `invoice_on timesheets` flag, if there is invoicing based on actual work
>
> Could this make the new `project_type` unnecessary?

Good catch, this is something to consider.

review: Needs Fixing
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

Based on Daniel's comment, I would disapprove this MP as the need is already answered.

But I guess this module is a dependency of others and their migration requires an effort I don't know, which is why I will abstain.

review: Abstain
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

That's a module we use at least for our own OpenERP.

My guess is that project_type exists for historical reasons, and we might consider to remove it if it can be replaced by native fields. I don't know exactly what it is used for and the implications if we change that.

Yannick, can you check, according to the Daniel's comment, if the 'project_type' is really a requirement for us and if it can be replaced by 'fix_price_invoices' and 'invoice_on timesheets'.

Thanks!

Unmerged revisions

32. By Yannick Vaucher @ Camptocamp

[ADD] project_service_type - translations + reformat help message for field project_type

31. By Yannick Vaucher @ Camptocamp

[IMP] project_service_type - change class name to camelcase

30. By Yannick Vaucher @ Camptocamp

[FIX] project_service_type - remove extra coma

29. By Yannick Vaucher @ Camptocamp

[ADD] project_service_type - security

28. By Yannick Vaucher @ Camptocamp

[IMP] project_service_type - translate budget types

27. By Yannick Vaucher @ Camptocamp

[IMP] project_service_type - retab xml file

26. By Yannick Vaucher @ Camptocamp

[IMP] project_service_type - update license to AGPL

25. By Yannick Vaucher @ Camptocamp

[IMP] project_service_type - use orm.Model instead of alias osv.osv

24. By Yannick Vaucher @ Camptocamp

[MIG] portage of project_service_type by OpenERP

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches