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

9.0 [MIG] partner_contact_job_position migration #328

Merged
merged 5 commits into from
Nov 9, 2016

Conversation

cubells
Copy link
Sponsor Member

@cubells cubells commented Nov 7, 2016

No description provided.

- Renamed crm_job_position to partner_contact_job_position.
- Drop all CRM dependencies.
- Improve README.
- Add form view.
- Rename one model.
- Rename some fields.
- Reorder module.
- Remove pot.
- Update translation.
- Use new-style short license and copyright headers.
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Choose another icon different, because this one is used in partner_sector.

Squash "OCA transbot" and the "en.po" commits together.

Images
------

* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
Copy link
Member

Choose a reason for hiding this comment

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

This icon link is not correct.

"version": "9.0.1.0.0",
'category': 'Customer Relationship Management',
"website": "http://www.antiun.com",
'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
Copy link
Member

Choose a reason for hiding this comment

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

Switch to Tecnativa both website and author.

_description = "Job position"

name = fields.Char(required=True, translate=True)
parent_id = fields.Many2one(
Copy link
Member

Choose a reason for hiding this comment

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

Check recursion

Copy link
Member

Choose a reason for hiding this comment

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

And add a test for that

Copy link
Member

Choose a reason for hiding this comment

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

Well, if you use something like https://github.com/odoo/odoo/blob/af865c2e9ea1dc1890ef33add9a6e4bc657068e0/addons/hr/hr.py#L264, there's no need for the test, as this method is already tested.

@pedrobaeza
Copy link
Member

cc @Tecnativa

@pedrobaeza pedrobaeza mentioned this pull request Nov 7, 2016
31 tasks
@rafaelbn rafaelbn added this to the 9.0 milestone Nov 8, 2016
Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

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

Tested in runbot

@pedrobaeza
Copy link
Member

@cubells, please make the changes I requested.

@cubells cubells force-pushed the 9.0-mig-partner_contact_job_position branch from 5453285 to fe2c96b Compare November 9, 2016 16:44
    * Changed icon
    * Change author and web
    * Check recursion
@pedrobaeza pedrobaeza force-pushed the 9.0-mig-partner_contact_job_position branch from f57815d to 03bab9c Compare November 9, 2016 18:35
@pedrobaeza pedrobaeza merged commit acfcfc7 into OCA:9.0 Nov 9, 2016
@pedrobaeza pedrobaeza deleted the 9.0-mig-partner_contact_job_position branch November 9, 2016 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants