-
Notifications
You must be signed in to change notification settings - Fork 117
s_donation_button options #4240
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
Conversation
|
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
f468b7f to
80b3d5d
Compare
27a1402 to
8c6b756
Compare
de09195 to
030f5d2
Compare
|
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
030f5d2 to
e79686c
Compare
e79686c to
27f2247
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use Component validation props ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Maybe checkc ommunity/addons/html_editor/static/src/main/toolbar/toolbar.js)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I actually forgot to look into it. 😅 I fixed it in a 4th commit
Do you know if it's possible to validate a prop against other props?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agau-odoo No idea. Maybe ask to @ged-odoo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope. you can define a custom validate function, but it only takes the prop value, not other props
4648461 to
2d7aa09
Compare
c3a59b5 to
caa8ba4
Compare
|
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
109efe4 to
31a3a1c
Compare
a0532c2 to
850f0e8
Compare
|
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
850f0e8 to
90387e4
Compare
87924d0 to
60ad945
Compare
4231463 to
0e0de55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why class="" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copied website_payment.donation.prefilledButtons, should I clean it up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to move "o_not_editable" and contenteditable="false" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to allow translating the description. Previously, this was done by hiding the button and showing normally hidden fields, which are deleted in this PR.
Without this modification, the descriptions can't be translated anymore (regression).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question
c333b15 to
6678924
Compare
6678924 to
d43a1b6
Compare
|
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
5b240d1 to
558b8e7
Compare
edff5d7 to
d31ecfa
Compare
314790f to
48edd7d
Compare
48edd7d to
54b7266
Compare
upgrade PR https://github.com/odoo/upgrade/pull/7539
needs #4489 for translation