Tuesday, August 6, 2024
3 changes · master
Resolved issues and error corrections
The follow-up report address layout has been adjusted so mailed letters meet Pingen's formatting requirements. This helps ensure customer follow-up letters can be processed correctly by the snail mail service.
Original PR description
Moves the address to fit Pingen requirement by applying the class associated styling. Community PR: https://github.com/odoo/odoo/pull/174635 task-4076930
This change improves how manufacturing work orders record consumed quantities, helping ensure materials are marked and counted correctly when production is completed. It also cleans up related inventory tests and fixes a barcode manufacturing form check to avoid incorrect matches.
Original PR description
# ARCHIVED PR That's pull request was splited in two separate prs `PART 1`: https://github.com/odoo/enterprise/pull/67683 `PART 2`: https://github.com/odoo/enterprise/pull/67684 ## mrp_workorder: fix…
# ARCHIVED PR That's pull request was splited in two separate prs `PART 1`: https://github.com/odoo/enterprise/pull/67683 `PART 2`: https://github.com/odoo/enterprise/pull/67684 ## mrp_workorder: fix quantity consumed operation With the new way of computing the quantity consumed, it is no longer necessary to mark the move_raw_ids in this function, since we call button_finish method right after. In button_finish, we take responsability for marking it as picked and updating the quantity consumed ## clean up _post_inventory tests This commit add 2 simple refactor to our existing tests, they are: -> _post_inventory calling button_mark_done() will call _post_inventory, so, it is not needed to call _post_inventory to test the flow. -> consumed quantities Fixing some tests to make sure that the current flow will not mark the picked as box when we change the quantity produced. ## stock_barcode_mrp: fix misstyping on saveFormView Before the commit, the condition inside saveFormView was returning True, because the same content was fit in two diferents types. The fix for it was just assert the id and the name of the content. task: 3810344
This fixes a mislabeled placeholder in the payroll salary rule setup so it uses the correct quantity field name. It helps prevent confusion or errors when configuring payroll calculations.
Original PR description
result_quantity is actually called result_qty so the placeholder should reflect that.