-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
[MIG] pos_product_template: Migration to 14.0 #750
Conversation
Could you elaborate which changes don't respect original functionnality in the other PR ? CC : @hparfr |
Hi @legalsylvain, @antoniocanovas will explain in detail. |
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.
Functionally test and code review. looks good to me.
Hello @legalsylvain and @pedroguirao, see attachment. pull.pos_product_template.mov |
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.
Tested in runboat, got the error pasted below.
The error occurs when you select any product.
Traceback:
Error: ProductScreenChildren.find is not a function
_clickProduct@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/479-4355dba/point_of_sale.assets.js:1599:376
__trigger@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:1270:9
owl.Component.prototype.__trigger@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:1422:17
trigger@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:1259:33
anonymous/p507.on.click@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js line 973 > Function:18:107
invokeHandler@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:795:144
handleEvent@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:799:105
handler@http://oca-pos-14-0-pr750-05212161f6d8.runboat.odoo-community.org/web/content/474-b03fd02/web.assets_common.js:801:69
@enriquemartin please review again. |
This PR has the |
@legalsylvain can we merge this PR? |
No answer from @hparfr /ocabot merge patch |
This PR looks fantastic, let's merge it! |
@legalsylvain your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-750-by-legalsylvain-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
/ocabot rebase |
Congratulations, PR rebased to 14.0. |
@pedroguirao : xould you fix pre-commit error ? |
Hi, Don't have time to make a real review here. Just 2-3 remarks: 1- this line is suspcious:
Indeed. |
Thanks @legalsylvain @hparfr i will do asap |
Sorry ! I just figure out I was running and non updated version of pre-commit! |
This comment was marked as spam.
This comment was marked as spam.
Please @pedroguirao review #789 |
Reviewed, now productscreen takes the template img instead of variant one. |
Hello @legalsylvain can we merge this PR? |
Hi ! |
Hi @pedroguirao i tested in runboat and as i remember there was an error when try to add product (in POS), anyway let me post a video |
@pedroguirao please check this video: https://recordit.co/Qq1G4Ia36W |
Ok let me check! curious because i have this versión running on a customer
for a month
El mar, 31 may 2022 a las 15:57, Frisbi ***@***.***>)
escribió:
… @pedroguirao <https://github.com/pedroguirao> please check this video:
https://recordit.co/Qq1G4Ia36W
—
Reply to this email directly, view it on GitHub
<#750 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWG35YPQY5HL2IKLECHJN3VMYLFVANCNFSM5L6OLPMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Pedro José Baños Guirao
***@***.*** ***@***.***>ngenieriacloud.com
--
Antes de imprimir este e-mail piense bien si es necesario, la
conservación del medio ambiente es tarea de todos.
Este mensaje contiene
información CONFIDENCIAL sometida a secreto profesional. Si lo ha recibido
por error, debe saber que la copia, uso o divulgación están prohibidos la
Ley, por ello, le rogamos que nos lo comunique por esta misma vía y proceda
a su destrucción.
Muchas gracias.
|
Great! Please let me know when you have checked 👍 |
@pedroguirao did you have time to check? :) |
Yes! is the same issue reported by @enriquemartin months ago, but we can't
reproduce in our enviorments, we think is related to another module or
runboat enviorment.
El jue, 2 jun 2022 a las 19:31, Frisbi ***@***.***>)
escribió:
… @pedroguirao <https://github.com/pedroguirao> did you have time to check?
:)
—
Reply to this email directly, view it on GitHub
<#750 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWG355DDGPMZBDX5ZXOEWDVNDVXHANCNFSM5L6OLPMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Pedro José Baños Guirao
***@***.*** ***@***.***>ngenieriacloud.com
--
Antes de imprimir este e-mail piense bien si es necesario, la
conservación del medio ambiente es tarea de todos.
Este mensaje contiene
información CONFIDENCIAL sometida a secreto profesional. Si lo ha recibido
por error, debe saber que la copia, uso o divulgación están prohibidos la
Ley, por ello, le rogamos que nos lo comunique por esta misma vía y proceda
a su destrucción.
Muchas gracias.
|
Thanks! @pedroguirao Do you any plan for fix this PR for get the merge ? |
OFC but actually I'm not sure about what is needed to fix, I suppose the
history of the PR but need some guidance of how to fix that. Im looking for
"how to" the past days sorry.
El vie, 3 jun 2022 a las 13:23, Frisbi ***@***.***>)
escribió:
… Yes! is the same issue reported by @enriquemartin
<https://github.com/enriquemartin> months ago, but we can't
reproduce in our enviorments, we think is related to another module or
runboat enviorment.
El jue, 2 jun 2022 a las 19:31, Frisbi *@*.***>)
escribió:
@pedroguirao <https://github.com/pedroguirao>
https://github.com/pedroguirao did you have time to check?
:)
—
Reply to this email directly, view it on GitHub
#750 (comment)
<#750 (comment)>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJWG355DDGPMZBDX5ZXOEWDVNDVXHANCNFSM5L6OLPMA
.
You are receiving this because you were mentioned.Message ID:
*@*.***>
--
Pedro José Baños Guirao
*@*.*** *@*.***>ngenieriacloud.com
--
Antes de imprimir este e-mail piense bien si es necesario, la
conservación del medio ambiente es tarea de todos.
Este mensaje contiene
información CONFIDENCIAL sometida a secreto profesional. Si lo ha recibido
por error, debe saber que la copia, uso o divulgación están prohibidos la
Ley, por ello, le rogamos que nos lo comunique por esta misma vía y proceda
a su destrucción.
Muchas gracias.
Thanks! @pedroguirao <https://github.com/pedroguirao> Do you any plan for
fix this PR for get the merge ?
—
Reply to this email directly, view it on GitHub
<#750 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWG357TAVYVZH6X6DGEQJDVNHTJXANCNFSM5L6OLPMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Pedro José Baños Guirao
***@***.*** ***@***.***>ngenieriacloud.com
--
Antes de imprimir este e-mail piense bien si es necesario, la
conservación del medio ambiente es tarea de todos.
Este mensaje contiene
información CONFIDENCIAL sometida a secreto profesional. Si lo ha recibido
por error, debe saber que la copia, uso o divulgación están prohibidos la
Ley, por ello, le rogamos que nos lo comunique por esta misma vía y proceda
a su destrucción.
Muchas gracias.
|
@enriquemartin any suggestions ? :) |
Hi @pedroguirao , thanks for this work. Can you integrate this commit to the PR ? akretion@7b9c607 I don't know why but I can't do a PR against your repository. |
Hi @pedroguirao , you should find everything here: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0 |
Hi @PierrickBrun Thanks! i tried to cherry-pick it but gives me an error so I made the change manually if you are ok. @francesco-ooops , thanks too, but I read the migrations steps and this case is not explained. Or at least i didn't see it. |
no problem |
@pedrobaeza not the first time I get feedback from a dev having issues applying migration instructions, could you help @pedroguirao out? Thank you! |
Which is the problem? |
Hi Pedro!, seems the history was lost at least there is one complain about
it, and sincerely Im still have no idea of "how to" to recover the history
or apply a solution. Need time or help.
Thanks!
El mar, 7 jun 2022 a las 17:09, Pedro M. Baeza ***@***.***>)
escribió:
… Which is the problem?
—
Reply to this email directly, view it on GitHub
<#750 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWG354BQOYQ73LF2ZBTRALVN5Q3VANCNFSM5L6OLPMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Pedro José Baños Guirao
***@***.*** ***@***.***>ngenieriacloud.com
--
Antes de imprimir este e-mail piense bien si es necesario, la
conservación del medio ambiente es tarea de todos.
Este mensaje contiene
información CONFIDENCIAL sometida a secreto profesional. Si lo ha recibido
por error, debe saber que la copia, uso o divulgación están prohibidos la
Ley, por ello, le rogamos que nos lo comunique por esta misma vía y proceda
a su destrucción.
Muchas gracias.
|
Here are the steps to get the commit history: But this should be done from the beginning. |
@pedroguirao what do you think about this link ? :) |
@pedroguirao can you please check? |
@pedroguirao can you check ? |
@pedroguirao do you think you have time to allocate to this task? We're always available if you need help |
@pedroguirao can you please check? |
@dsolanki-initos @elvise @francesco-ooops Hi all, the steps indicated on https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0#technical-method-to-migrate-a-module-from-130-to-140-branch were made from the beginning as @pedrobaeza says, so if this PR is broken i can close an make a new one from the beginning, it's the fastest solutions but not sure if this is OK for you all. |
@pedroguirao the problem may be that you are doing the migration jumping one version in between. If that's the case, you need to adapt the commands to say |
@pedrobaeza that's it! sorry newbie in contributions, Ok, so I can do the format-patch again and amend or better I do a new PR?. |
You should start from scratch, but save current code, and when you finish the procedure, just remove the existing folder and put the one you save, and commit the result. |
Hi all @legalsylvain , @dsolanki-initos , @elvise , @francesco-ooops , @pedrobaeza and thanks for the support. Just done the process from the beginning en here is the result : #800. I think this PR can be closed. |
the current PR for [MIG] change the initial operative of the module, this PR respect the original funcionality ( In our oppion)