[18.0][MIG] sale_order_product_availability_inline: Migration to version 18.0#3576
Conversation
Show product availability in sales order lines product drop-down.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_product_availability_inline Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_product_availability_inline/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_product_availability_inline Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_product_availability_inline/es/
@sergio-teruel Please take into account that in I think we need to add support for the other field. What do you think? |
|
/ocabot migration sale_order_product_availability_inline |
|
H.. @carlos-lopez-tecnativa you are right... |
@youring sorry, but I don't understand. I noticed in your image that the product is a variant, not a product template, because the name includes attributes like "Custom, White." Please check again. In an existing sale order, with the product variant hidden and the product template displayed, the quantity is not shown.
Regarding your second point: In Odoo 16, the quantity disappears after saving, which matches your observation. Since this PR is migrating the module to V18 (using V17 as the base branch), the behavior follows the V17 standard. |
|
Sorry I didn't test Odoo 17. It seems we should fix in v17 first to keep the functionality from v16. |
|
I don't think the correct behavior is the 16 one. I prefer this "new" one. |
|
Maybe we could change the name to According to the original purpose of the module since v13, I think we should go this way as |
|
@sergio-teruel what's your take on this? |
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
This PR has the |
|
Congratulations, your PR was merged at 5c54cf1. Thanks a lot for contributing to OCA. ❤️ |
|
@carlos-lopez-tecnativa can you help understanding the test error on PR #3581 please? |
@dreispt I confirm that this commit odoo/odoo#209141 changed the behavior and caused the test to fail. Before this commit, the So, I'm not sure what the best approach is — whether to update the test (change |
|
Section and notes should be excluded from putting such text. |













TT54284
@Tecnativa @pedrobaeza @sergio-teruel @SodexisTeam Could you please review this?