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

[16.0][MIG] contract_sale #949

Merged
merged 25 commits into from
May 26, 2023
Merged

Conversation

CRogos
Copy link
Contributor

@CRogos CRogos commented May 15, 2023

Migration using oca-port tool
replacing #915

  • git history according to style guide
  • replaced account_analytic_tag_contract_salesman by model_account_analytic_plan_contract_salesman instead of deleting

@CRogos CRogos force-pushed the 16.0-mig-contract_sale branch 8 times, most recently from 8b59103 to c3cd14a Compare May 15, 2023 18:47
@CRogos CRogos marked this pull request as ready for review May 15, 2023 18:56
@CRogos
Copy link
Contributor Author

CRogos commented May 17, 2023

@JesusValdez96 could give a short comment if this is the right way or what could be improved (next time)?
image

@JesusValdez96
Copy link

@CRogos change to fixup all commits of oca-transbot, oca-travis, oca-git-bot and oca-ci and pick commit f70ad15 of sbejaoui

Luis M. Ontalba and others added 17 commits May 17, 2023 18:20
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
[REF] Contract Sale: update translations
The lowest model access for contract.contract model is group_account_invoice group. However the addon adds two smart buttons to res.partner view without any security restrictions and without compute_sudo attribute on computed fields.
This causes the view to crash when a user without the proper permissions tries to access the res.partner form view.
The solution adds groups_id to the partner form views in which the buttons are added, so the only loads when the user has proper permissions.
Other way to solve it would be to add compute_sudo attribute to the relevant fields, but this causes an access error when the user clicks on the smart buttons.
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-12.0/contract-12.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale/es_CL/
@JesusValdez96
Copy link

JesusValdez96 commented May 17, 2023

@CRogos LGTM could you announce this PR in Migration to version 16.0?

@CRogos CRogos mentioned this pull request May 22, 2023
13 tasks
@MohamedOsman7
Copy link

LGTM

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration contract_sale

@CRogos
Copy link
Contributor Author

CRogos commented May 24, 2023

@JesusValdez96 would you add a review approval?

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@rousseldenis
Copy link
Sponsor Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-949-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 439f4ce into OCA:16.0 May 26, 2023
@OCA-git-bot
Copy link
Contributor

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

@CRogos CRogos deleted the 16.0-mig-contract_sale branch May 26, 2023 11: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.