Skip to content

[FIX] sign_oca: correct syntax and handle js logic#102

Merged
OCA-git-bot merged 1 commit intoOCA:16.0from
kencove:16.0-fix-sign_oca-3
Apr 8, 2025
Merged

[FIX] sign_oca: correct syntax and handle js logic#102
OCA-git-bot merged 1 commit intoOCA:16.0from
kencove:16.0-fix-sign_oca-3

Conversation

@kobros-tech
Copy link
Contributor

Role correct syntax is between {{ }} not ${}, this will cause error. parent.items[nextItem.id] if is not defined the function dispatchEvent will throw error in the UI, so it is better to handle that error.

@OCA-git-bot
Copy link
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@kobros-tech kobros-tech force-pushed the 16.0-fix-sign_oca-3 branch 3 times, most recently from 3030a1a to 46ae26b Compare April 3, 2025 22:32
Copy link

@AlvaroRM11 AlvaroRM11 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Please don't mix things in the same PR. I'm OK with the README change. If you publish it isolatedly, we can merge. But the other one is not clear how do you get to a situation where the element is not defined, and even if valid, you shouldn't log by console the warning. Just don't act.

@kobros-tech
Copy link
Contributor Author

Please don't mix things in the same PR. I'm OK with the README change. If you publish it isolatedly, we can merge. But the other one is not clear how do you get to a situation where the element is not defined, and even if valid, you shouldn't log by console the warning. Just don't act.

just open my #99 and add a signature field when you fill it the error message will pop up, it is an error in UI not in the log.

and in my PR there is no JS there!

@pedrobaeza
Copy link
Member

As said, please split both changes in 2 PRs for immediate merge of the README one, and the other shouldn't log to console.

@kobros-tech
Copy link
Contributor Author

As said, please split both changes in 2 PRs for immediate merge of the README one, and the other shouldn't log to console.

All right I will split them

@kobros-tech kobros-tech force-pushed the 16.0-fix-sign_oca-3 branch from 46ae26b to 51d90c0 Compare April 7, 2025 06:59
@kobros-tech
Copy link
Contributor Author

kobros-tech commented Apr 7, 2025

As said, please split both changes in 2 PRs for immediate merge of the README one, and the other shouldn't log to console.

@pedrobaeza

#104 the readme one

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.

For me it has sense

@pedrobaeza
Copy link
Member

Enric, also the console.warn part?

@etobella
Copy link
Member

etobella commented Apr 8, 2025

Sorry, I didn't read your comment about the log 🤔

Well, it is clear that would be better to ignore it if not found, however, I don't see the problem in leaving the warn.

As both options work for me, I think that we should follow your suggestion and remove the warn. Can you do that @kobros-tech ?

@kobros-tech
Copy link
Contributor Author

thank you both, sometimes I lose focus and I admit I just understood now what pedro said about consol log warn.
If I read the comment again I will understand, but when my head is overloading I can be slow to catch up.

I will work on it right now, some few please...

@kobros-tech kobros-tech force-pushed the 16.0-fix-sign_oca-3 branch from 51d90c0 to 365bfc4 Compare April 8, 2025 06:46
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-102-by-pedrobaeza-bump-patch, awaiting test results.

@kobros-tech
Copy link
Contributor Author

the new module survey_sign_oca is ready for your review and comments, thanks!

@pedrobaeza
@etobella

@OCA-git-bot OCA-git-bot merged commit 4bb4745 into OCA:16.0 Apr 8, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

5 participants