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

[14.0][FIX] Warning triggered by the onchange #443

Closed
wants to merge 1 commit into from
Closed

[14.0][FIX] Warning triggered by the onchange #443

wants to merge 1 commit into from

Conversation

chmuche
Copy link

@chmuche chmuche commented Apr 6, 2021

Hello,
In Odoov14 a warning is display when an @api.onchange return the key domain in the dictionary.

This fix change the domain directly in the view instead of an onchange function

@chmuche
Copy link
Author

chmuche commented Apr 6, 2021

Potential Conflict with This PR

@chmuche chmuche changed the title Fix Warning triggered by the onchange [14.0][FIX] Warning triggered by the onchange Apr 6, 2021
Copy link
Contributor

@fshah-initos fshah-initos left a comment

Choose a reason for hiding this comment

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

Looks good to me
Functional test and code review.

@dreispt
Copy link
Member

dreispt commented Oct 29, 2021

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-443-by-dreispt-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Oct 29, 2021
Signed-off-by dreispt
@OCA-git-bot
Copy link
Contributor

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-443-by-dreispt-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@dsolanki-initos
Copy link
Contributor

@chmuche can you fix the Travis issue.

3 similar comments
@dsolanki-initos
Copy link
Contributor

@chmuche can you fix the Travis issue.

@dsolanki-initos
Copy link
Contributor

@chmuche can you fix the Travis issue.

@dsolanki-initos
Copy link
Contributor

@chmuche can you fix the Travis issue.

@dsolanki-initos
Copy link
Contributor

@chmuche can you fix the Travis issue ASAP.

@dsolanki-initos
Copy link
Contributor

@chmuche it would be nice if you fix the Travis issue.

@dsolanki-initos
Copy link
Contributor

Could you resolve the Travis issue?

@bosd
Copy link
Contributor

bosd commented Mar 3, 2022

@alexey-pelykh Are you a maintainer of this module? Can this be merged?

@alexey-pelykh
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-443-by-alexey-pelykh-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Mar 3, 2022
Signed-off-by alexey-pelykh
@OCA-git-bot
Copy link
Contributor

@alexey-pelykh your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-443-by-alexey-pelykh-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@alexey-pelykh
Copy link
Contributor

@bosd can't do until Travis is green

@bosd
Copy link
Contributor

bosd commented Mar 4, 2022

How can travis get to green?

@dreispt
Copy link
Member

dreispt commented Mar 4, 2022

You need to read the TravisCI buld log te see the reason why it is failing.
It seems that tests are failing: https://app.travis-ci.com/github/OCA/timesheet/jobs/562004546#L1967

@bosd
Copy link
Contributor

bosd commented Mar 4, 2022

Seems it is failing due to hr timesheet policy

File "/home/travis/build/OCA/timesheet/setup/hr_timesheet_sheet_policy_project_manager/odoo/addons/hr_timesheet_sheet_policy_project_manager/tests/test_hr_timesheet_sheet_policy_project_manager.py", line 179, in test_project_manager_review_policy

1970 sheet._onchange_project_id()

1971 File "/home/travis/build/OCA/timesheet/setup/hr_timesheet_sheet_policy_project_manager/odoo/addons/hr_timesheet_sheet_policy_project_manager/models/hr_timesheet_sheet.py", line 84, in _onchange_project_id

1972 return self.onchange_add_project_id()

1973AttributeError: 'hr_timesheet.sheet' object has no attribute 'onchange_add_project_id'

1974 


Only the french language file is changed. Could you also change the pot file?

@dreispt
Copy link
Member

dreispt commented Mar 5, 2022

@bosd This PR changes Python and XML files, and in particular it removes the method the tests complain is missing: https://github.com/OCA/timesheet/pull/443/files#diff-1f9ae96af55f7b3bc30cba579b3c9a29cefbc335f03e423a75fe2f4c0404d2aeL444

@github-actions
Copy link

github-actions bot commented Jul 3, 2022

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 3, 2022
@ikapasi-initos
Copy link

@chmuche can you fix the Travis issue.

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 31, 2022
@ikapasi-initos
Copy link

@chmuche it would be nice if you fix the Travis issue.

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 25, 2022
@chmuche chmuche closed this Jan 25, 2023
@chmuche
Copy link
Author

chmuche commented Jan 25, 2023

This pull request is only here to remove a warning, and I don't use this module anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved needs fixing stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants