-
-
Notifications
You must be signed in to change notification settings - Fork 168
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][IMP] maintenance_account: Create equipment description from move line name #387
[16.0][IMP] maintenance_account: Create equipment description from move line name #387
Conversation
Hi @victoralmau, |
Indicate that this is a forward-port of ... Why is it draft? |
I change state when everything is fine. Now its ready for review :) |
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.
And I have now the doubt if you need to do the same of converting to HTML in v15
7a8bb8b
to
82a9047
Compare
82a9047
to
c55172f
Compare
if "\n" in self.name: | ||
lf_index = self.name.index("\n") | ||
equipment_name = self.name[:lf_index] | ||
description = html_escape(self.name[lf_index + 1 :]) |
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 would say html_escape
is not for converting text to HTML.
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.
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.
could you please check it now?
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.
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.
Could you please check it now?
I do not know why there where some error test and was checked as green over here...
On v16 it is transform automatically, but if you add \n on text wont recognise, thats why i added a replace on field.
Im checking why user_type_id are not found...
95a04f2
to
053a635
Compare
053a635
to
55f3680
Compare
06bd4c9
to
3c0b4e1
Compare
…ve line name TT47802
3c0b4e1
to
39c327f
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.
/ocabot merge minor
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at a17ba49. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa
TT47802
@pedrobaeza @victoralmau