Skip to content

[19.0][MIG] stock_picking_report_valued_sale_mrp: migrate to 19.0 - #519

Open
Sadiq-OSI wants to merge 28 commits into
OCA:19.0from
Sadiq-OSI:work/migrate-stock-picking-report-valued-sale-mrp-19
Open

[19.0][MIG] stock_picking_report_valued_sale_mrp: migrate to 19.0#519
Sadiq-OSI wants to merge 28 commits into
OCA:19.0from
Sadiq-OSI:work/migrate-stock-picking-report-valued-sale-mrp-19

Conversation

@Sadiq-OSI

Copy link
Copy Markdown

Description

Migration of stock_picking_report_valued_sale_mrp to Odoo 19.0.

This addon extends valued delivery slips for sale MRP kits, keeping kit components grouped under the sold kit product and showing the kit valuation on the delivery report.

Changes

  • Copied the addon from 18.0 to 19.0.
  • Updated manifest/version metadata for 19.0.
  • Registered the addon in the repository README and metapackage.
  • Updated 19.0 field references for sale taxes and sale line UoM.
  • Fixed kit delivered quantity computation for two-step delivery routes.
  • Added regression coverage for valued kit delivery slips with pick + ship flow.

Validation

  • Install test passed.
  • Update test passed.
  • Targeted module tests passed.
  • Manual test passed on Odoo 19:
    • Sale order for phantom BoM kit
    • Pick transfer validated
    • Customer delivery validated
    • Delivery slip shows one kit line with correct quantity, subtotal, taxes, and total

@OCA-git-bot OCA-git-bot added series:19.0 mod:stock_picking_report_valued_sale_mrp Module stock_picking_report_valued_sale_mrp mod:stock_picking_report_valued Module stock_picking_report_valued labels Jun 23, 2026
@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-picking-report-valued-sale-mrp-19 branch 4 times, most recently from f96776d to 7e884d2 Compare June 23, 2026 20:19
@Sadiq-OSI Sadiq-OSI changed the title [19.0[[MIG] stock_picking_report_valued_sale_mrp: migrate to 19.0 [19.0][MIG] stock_picking_report_valued_sale_mrp: migrate to 19.0 Jun 24, 2026
chienandalu and others added 22 commits June 26, 2026 15:48
We want to consider backordered moves even if they're cancelled but not
cancelled moves from cancelled orders, that must be filtered. Otherwise,
they pullute the amounts computation.
Update/direct assignation should be used instead.
odoo.tools.convert.ParseError: "Element '<xpath expr="//tr[@t-foreach='o.move_line_ids']">' cannot be located in parent view
When the recordset comes from multiple picking we could get a wrong
calculation of the mrp lines in the report when the conditions of same
component for the same order line would apply. So for every picking we
have to compute the kits valuations independently.

TT33076
… in stock.move

It was a related field in v13, but now it's only on the picking, so
let's access to it in the code.

TT50285
Currently translated at 100.0% (6 of 6 strings)

Translation: stock-logistics-reporting-16.0/stock-logistics-reporting-16.0-stock_picking_report_valued_sale_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_picking_report_valued_sale_mrp/it/
@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-picking-report-valued-sale-mrp-19 branch from 7e884d2 to 2b884b5 Compare June 26, 2026 19:49

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image I can also see changes for other module in this PR.

@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-picking-report-valued-sale-mrp-19 branch from 2b884b5 to c5b7622 Compare July 24, 2026 19:59
@Sadiq-OSI

Copy link
Copy Markdown
Author

Image I can also see changes for other module in this PR.

Fixed. Thank you

@OCA-git-bot OCA-git-bot removed the mod:stock_picking_report_valued Module stock_picking_report_valued label Jul 24, 2026
@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-picking-report-valued-sale-mrp-19 branch from 72380a5 to 2b7307c Compare July 24, 2026 20:16

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_picking_report_valued_sale_mrp Module stock_picking_report_valued_sale_mrp series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants