Skip to content

[19.0][MIG]: pos_stock_available_online#1567

Open
Alexgars73 wants to merge 37 commits into
OCA:19.0from
Studio73:19.0-mig-pos_stock_available_online
Open

[19.0][MIG]: pos_stock_available_online#1567
Alexgars73 wants to merge 37 commits into
OCA:19.0from
Studio73:19.0-mig-pos_stock_available_online

Conversation

@Alexgars73

Copy link
Copy Markdown

Migration to v19

GabbasovDinar and others added 30 commits June 12, 2026 08:36
Currently translated at 100.0% (16 of 16 strings)

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/it/
Currently translated at 100.0% (16 of 16 strings)

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/
Remove Cetmix from maintainers
Currently translated at 100.0% (16 of 16 strings)

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/es/
Currently translated at 100.0% (16 of 16 strings)

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/es/
Make stock updates not only on quant updates, but also when a stock
move changes its state.

This fixes two bugs:

- Stock is not updated when a new incoming move is ready, or when a
  ready one is cancelled

- Stock is decreased twice because when quant is updated, move is
  taken in account because it is not yet on 'done' state
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/
When notification is triggered by a `stock.move`, it has to use
warehouses related to its locations instead of direct linked
warehouse.
Currently translated at 100.0% (18 of 18 strings)

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/it/
…id) of pos.config() have the same label: Warehouse. [Modules: pos_stock_available_online and point_of_sale]
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-16.0/pos-16.0-pos_stock_available_online
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_stock_available_online/
@OCA-git-bot OCA-git-bot added series:19.0 mod:pos_stock_available_online Module pos_stock_available_online labels Jun 12, 2026
@Alexgars73

Alexgars73 commented Jun 12, 2026

Copy link
Copy Markdown
Author

I added test to all the functions and lines but I can't achieve the coverage
image

@Reyes4711-S73 Reyes4711-S73 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM
Functional Review OK

@Alexgars73 Alexgars73 force-pushed the 19.0-mig-pos_stock_available_online branch from ea8a21a to 6ff2ae4 Compare June 15, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.