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

Master sale generate link arj #38287

Closed
wants to merge 2 commits into from

Conversation

arj-odoo
Copy link
Contributor

@arj-odoo arj-odoo commented Oct 9, 2019

[IMP] web: CopyClipboardCharLong widget for long strings

 - The copy CopyClipboardChar widget is not nicely rendered for very long strings (e.g. URL).
 - This commit modify the behavior of the CopyClipboardChar widget to display it nicely win such cases.

TaskID: 2059972

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 57ea35d to 5df94e3 Compare October 9, 2019 13:24
@C3POdoo C3POdoo added the RD research & development, internal work label Oct 9, 2019
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Oct 9, 2019
@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 288e5b8 to 08b1a5b Compare October 10, 2019 11:35
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Oct 10, 2019
@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 08b1a5b to fc5dec0 Compare October 10, 2019 14:49
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Oct 10, 2019
@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from fc5dec0 to 6acd6f0 Compare October 11, 2019 06:59
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Oct 11, 2019
@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 6acd6f0 to 274ee84 Compare October 11, 2019 07:01
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Oct 11, 2019
@arj-odoo
Copy link
Contributor Author

@VincentSchippefilt I modified the code to modify the default behavior of the CopyClipboardChar widget. I did not observed any bug in other modules where these widgets are used (CopyClipboardChar and CopyClipboardtext).

@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 274ee84 to 2f59103 Compare October 11, 2019 08:45
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Oct 11, 2019
Copy link
Contributor

@VincentSchippefilt VincentSchippefilt left a comment

Choose a reason for hiding this comment

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

Commit should be [IMP] web: ...

this._super.apply(this, arguments);
if (this.value) {
this.$el.append($(qweb.render(this.clipboardTemplate)));
this.$el.addClass('o_text_overflow');
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be added in the template

 - The copy CopyClipboardChar widget is not nicely rendered for very long strings (e.g. URL).
 - This commit modify the behavior of the CopyClipboardChar widget to display it nicely win such cases.

TaskID: 2059972
@arj-odoo arj-odoo force-pushed the master-sale-generate_link-arj branch from 2f59103 to 3ca0d99 Compare October 11, 2019 12:49
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Oct 11, 2019
payment_ref and amount are small fields that does not render well in large fields.

TaskID: 2059972
@VincentSchippefilt
Copy link
Contributor

robodoo rebase-ff

@robodoo
Copy link
Contributor

robodoo commented Oct 11, 2019

Merge method set to rebase and fast-forward

@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Oct 11, 2019
@arj-odoo arj-odoo requested a review from bouvyd October 15, 2019 08:12
@bouvyd
Copy link
Contributor

bouvyd commented Oct 15, 2019

@robodoo r+

robodoo pushed a commit that referenced this pull request Oct 15, 2019
payment_ref and amount are small fields that does not render well in large fields.

closes #38287

Taskid: 2059972
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
@robodoo
Copy link
Contributor

robodoo commented Oct 15, 2019

Merged at 8578518, thanks!

@robodoo robodoo closed this Oct 15, 2019
@arj-odoo arj-odoo deleted the master-sale-generate_link-arj branch October 15, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants