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

New module "event_project" #4

Merged
merged 1 commit into from Oct 30, 2015
Merged

Conversation

JavierIniesta
Copy link

This module allows you to plan and organize an Event with a Project related.
Assign a project template to an event, creating the corresponding project for the event that ends on the event start date, and plan the project tasks backwards according a new field "Event anticipation days".
Depends of OCA/project#90

@oca-clabot
Copy link

Hey @JavierIniesta, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@pedrobaeza
Copy link
Member

You need to put first project_recalculate module (is this the best name? we can discuss it in the corresponding PR). Please also sign the CLA or sign a Corporate CLA for Antiun. Tell @rafaelbn about it.

@pedrobaeza
Copy link
Member

CLA checked. Next commit will be OK.

@rafaelbn rafaelbn changed the title Pr event tasks integration New module "event_project" Aug 13, 2015
@rafaelbn
Copy link
Member

@JavierIniesta @antespi which is the status of this PR?

@oca-clabot
Copy link

Hey @JavierIniesta,
We acknowledge that the following users have signed our Contributor License Agreement:

Appreciation of efforts,
OCA CLAbot

"website": "http://www.antiun.com",
"license": "AGPL-3",
"category": "Event Management",
"depends": ['base', 'event', 'project'],
"depends": [
'base',
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

base is redundant here

@antespi
Copy link
Contributor

antespi commented Sep 1, 2015

@dreispt done. Squash and rebase.
Thanks

#
##############################################################################
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Although I agree it can be shortened, I don't think you can totally remove copyright and license info from individual code files. There is certainly indication for that in the contributing guidelines.

Copy link
Contributor

Choose a reason for hiding this comment

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

After reading http://hackerboss.com/get-rid-of-templates/, we decide to indicate license and contributors only in README.rst for centralize maintenance. Is this mandatory?

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

The problem is that it's possible to have this file bundled in other code distributions, without some of the other repo files. In this case the reference to the README would be useless.
I've already seen this happen is Odoo, with some js files bundled with it...

@antespi
Copy link
Contributor

antespi commented Sep 8, 2015

cc @pedrobaeza, @dreispt, @rafaelbn
Improvements:

  • New tab in event form to create works of the project related with the event
  • Now 'Event manager' group has 1,1,1,1 rights in project.project model in order to have enougth rights to create a new project from a template when creating an event.

Travis error is because project_recalculate addon (OCA/project#111) is not merged yet

@rafaelbn
Copy link
Member

rafaelbn commented Oct 6, 2015

Rebuilding for testing! This module has been in customer's production enviroment for 2 months! Let see what OCA says ;-) cc @janetrp

@pedrobaeza
Copy link
Member

@antespi, please rebase for getting a correct PR


event_id = fields.Many2one(
comodel_name='event.event', compute='_compute_event', store=True,
string="Related event", readonly=True)
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Why is this field needed?

@dreispt
Copy link
Sponsor Member

dreispt commented Oct 11, 2015

To get a green CI you need to add an oca_dependencies.txt file (like this) with a line:

project

A rebase is also needed.

@rafaelbn
Copy link
Member

Please @JavierIniesta review comments, thanks.

@JavierIniesta
Copy link
Author

@antespi @pedrobaeza @dreispt
Changes done.

pedrobaeza added a commit that referenced this pull request Oct 30, 2015
@pedrobaeza pedrobaeza merged commit 3930a88 into OCA:8.0 Oct 30, 2015
max3903 pushed a commit that referenced this pull request Feb 15, 2016
Allow multirecord cancelling and fix tests.
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.

None yet

6 participants