Repository navigation
Conversation
df1fb49 to
2cd7e10
Compare
|
@roboadhoc r+ nobump rebase-ff |
|
Merge method set to rebase and fast-forward. |
|
@roboadhoc check |
|
Updated message. No update to pr head. |
|
Revisión adversarial de la migración (solo lectura, no bloquea el merge). El detalle completo, con la evidencia de cada punto, está en la nota interna de la tarea 76375: https://www.adhoc.inc/odoo/project.task/76375 Alta · del salto
Media · del salto
Bajas
Dos puntos del reporte, corregidos
Verificado y bien: |
|
Tercera ronda sobre
Bajas: los dos campos guardados por contexto no declaran Fuera de mi alcance: no instalé ni corrí los tests; los 18 en verde los respalda el runbot del head, no yo. |
…card In es_419 the core card is translated as "Sin recibir" while its own tooltip reads "no reconocidas". The counter also drops when a receipt is validated, because purchase_stock calls action_acknowledge() from picking._action_done(), so users read the card as pending deliveries. Rename the card, its two tooltips and the search filter to state what the counter really holds: purchase orders with no vendor acknowledgement and no validated receipt. The "Acknowledge" button is renamed as well, since es_419 translates it as "Confirmar", the same word used for "Confirm Order". Labels only, no behaviour change. Change note: se renombra la tarjeta "Sin recibir" del tablero de Compras, sus globos de ayuda y el filtro de búsqueda, que cuentan órdenes de compra sin acuse del proveedor y sin recepción validada. closes ingadhoc#380 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit f5d78e1)
Part-of: ingadhoc#388 Related: ingadhoc/sale#1945 Related: ingadhoc/miscellaneous#475 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit e1ac051)
closes ingadhoc#388 Related: ingadhoc/sale#1945 Related: ingadhoc/miscellaneous#475 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit ca324c4)
- migrator: version and installable - upgrade_code 19.4-00-ir-access: ir.model.access.csv is now ir.access.csv - FontAwesome icons are now Material Symbols - purchase.order.line and product.supplierinfo: product_uom_id is now uom_id - _get_date_planned takes the seller info dict from _get_seller_info() - purchase.bill.line.match: _table_query is now _table_sql; the list view shows description instead of display_name, and Qty Received is anchored before Qty to invoice - the bill matching search view extends the one that purchase adds in 20.0, and the module _order is dropped for the native one, which keeps matched pairs together - the units of measure guard also covers the Qty to invoice column of 20.0, and both quantities declare the context they depend on - purchase adds a primary line form in 20.0 that became the default one: the Purchase Lines menu opens form2 again, and the new form is read-only too - ir.config_parameter.get_param is now get_str - remove models/ir_model_access.py: it was never imported - ProductCommon runs tests as a product manager since 20.0: keep them as admin - reference_description drops its Description label, which clashed with the native description field - the purchase dashboard template reads this.state.* in 20.0 and uses Material Symbols for the priority star - tests for the wizard access, the read-only line forms and the units of measure guard
Since 19.0 the precision is called Product Unit, so the module quantities fell back to 2 digits and could round the quantity to bill.
Odoo removed the limit="200" of the purchase order line list (odoo/odoo#291285), so the list is back to the default of 40 lines per page. The setting only made sense to bring that default back; now it can only raise the page size, which makes long orders slower.
c25d8b3 to
dc5c455
Compare
|
Cuarta pasada, sobre Un punto, y es de proceso: el force-push ( De mi lado no queda nada abierto. Falta el runbot y la respuesta de zem sobre el botón. |
|
@roboadhoc r+ |
…card In es_419 the core card is translated as "Sin recibir" while its own tooltip reads "no reconocidas". The counter also drops when a receipt is validated, because purchase_stock calls action_acknowledge() from picking._action_done(), so users read the card as pending deliveries. Rename the card, its two tooltips and the search filter to state what the counter really holds: purchase orders with no vendor acknowledgement and no validated receipt. The "Acknowledge" button is renamed as well, since es_419 translates it as "Confirmar", the same word used for "Confirm Order". Labels only, no behaviour change. Change note: se renombra la tarjeta "Sin recibir" del tablero de Compras, sus globos de ayuda y el filtro de búsqueda, que cuentan órdenes de compra sin acuse del proveedor y sin recepción validada. closes #380 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit f5d78e1) Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
Part-of: #388 Related: ingadhoc/sale#1945 Related: ingadhoc/miscellaneous#475 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit e1ac051) Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
closes #388 Related: ingadhoc/sale#1945 Related: ingadhoc/miscellaneous#475 Signed-off-by: Luciano Esperlazza <les@adhoc.inc> (cherry picked from commit ca324c4) Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
- migrator: version and installable - upgrade_code 19.4-00-ir-access: ir.model.access.csv is now ir.access.csv - FontAwesome icons are now Material Symbols - purchase.order.line and product.supplierinfo: product_uom_id is now uom_id - _get_date_planned takes the seller info dict from _get_seller_info() - purchase.bill.line.match: _table_query is now _table_sql; the list view shows description instead of display_name, and Qty Received is anchored before Qty to invoice - the bill matching search view extends the one that purchase adds in 20.0, and the module _order is dropped for the native one, which keeps matched pairs together - the units of measure guard also covers the Qty to invoice column of 20.0, and both quantities declare the context they depend on - purchase adds a primary line form in 20.0 that became the default one: the Purchase Lines menu opens form2 again, and the new form is read-only too - ir.config_parameter.get_param is now get_str - remove models/ir_model_access.py: it was never imported - ProductCommon runs tests as a product manager since 20.0: keep them as admin - reference_description drops its Description label, which clashed with the native description field - the purchase dashboard template reads this.state.* in 20.0 and uses Material Symbols for the priority star - tests for the wizard access, the read-only line forms and the units of measure guard Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
Since 19.0 the precision is called Product Unit, so the module quantities fell back to 2 digits and could round the quantity to bill. Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
Odoo removed the limit="200" of the purchase order line list (odoo/odoo#291285), so the list is back to the default of 40 lines per page. The setting only made sense to bring that default back; now it can only raise the page size, which makes long orders slower. Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>
Part-of: #389 Signed-off-by: ced-adhoc <ced@adhoc.com.ar>

Tarea: https://www.adhoc.inc/odoo/project.task/76375
Migration of
purchase_uxfrom 19.0 to 20.0. The behaviour stays the same as in 19.0.Changes
20.0.1.0.0andinstallable.upgrade_code19.4-00-ir-access:ir.model.access.csvbecomesir.access.csv. Same groups and operations as in 19.0.fa-bullseyebecomescrisis_alert.purchase.order.lineandproduct.supplierinfo:product_uom_idis nowuom_id._get_date_plannedtakes the seller info dict, so the code uses_get_seller_info().purchase.bill.line.match:_table_queryis now_table_sql.descriptioninstead ofdisplay_name. The module still replaces it withreference_description.purchaseadds in 20.0, so the native filters and groupings stay.get_paramis nowget_str.models/ir_model_access.pyis removed: it was never imported.ProductCommonruns as a product manager since 20.0, soTestPurchaseOrderkeeps running as admin, aspurchasedoes in its own tests. New tests cover the wizard access inir.access.csv, the read-only form of the Purchase Lines menu and the units of measure guard.reference_descriptiondrops itsDescriptionlabel, which clashed with the nativedescriptionfield. The views still show "Description".res_partner.xlsx, from [FIX] base_ux: remove 'Capital Federal' from contact import template #392) and adapts the card to the 20.0 template. The 19.0 fix 28154ba ([FIX] purchase_ux: use product_uom_id when initializing date_planned on confirmed lines #379) is covered by the switch to_get_seller_info().[FIX]: the decimal precision is calledProduct Unitsince 19.0. The module usedProduct Unit of Measure, which silently fell back to 2 digits and could round the quantity to bill.[REM]: drop the "Lines per page" setting. Odoo removed thelimit="200"of the order line list ([FIX] purchase: remove order line limit odoo/odoo#291285), so 20.0 is back to the default of 40 lines per page, which is what the setting was added for. Measured on a 300-line order: 40 rows open in about half the time of 200 rows.Also in the
[MIG]commit, after the review:purchase_order_line_view_form_invoicebecame the default one in 20.0. The Purchase Lines menu andaction_line_formopenpurchase_order_line_form2again, and the new form gets the same read-only restriction._orderis dropped in favour of the native one, which keeps matched pairs together.ir.access.csvgrants to both wizards.purchase_order_line_form2.dependsandauto_installare unchanged. The manifest addsassetsfor the dashboard card. Thepurchase_ux.order_line_view_limitsystem parameter stays in upgraded databases, unused. The license stays AGPL-3: no dependency reaches Enterprise.No data migration script is needed. The fields that change are core fields and the Odoo upgrade migrates them. The module stored fields keep their shape and meaning.
Test plan
Runbot does not run the 19.0 → 20.0 upgrade yet, so this was not tested on an upgraded database.