Skip to content

[IMP] hr_personal_equipment_stock: Enhance compute methods of qty_delivered and lot_ids - #1668

Closed
anusriNPS wants to merge 3 commits into
OCA:16.0from
PyTech-SRL:16.0-enhance-compute_methods
Closed

anusriNPS wants to merge 3 commits into
OCA:16.0from
PyTech-SRL:16.0-enhance-compute_methods

Conversation

@anusriNPS

@anusriNPS anusriNPS commented Nov 12, 2026 •

Copy link
Copy Markdown

Depends on #1497

Display serial number under "Personal Equipment" Tab in Personal Equipment request form view when Personal Equipment Request is in "Accepted" state.

  1. Introduced lot_ids as computed field which helps to update serial number even when pickings are duplicated.
  2. Corrected qty_delivered field to be uptodate based on stock availability in PPE location which helps to avoid wrong field updation when an allocation is returned from pickings or pickings are duplicated.

Backported commit e970876f0a692a494f2c87c6792ac139b90592c7 from #1643 which includes usage of common method for filtering moves in lot_ids and qty_delivered compute method and also uses quantity conversion while computing qty_delivered.

   Display serial number under "Personal Equipment" Tab
in Personal Equipment request form view when Personal
Equipment Request is in "Accepted" state.
   Using proper values for qty_delivered based on stock availability
when a picking associated with allocation is validated/returned/scrapped.
   Enhanced computation method of qty_delivered and
lot_ids to use common methods for same logic. Using
quantity conversion while computing qty_delivered.
@anusriNPS

Copy link
Copy Markdown
Author

As commit included in #1497 PR, closing this MR

@anusriNPS anusriNPS closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_personal_equipment_stock Module hr_personal_equipment_stock series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants