wms icon indicating copy to clipboard operation
wms copied to clipboard

[14.0][IMP] stock_picking_partner_note: display picking info notes in cluster_picking and checkout scenarios

Open JuMiSanAr opened this issue 2 years ago • 10 comments

Depends on:

  • https://github.com/OCA/stock-logistics-workflow/pull/1504

Stock picking partner notes are notes that are pre-defined for each customer and can be displayed for each picking. With this PR, we send them to the frontend for the cluster picking scenario and display them where needed.

This PR also deprecated shopfloor_packing_info in favor of stock_picking_partner_note, which is now used for both checkout and cluster picking.

note_in_cluster_picking

ref: cos-4214

JuMiSanAr avatar Feb 16 '24 07:02 JuMiSanAr

I think you better deprecate this module and update shppfloor to send the picking note to the front and display it in the front You don't need to depend on stock_picking_partner_note as this is just populating the note on the picking

jbaudoux avatar Feb 16 '24 13:02 jbaudoux

I think you better deprecate this module and update shppfloor to send the picking note to the front and display it in the front You don't need to depend on stock_picking_partner_note as this is just populating the note on the picking

@jbaudoux Ok, I've added a note in de DESCRIPTION.rst file in shopfloor_packing_note (let me know if there's a better way to mark a module as deprecated) and I've also pushed to this PR a new shopfloor_stock_picking_partner_note module. Let me know if it looks ok to you.

JuMiSanAr avatar Feb 20 '24 13:02 JuMiSanAr

@jbaudoux I've updated the module with your remarks, but now I'm wondering: will the notes be correctly recomputed each time we change the partner? Because the field introduced in stock_picking_partner_note is stored...

JuMiSanAr avatar Feb 23 '24 08:02 JuMiSanAr

@jbaudoux I've updated the module with your remarks, but now I'm wondering: will the notes be correctly recomputed each time we change the partner? Because the field introduced in stock_picking_partner_note is stored...

Yes, there is a depends on partner: https://github.com/OCA/stock-logistics-workflow/pull/1504/files#diff-9ec7eee25885dbe0455eef41843ed79f5fbfd8c8579b90c09f05754ee93fef2cR13

jbaudoux avatar Feb 23 '24 13:02 jbaudoux

I don't see the display of the note in the zone picking

The task descriptions says it's not applicable for zone picking right?

"In shopfloor cluster picking (n.a. for zone picking), display the respective picking info..."

JuMiSanAr avatar Feb 27 '24 09:02 JuMiSanAr

@JuMiSanAr can you rebase?

simahawk avatar Mar 15 '24 07:03 simahawk

Failing tests should be fixed with: https://github.com/OCA/stock-logistics-workflow/pull/1543

JuMiSanAr avatar Mar 15 '24 11:03 JuMiSanAr

@JuMiSanAr Don't forget to have a meaningful PR's description. It should at least mention the module you modify in order to help reviewing. Thanks

rousseldenis avatar Mar 22 '24 07:03 rousseldenis

image

This test fails because we depend on stock_picking_partner_note, which currently has note as an Html field. As soon as we merge https://github.com/OCA/stock-logistics-workflow/pull/1543#pullrequestreview-1992070362 , the test should pass.

JuMiSanAr avatar Apr 11 '24 07:04 JuMiSanAr

image

This test fails because we depend on stock_picking_partner_note, which currently has note as an Html field. As soon as we merge OCA/stock-logistics-workflow#1543 (review) , the test should pass.

Then you should add that PR as a tmp test req :wink

simahawk avatar Apr 15 '24 07:04 simahawk

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Sep 01 '24 12:09 github-actions[bot]