Skip to content

[18.0][MIG] sign_oca: Migration to 18.0#74

Merged
OCA-git-bot merged 76 commits intoOCA:18.0from
kobros-tech:18.0-mig-sign_oca
Jan 13, 2025
Merged

[18.0][MIG] sign_oca: Migration to 18.0#74
OCA-git-bot merged 76 commits intoOCA:18.0from
kobros-tech:18.0-mig-sign_oca

Conversation

@kobros-tech
Copy link
Contributor

@rvalyi
@ovnicraft
@azmeuk
@pniederlag
@cmayo

I need reviewing sign_oca for 18.0

etobella and others added 30 commits December 26, 2024 15:07
[BOT] post-merge updates
[UPD] Update sign_oca.pot
Translated using Weblate (Italian)

Currently translated at 28.2% (48 of 170 strings)

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (170 of 170 strings)

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/it/
[UPD] Update sign_oca.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/
Currently translated at 100.0% (170 of 170 strings)

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (170 of 170 strings)

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/it/
[UPD] Update sign_oca.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sign-16.0/sign-16.0-sign_oca
Translate-URL: https://translation.odoo-community.org/projects/sign-16-0/sign-16-0-sign_oca/
1. Add Sign button in request form (it was only in tree view).
2. Fix configure template action when it is created from a request.
- Load 'required' field in configure dialog
- Show 'required' fields in red in configure mode
- Load 'role_id' field in configure dialog
Unify to_sign and signer_is_allow_signature fields which had the same purpose
@kobros-tech
Copy link
Contributor Author

Thanks, it's almost ready, the name (similar to v17) is missing. v17 v17

v18 v18

@victoralmau

ok, I am using now the same old code for this part, it is my final destination :)

@kobros-tech
Copy link
Contributor Author

@victoralmau
I need you to approve if it is ok

@victoralmau
Copy link
Member

#74 (comment) is pending.

@kobros-tech
Copy link
Contributor Author

#74 (comment) is pending.

@victoralmau
I assure your opinion is not valid for version 18.0 and we have to call the ID by ourselves.

If you find this code in odoo repository for v18.0 I will follow along.

@victoralmau
Copy link
Member

An example of odoo using user is https://github.com/odoo/odoo/blob/18.0/addons/calendar/static/src/views/attendee_calendar/attendee_calendar_model.js#L24.

@kobros-tech
Copy link
Contributor Author

An example of odoo using user is https://github.com/odoo/odoo/blob/18.0/addons/calendar/static/src/views/attendee_calendar/attendee_calendar_model.js#L24.

all right thanks for being active with me, I will check it by Sunday and try to follow along

@kobros-tech
Copy link
Contributor Author

Hi @victoralmau
thanks for the link, with this procedure We use current user id
it is now inside user object, so we will be importing & using user object instead of session object

@pedrobaeza
Copy link
Member

/ocabot migration sign_oca
/ocabot merge nobump

@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). 🤖

@etobella
Copy link
Member

/ocabot merge nobump
Ocabot didn't launch the merge 😭

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-74-by-etobella-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4d4c489 into OCA:18.0 Jan 13, 2025
6 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza
Copy link
Member

/ocabot migration sign_oca

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 13, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 13, 2025
3 tasks
@kobros-tech
Copy link
Contributor Author

/ocabot migration sign_oca

@pedrobaeza

We are planning to create a new module in this project.

Could you guide me on the steps and rules to follow to make it efficient and successful?

@pedrobaeza
Copy link
Member

You just need to do a pull request with the new module. pre-commit will highlight the linter things and the CI any possible error.

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.