oca / project Goto Github PK
View Code? Open in Web Editor NEWOdoo Project Management and Services Company Addons
Home Page: https://odoo-community.org/psc-teams/project-service-28
License: GNU Affero General Public License v3.0
Odoo Project Management and Services Company Addons
Home Page: https://odoo-community.org/psc-teams/project-service-28
License: GNU Affero General Public License v3.0
@dreispt I'm interested to use this module. However I have the following concerns:
Would it make sense to add the following changes?
Regards,
Jordi.
We have Contracts (Analytic Account) that include Corrective and Preventive maintenance services.
I would like to be able to define generic Maintenance Plans, and on each Contract define what Maintenance Plan (many2one) to be used.
At this point the Maintenance Plan structure required is quite simple: just set a period between services. For example: every 6 months, or every 12 months.
Basic Maintenance Plans:
As an option, we could use Tasks to manage Preventive service:
Hi, are the modules already fully ported to v8 or is there still work to do? Do you need help with the migration effort? We might need them for a client of ours.
Thanks
As an IT Manager/Director, I need to oversee the status of my ongoing projects, in order to periodically report to stakeholders.
A key output is a grid with the active Projects, a very short status summary, and the progress over the X last reporting periods.
At this point, "progress" can mean just a short free text description the stage/phase the project in.
Later improvements could make the current state a Many2one field, and add some KPIs (% complete, risk traffic-light sign) .
Proposed design
Currently CI build fails because of a missing dependency:
ERROR: "You try to install module 'project_action_item' that depends on module 'hr_timesheet_task'.
But the latter module is not available in your system."
Is this dependency avoidable?
Otherwise we need add the corresponding repo to the TravisCI config.
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0
i have install Project Task Default Stage on v10 but it has error The error is Error: Unknown field state in domain [["state","in",["cancelled","close"]]] when i try to click to seting plz help
On project_categ
Already have task_categ_id and mean to set a root Category for Tasks linked.
So on Task could choose only Tags which parent is the root Category on Project.
Our concern is to have one unique category on Project that mean to categorize for which kind of Operation is.
For this on
project.categoy we think to add boolean is_business_category
add constrain to prevent have duplicated name if is_business_category
Add on project.project
project_category_id many2one project.category
On Form View: should be required
ACL to be discuss
Group by
Search
I'm just wondering if I can change the initial date that makes the hours calculation (by default is doc.start_date) because our employees, sometimes, create the issues after resolving it but filling in a datetime field called "Issue started at". I'd like to change the initial date to that field...
By just making this change into the project_sla/project_sla_control.py would it be possible (line 198)?:
start_date = dt.strptime(doc.[my_date], DT_FMT)
Would I need to make any other change to achieve this?
Thanks
One of the major things keeping me from migrating my PM from JIRA into Odoo is the lack of agile functionality. This RFC is a planning/call to arms to solve a problem that we are all likely having.
There are basically two types of agile, so I see there being two base modules:
The reporting is very different between the two, but we can worry about that later. I'm wondering if we have anything that sort of fits these requirements already? They're fairly high level at this point in order to try and be as open minded as possible in regards to actual workflow.
Good afternoon!
I have all the necessary rights .
But when I try to create a project , I get the error :
except_orm: (u'Access Denied ', u'The requested operation can not be completed due to security restrictions Please contact your system administrator \ n \ n (Document type:.. Project, Operation: create)')
Creating a project is only possible by the user admin.
Please, help.
I traced it to project_sla_control.py
, function _compute_sla_date()
.
Maybe I'll fix it when porting to the new API.
The workaround is to ensure a Working Calendar is set for the SLA controlled Projects.
Hi, for some reason can't fin the way to setup the "control date" field.
The error is:
"The following fields are invalid: Model"
I'm working with odoo 8.x.
Can you help me out with this?
module: project_closing
version: 8.0
Hi all,
I would like to as if you agree or not.
Project manager have access to project
Project manager doesn't have access to accounting
Sometimes projects manager create projects that after all must be deleted because are not need anymore. This projects have analytic account (aa) but doesn't have task nor activities.
When project manager delete the project, aa is still there.
Do you agree to improve functionality of this module to delete aa when its related project is deleted only in the case that aa doesn't have and journal?
Thanks
I'm finding this error in my server logs.
Still need to investigate further:
(...) ERROR openerp.addons.base.ir.ir_cron: Call of self.pool.get('project.sla.control').update_sla_states(cr, uid, *()) failed in Job 7
Traceback (most recent call last):
File "/home/odoo/openerp/addons/base/ir/ir_cron.py", line 138, in _callback
getattr(model, method_name)(cr, uid, *args)
File "/home/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/odoo-addons/project_sla/project_sla_control.py", line 117, in update_sla_states
self.write(cr, uid, control_ids, {'sla_state': '4'}, context=context)
File "/home/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/odoo-securitas/project_sla/project_sla_control.py", line 99, in write
if doc.sla_state < new_state:
File "/home/odoo/openerp/fields.py", line 841, in __get__
return record._cache[self]
File "/home/odoo/openerp/models.py", line 6076, in __getitem__
return value.get() if isinstance(value, SpecialValue) else value
File "/home/odoo/openerp/fields.py", line 56, in get
raise self.exception
MissingError: ('MissingError', u'One of the documents you are trying to access has been deleted, please try again after refreshing.')
I view on log this WARNING:
openerp.modules.module: module project_task_code: no openerp.py file found
But the file is on folder. The perms are ok, ?¿?¿?
Shouldn't be too hard, volunteers are welcome!
I am working on a module to create and link tasks from RMA claims and I was thinking about also taking into account materials for deliveries and possibly repairs.
RMAs are related to pickings, but the module project_task_materials_stock links to moves, so any ideas on how to make it simple are welcome.
The materials to add to the task would be the products in outgoing pickings (checking with self.env.ref('stock.picking_type_out').id).
I have to improve the code quite a bit but I'm already working on the PR I'll soon link.
Thanks for any help or opinion you might add here!
just testing the bug process in this project!
For project managers that need to categorize different project for different purposes found that is installed both modules:
project_categ and project_categ_issue both offer a way to categorize Projects.
Then, how to decide which one is more important in order to categorize?
Furthermore the string that user could read means that is the root category for Task and the other is for Issues. So is not the main purpose to categorize projects and none of them are mandatory on Project form.
My point is we should introduce a new model:
class_name ProjectCategorySuper
_name='project.category.super'
_inherit='project.category'
Then on Project add relation Many2One to ProjectCategorySuper
And set as mandatory for any projects at the Form View level.
Also a good place to show such field could be after partner_id
And of course add search and group by.
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0
Hi,
Add a shortcut in the kan ban view and in tree view that opens a wizard with the messages of message_ids component of project.issue. Almost like the behavior of the icon that opens mail editor on the same field (present on the form view). So users might not click on issue anymore to see the history of that specific item since I think the javascript loading will take more time than opening and closing a wizard.
It's actually a improvement that I think can help a lot in shorten time of issue or tasks attendance.
Hi,
Thank you for this great work. I am having trouble creating the "control date" at first setup of a new SLA.
As I can understand, this seems to be the exact same problem that the one reported in this issue : Can't setup "control date" #50.
To create a new SLA, I went throught these steps :
This field is not alterable.
I am sure I get there using the wrong path, but I cannot find another way.
I am using V8
Thank you for your kind response.
I have installed the timeline and web_timelin modules, however I keep receiving the following error when I select the view. I have tried deleting all tasks, and I then can slect the view and have an empty view, however when I insert 1 task, I receive the error again.
I have tried to install as many of the project modules as required, but still no joy.
Error:
Expected ';'
http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6823
Traceback:
SyntaxError: Expected ';'
at Anonymous function (http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6823:36)
at _.forEach (http://10.0.0.224:8069/web/content/528-c8ce360/web.assets_common.js:12:558)
at event_data_transform (http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6823:1)
at Anonymous function (http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6826:1142)
at _.forEach (http://10.0.0.224:8069/web/content/528-c8ce360/web.assets_common.js:12:558)
at on_data_loaded_2 (http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6826:1085)
at Anonymous function (http://10.0.0.224:8069/web/content/1337-d77a06b/web.assets_backend.js:6826:922)
at Anonymous function (http://10.0.0.224:8069/web/content/528-c8ce360/web.assets_common.js:547:661)
at fire (http://10.0.0.224:8069/web/content/528-c8ce360/web.assets_common.js:541:278)
at self.fireWith (http://10.0.0.224:8069/web/content/528-c8ce360/web.assets_common.js:546:198)
project_issue_automatic_workflow
will provide the ability to configure custom actions on project.issue
:
based on events:
with some conditions:
This should allow for a nicely configurable Service Desk without the need to make server actions.
Does anyone know anything we can start with here, or have any cool ideas?
Can only be done by a member of the OCA organization.
I had to modify the manifest - my database isn't configured for demo data (so I don't want demo data unless it is) and I have deleted the Odoo Sample Project.
Don't need any action, just reporting.
Probably related to #97
Hi, (I open this discussion here because we must mix functional and technical skills to specify and develop a good module).
Maybe I mistake project in Github and there is another better.
I need to develop a module to satisfy requirement of my customer, but I prefer to discuss here the functionality and fit this to my customer than develop my customer's need and after that try to send this to OCA.
The only report I have seen from @dreispt about this is here described: http://www.slideshare.net/dreispt/service-management-at-securitas-using-openeerp, and is a very specific one.
I guess even thought clients want a specific report we can have a general use one which is the base of the rest.
Note: As this is for reporting you client some one can expect reports in account.analytic.account (Contracts) and account.analytic.line ("Invoice task") but this is not the case.
** Header
** Body
Let see who is interested in and get some more ideas.
Check https://github.com/serviciosbaeza/serviciosbaeza-odoo-addons/tree/8.0/project_task_work_print from @pedrobaeza
Is there a way to reapply a newly created SLA to old issues in a project? There's no "Service Level" tab into the old issues... I need to apply the SLA's to these issues.
Thanks for your great work.
EDIT:
Just saw that after a change in an issue the new tab appears, but it would be better to have them all applied without making any change... Thanks in advice.
The addon analytic_hours_block is well installing. But you are not able to use it with standard account_invoice.
In fact, the addon is refering an invoice.department_id, wich does not exist:
'department_id': fields.related(
'invoice_id', 'department_id',
type='many2one',
relation='hr.department',
string='Department',
store={
'account.hours.block': (lambda self, cr, uid, ids, c=None: ids,
['invoice_id'], 10),
'account.invoice': (_get_invoice, ['department_id'], 10),
},
readonly=True),
Saving a newly created hours block results in this error:
KeyError: "Field 'department_id' does not exist in object 'browse_record(account.invoice, ...)'"
Odoo V8 has on account.analytic.account
'parent_id': fields.many2one('account.analytic.account', 'Parent Analytic Account', select=2),
Since V9 this feature disappear.
parent_id = fields.Many2one('account.analytic.account', 'Parent Project')
Could be interesting have again this parent relation?
I have seen one explanation about the reason of this change:
Using parent accounts (for financial accounts also) was removed in v9 because it mixes two concepts: (a) data and (b) how you want to consolidate/report the data. Odoo now uses TAGS to manage the concept of (b) instead of parent_id.
Analytic Accounting reports that use these tags, which are more flexible and functional than parent_id's
Should be:
if not default.get('timebox_id', False):
default['timebox_id'] = False
if not default.get('context_id', False):
default['context_id'] = False
Error while installing module
` File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 1074, in _validate_fields
ParseError: "Error while validating constraint
Element '' cannot be located in parent view
Error context:
View project.task.form.materials
[view_id: 1049, xml_id: n/a, model: project.task, parent_id: 499]
None" while parsing file:///c:/Program%20Files%20(x86)/Odoo%2010.0/server/custom/project_task_materials/views/project_view.xml:5, near
project.task.form.materials
project.task
<field position="after" name="work_ids">
<!--Materials used-->
<field name="material_ids" groups="project.group_tasks_work_on_tasks">
<tree string="Materials used" editable="top">
<field name="product_id"/>
<field name="quantity"/>
</tree>
</field>
</field>
</field>
</record>`
On service management use cases we can have Service Contracts, and for these you may want to identify the Service Items covered by the Contract.
Currently the OCA/project already supports these concepts:
In non trivial setups we also need a Service Company or Department, identifying who should provide service on a Service Item or Contract.
It's possible that this service is be outsourced to a supplier/business partner, or provided internally by an employee or department. Scenarios with both cases are not uncommon.
I propose to add to "Analytic Accounts" (thus to Service Items) a new "Service Partner" field, linked to a Partner record.
It can represent an external company or person, or an internal employee or team/department.
In the last case we might need to artificially create a Partner record for the employee or team, but would be the price to pay to avoid a more complex design.
In the first case we may create several Contact Partners under the same parent Company Partner, to represent different branches or technical practices:
Also adding a a "Is Service Provider" flag to Partners would make it much easier for service managers to maintain their Contracts mater data.
The Service Partner should be copied to the Service Request (issue or Task) when selection the Service Item, for auditing purposes and for enabling business rule automation, such as assigning responsible users or sending out notifications.
With this we can assign a Service Partner individually to each Service Item, but that maintenance task could be simplified by using a matrix, to automatically pick a Service Partner depending on Service Item attributes: geographical localization (Service Area), technical Type, and maybe others.
This is compatible and would extend the proposed design, but is out scope for this bleprint.
Hi,
Just installed the project_sla in Odoo 8 but I can't see things working. In your setup checklist from the openerp.py file I can see that "Working Calendar" must be set into Project's "Other Info" tab. Where is that "Working Calendar" or what do you mean? I don't see it...
When I create a contract, with it's project and I link a SLA to it, every issue I try to create in the project just keeps the server loading. It's like everything related with a SLA won't work.
P.D: had an error in project_sla.py with 'control_field_id' domain. ('type','in',['date','datetime']) did not work, for my instance (don't know why) 'type' field was named 'ttype' in ir.model.fields model.
Thanks
Hello,
I'm a bigginer in odoo. I face an issue while trying to and I want to fixe it. there is no control made on start_date and end_date while creating a project under odoo 8
Please help
Is there a way to configure the system to consume material from different locations depending on the user completing the task? (eg. create a WH location for each service truck and remove consumed materials from user's truck instead of main WH stock location)
There is not even a action_close anywhere on other modules
module: project_issue_task
version: 8.0
Steps to reproduce
'description': """\
Support for the use case where solving an Issue means a Task should be done,
such as an on site visit, and a report must be made to document the work done.
This is a common scenario in technical field services.
The Issue form already has a "Task" field, allowing to create a Task related
to an Issue.
This module adds some usability improvements:
* "Create Task" button on the Issue form [Wrong name]
* Automaticaly Close the Issue when the Task is Closed [BUG]
* Automatically Cancel the Task when Issue is Cancelled [BUG]
* Make the Task also visible to all followers of the related Issue [BUG]
""",
Current behavior
Expected behavior
I can not change the status of a task after consuming materials. It fires an exception: You can only delete draft moves.
Have project.task link to unique category for statistic.
Create new class:
class ProjectCategory
_name: 'project.category'
_inherit: 'project.tags'
Inherit class:
class Task(models.Model):
_inherit = "project.task"
categ_id = Many2one('project.category')
Add menu to manage Category
Add on Form, Tree view, Search, Group by
Good to have:
Demo data
Hi @dreispt , thinking and testing this module I would like to ask you opinion in my reflexions.
Installing this module is very specific and maybe we could make it better. I think that we can maintain this functionality better by adding 2 more security groups in project (setting -> Users):
This way we don't touch Odoo's permission groups so if you don't user "member" or "project manager" you will have same functionality of Core.
#1
Employees are now basic Project users, able to create new documents (Issues or Tasks). These are kept editable while in New and Cancelled states, to allow for corrections or for the user himself to cancel an incorrectly created request. Previously, Employee users did not have any write nor create access to project documents.
I think we must maintain option in Setting -> User to select if a user or employee access to project o not.
Note: Odoo core has a functional bug in my opinion. By default a Project User cannot create issues... this has no sense. So we can add this to the default user's group. Project Users can create issues. Here is how you must add this manualy: https://youtu.be/ZLzZ-o6q8N0
#2
Project Users, on the other hand, are supposed to act on these documents, such as reported issues, and update them accordingly, so they have write access for all states. Employee users don't have write access on later states, but can still write comments and communicate through the message board (open chatter).
In general, users will only be able to see documents where:
They are assigned/responsible for, or
They are following, or
They are a team member for the corresponding Project (but not if only in the project's follower list).
Project's Members in project.project have same permission as Project's followers. This have many sense, as you have permissions on the project but you don't need to follow it. this has two benefits:
Project Managers have access rules similar to Project Users, but additionally can create new projects and can see all documents for the projects they are the Manager. As a consequence, Project Managers no longer have inconditional access to all Tasks and Issues, and will only be able to edit the definitions of Projects they manage.
This makes it possible for a Project Manager to have private projects that other users, Project Managers included, will not be able to see. They will need to be added as followers or team members to able to see it.
Public Projects and their documents are still visible to everyone. Portal users access rules are kept unchanged.
Adding "Project manager" groups (which is different of Manager) you will have same functionality as you describe. You can have many project managers who are independent of each other and you can still have a Full Manager like CTO, CIO or also CEO who see everything.
#4
Access Rules summary:
We will have in Setting - Users - Access Right - Application - Project
Employee Users Can see only documents followed or responsible for (in "user_id"). Can create new documents and edit them while in "New"/"Cancelled" states.
Project Users Can edit Project Issues and Tasks in any stage/state. Can see all documents for projects they are followers on team members. Can see only documents followed or assigned to for other projects.
Project Managers Can create new projects and edit their attributes. Can see all documents (Tasks or Issues) but only for their managed projects. For the other Projects, will see only followed documents, just like the other users.
Note: For sure if needed we can add also "Employee" as you described, having 5 groups of permission for projects.
Also I think is more clear to understand for anyone.
After writting this I have read #59 so welcome @jbeficent
We can do this of v8 like I described if you agree.
@dreispt could be this and [IMP] of project_baseuser of it must be a new one.
the recurring contracts backport have a bug - I think it's a bug - that it creates all invoices with currency set to Euro.
I tried this with many DBs and same result.
If i create invoices normally out of contracts I get the correct currency.
So only invoices generated by this module gets a fixed currency of Euro.
Some Details:
Regards,
Hi,
I extracted the agile project modules of Vauxoo addons (https://github.com/Vauxoo/addons-vauxoo) to a new repo:
https://github.com/kmee/project-agile
There are also other good initiatives:
https://github.com/vertelab/odoo-project_scrum/tree/8.0
https://github.com/codoo/project-scrum
I wonder if it would be interesting to create a new project in OCA "project-agile" or make a PR in this repository.
The service_desk
module name relates to what it wants to achieve, but not to what it does.
It should be replaced with more meaningful modules.
The intended approach is to reuse Projects and Issues, and adapt them to better fit the need for service management. For this, Projects represent Service Areas and Issues represent support cases/tickets.
Modules for service management specific feature should have a service_
prefix in the name.
The base module for this should provide a "Service", with a new top menu, and menu options for Service Areas and Cases.
Projects should have a flag to identify Service Areas from regular Projects.
Followers are to be used for the teams to be notified on cases for their service areas.
An improved security model for end users is also needed.
Discussion took place on #108 and is implemented by #117.
Additional record access controls are also needed for Service Areas - users must be limited in what areas are available to them, Some areas, such as related to second line support, should be available only to certain support teams. Service Areas could have a list of Security Groups that are allowed to see them.
It would be good to allow for teams/groups to subscribe Service Areas, rather than only partners.
In fact v9 already supports that, through Channels. But for v8 it is an open issue.
A support case can/should be related to a Contract (an Analytic Account).
This is implemented by service_desk``service_desk_issue
and should be extracted from there.
For scenarios involving field service, the service location is also needed, maybe required.
This is bundled by the implementation in service_desk``service_desk_issue
and should be extracted from there.
There is space to expand and improve such implementation, to support identification of service sites, service items, and the type of services contracted for each, but that deserves it's own discussion.
Many interesting features can be added to Cases.
Here are a few:
project_task_code
)Hi,
We setup a new server environment and installed project module and then installed project_sla module. below are error messages we got.
In client:
Invalid XML Architecture
In Server:
2014-10-08 08:40:54,505 25073 INFO project_oca openerp.modules.loading: module project_sla: loading project_sla_view.xml
2014-10-08 08:40:54,538 25073 ERROR project_oca openerp.addons.base.ir.ir_ui_view: :2:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element form has extra content: h1
2014-10-08 08:40:54,549 25073 ERROR project_oca openerp.tools.convert: Parse error in /opt/openerp/server/custom_modules/project_sla/project_sla_view.xml:21:
view_sla_form
project.sla
<form string="SLA Definition">
<h1>
<field name="name"/>
</h1>
<group>
<group>
<field name="control_model"/>
<field name="control_field_id"/>
</group>
<group>
<field name="active"/>
</group>
</group>
<notebook colspan="4">
<page string="Rules" name="rules_page">
<field name="sla_line_ids" nolabel="1"/>
</page>
<page string="Contracts" name="contracts_page">
<field name="analytic_ids" nolabel="1"/>
</page>
</notebook>
<button name="reapply_slas" colspan="2" string="Reapply SLA on Contracts" type="object"/>
</form>
</field>
</record>
Thanks,
Hello,
We've installed the project_timeline module which install the web_timeline module too !
It works but all the modification are not kept cause of an sql error !!
Is it a bug or a config problem ?
Note that our timezone is "Europe/Brussels".
Thanks for your help.
bad query: UPDATE "project_task" SET "date_end"='2017-07-19 22:29:09',"project_id"=13,"date_start"='2017-07-19 21:36:00',"write_uid"=6,"write_date"=(now() at time zone 'UTC') WHERE id IN (31)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.