OCA / stock-logistics-workflow

Odoo Stock, Workflow and Organization
GNU Affero General Public License v3.0
226 stars 642 forks source link

[17.0][MIG] stock_restrict_lot #1652

Closed jcadhoc closed 1 month ago

rousseldenis commented 2 months ago

/ocabot migration stock_restrict_lot

rousseldenis commented 2 months ago

@jcadhoc Could you fix tests ? Thanks

StefanRijnhart commented 2 months ago

@jcadhoc

 2024-07-10 14:53:10,538 248 ERROR odoo odoo.addons.stock_restrict_lot.tests.test_restrict_lot: ERROR: TestRestrictLot.test_procurement_with_2_steps_output
Traceback (most recent call last):
  File "/__w/stock-logistics-workflow/stock-logistics-workflow/stock_restrict_lot/tests/test_restrict_lot.py", line 215, in test_procurement_with_2_steps_output
    assert_move_line_per_lot_and_location(
  File "/__w/stock-logistics-workflow/stock-logistics-workflow/stock_restrict_lot/tests/test_restrict_lot.py", line 194, in assert_move_line_per_lot_and_location
    self.assertEqual(concern_move_line.reserved_uom_qty, expect_reserved_qty)
AttributeError: 'stock.move.line' object has no attribute 'reserved_uom_qty'
StefanRijnhart commented 2 months ago

BTW there already was https://github.com/OCA/stock-logistics-workflow/pull/1550 but its CI does not look any better.

StefanRijnhart commented 2 months ago

And I would be curious to know what you think about https://github.com/OCA/stock-logistics-workflow/pull/1560.

peluko00 commented 1 month ago

Any update @jcadhoc?

jcadhoc commented 1 month ago

@rousseldenis Thanks for reminder, i will see it

jcadhoc commented 1 month ago

@StefanRijnhart Sorry, i didnt see the older pr, for me its the same if i give +1 or we merge this, technically seems the same but my pr have precommit ok.

StefanRijnhart commented 1 month ago

@jcadhoc No, go ahead, the other PR is not responding. Can you check my other comments?

jcadhoc commented 1 month ago

@rousseldenis @StefanRijnhart All green this time!

Sorry for the delay, i think it's ok to merge, let mi know if i miss something else..

Thank you!

OCA-git-bot commented 1 month ago

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

StefanRijnhart commented 1 month ago

Thanks, looking good now. Please squash the last commit [IMP] : pre-commit auto fixes into the migration commit as it corrects the linting of a change in that commit.

jcadhoc commented 1 month ago

@StefanRijnhart Ready!

Thanks for guide me :)

peluko00 commented 1 month ago

It's ready for merge @StefanRijnhart?

StefanRijnhart commented 1 month ago

@peluko00 Yes!

/ocabot merge nobump

OCA-git-bot commented 1 month ago

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-1652-by-StefanRijnhart-bump-nobump, awaiting test results.

OCA-git-bot commented 1 month ago

Congratulations, your PR was merged at 5971a5f8f52fb13cf2e86f6627a8d4dc1b28da24. Thanks a lot for contributing to OCA. ❤️