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

[MIG] Migrate hr_contract_hourly_rate #92

Merged
merged 20 commits into from
Jun 2, 2015

Conversation

feketemihai
Copy link
Member

The PR depends on #91 since the module depends on the hr_contract_multi_jobs module, ported in the pr specified.

@feketemihai feketemihai mentioned this pull request Apr 20, 2015
58 tasks
@feketemihai
Copy link
Member Author

I will rebase after #91 will be approved.

[('yearly', 'Annual Wage'),
('monthly', 'Annual Wage'),
('hourly', 'Hourly Wage')],
string='Salary Computation Method',

Choose a reason for hiding this comment

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

I'm very much against changing the possible values of the fields.selection from 7.0 to 8.0; this will cause a lot of migration errors.

Copy link
Member Author

Choose a reason for hiding this comment

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

I know but it's a selection fields, the options from 7.0 are still available, and from my point of view there should not be a problem...

Choose a reason for hiding this comment

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

Yes, but the conditions below, like if contract.salary_computation_method != 'hourly': , will fail on V7 items for every case. This means that without properly migrating wage to yearly or hourly_rate to hourly, the behaviour will be different before and after migrating for every case.

Is it possible to, at least, add a comment in the README in order to describe this change in the selection? That would be enough for me to know it's documented somewhere.

@max3903
Copy link
Sponsor Member

max3903 commented Jun 2, 2015

👍

@mdietrichc2c
Copy link

@feketemihai perfect, 👍

@charbeljc
Copy link

👍

max3903 pushed a commit that referenced this pull request Jun 2, 2015
@max3903 max3903 merged commit 2a1cd0a into OCA:8.0 Jun 2, 2015
@feketemihai feketemihai deleted the mig_hr_contract_hourly_rate branch November 11, 2015 05:03
sambarros pushed a commit to sambarros/hr that referenced this pull request Jul 26, 2018
[BSSFL-83] Invoice report initial implementation
Mraimou pushed a commit to camptocamp/hr that referenced this pull request Nov 25, 2019
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

4 participants