[18.0][MIG] web_widget_one2many_tree_line_duplicate: Migration to 18.0#3250
Conversation
- When we clone a line, we can be interested in preloading those fields availiable in other field views available. Otherwise, we could be unable to get the proper states in the cloned line. - When we load the cloned field values from the rpc method, we must discard those fields not available in the views or some subproccess could try to get their state causing errors. TT38191
On the cloned record we were unable to change the values of the relational fields we we just had edited it. Here is solved adding a pseudo onchange method that triggers the proper refreshed values as if the record was made manually. TT38191
Currently translated at 100.0% (1 of 1 strings) Translation: web-16.0/web-16.0-web_widget_one2many_tree_line_duplicate Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_one2many_tree_line_duplicate/it/
|
/ocabot migration web_widget_one2many_tree_line_duplicate Please @CarlosRoca13 check if the one2many nested into another one2many is working with this migration. |
CarlosRoca13
left a comment
There was a problem hiding this comment.
Hi @ArnauCForgeFlow , thanks for the work done, but there are still a couple of things to polish:
It seems that the price is not being transferred from one line to the other.

There is a shift in the delete-line icon that makes it appear off-screen.

410953e to
f491d3d
Compare
|
@CarlosRoca13 both problems should be fixed now, could you check again? thanks! |
|
@CarlosRoca13 A kind reminder here, could you check if it looks good now? |
f491d3d to
662849b
Compare
662849b to
e6219a9
Compare
|
On my way to merge this fine PR! |
|
This PR has the |
|
Congratulations, your PR was merged at 00c5a2f. Thanks a lot for contributing to OCA. ❤️ |
Migration to 18.0