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

[12.0] [MIG] hr_contract_reference #541

Merged
merged 22 commits into from Oct 8, 2020

Conversation

Nikul-Chaudhary
Copy link
Member

HR Contract Reference

This module was written to extend the functionality of employees contracts to support sequence of contract reference which will be generated automatically from the sequence predefined.

@oca-clabot
Copy link

Hey @Nikul-Chaudhary, 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/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@Nikul-Chaudhary Nikul-Chaudhary mentioned this pull request Jan 20, 2019
32 tasks
@pedrobaeza pedrobaeza added this to the 12.0 milestone Jan 20, 2019
@Nikul-Chaudhary
Copy link
Member Author

@pedrobaeza Could you review please it?

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

Can you increase test coverage?

hr_contract_reference/README.rst Outdated Show resolved Hide resolved
@Nikul-Chaudhary
Copy link
Member Author

@tarteo @pedrobaeza COuld you please review it ?

@tarteo
Copy link
Member

tarteo commented Apr 16, 2019

@Nikul-Chaudhary Increase the test coverage

Copy link
Member

@tbaden tbaden left a comment

Choose a reason for hiding this comment

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

code lgtm
please use the maintainer-tools to generate the hr_contract_reference/readme file

@Nikul-Chaudhary Nikul-Chaudhary force-pushed the 12-mig-hr_contract_reference branch 3 times, most recently from 816c78f to 5ac5451 Compare June 20, 2019 11:58
@jarroyomorales
Copy link

@Nikul-Chaudhary Will you keep working on this?

@Nikul-Chaudhary
Copy link
Member Author

@Nikul-Chaudhary Will you keep working on this?

Yes Sure @jarroyomorales

@jarroyomorales
Copy link

@Nikul-Chaudhary Hi! How is this going? 😃

@jarroyomorales
Copy link

Hi @Nikul-Chaudhary, I just did a PR to your branch fixing the readme as suggested by @alexey-pelykh and added a mini test to increase coverage. Can you check?
Nikul-Chaudhary#1

@jarroyomorales
Copy link

@Nikul-Chaudhary Could you squash the 3 commits?

@Saran440
Copy link
Member

@Nikul-Chaudhary Functional Test, LGTM 👍
Could you squash commit?

@Nikul-Chaudhary
Copy link
Member Author

@jarroyomorales @Saran440 Sure, I will

@Nikul-Chaudhary
Copy link
Member Author

@jarroyomorales @Saran440 Done

@Saran440
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 12.0-ocabot-merge-pr-541-by-Saran440-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jun 25, 2020
Signed-off-by Saran440
@jarroyomorales
Copy link

@Saran440 @pedrobaeza What happened with this merge?

@Saran440
Copy link
Member

Saran440 commented Jul 1, 2020

@jarroyomorales Maybe this pr have CR and not approved yet.

@etobella
Copy link
Member

etobella commented Jul 1, 2020

Yes, but all changes have been attended, so we need to wait for them to recheck?

@alexey-pelykh @tbaden @tarteo

name = fields.Char(
'Contract Reference',
required=False,
readonly=True,

Choose a reason for hiding this comment

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

Is it really needed to co-exist req=False and readonly=True?

Choose a reason for hiding this comment

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

IMO name should be required, and even more if you are using this module, where you shouldnt have a contract without reference.

Copy link
Contributor

Choose a reason for hiding this comment

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

It should be required=False on DB and required=true on UI

@jarroyomorales
Copy link

Hi @alexey-pelykh! Could you recheck please? Thank you!

Copy link
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

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

LGTM 👍 I think that all comments have been attended, so probably this could go to merge @OCA/human-resources-maintainers

@dreispt
Copy link
Sponsor Member

dreispt commented Oct 8, 2020

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 12.0-ocabot-merge-pr-541-by-dreispt-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6a7abff. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot closed this Oct 8, 2020
@OCA-git-bot OCA-git-bot merged commit 1710ea9 into OCA:12.0 Oct 8, 2020
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.

None yet