Skip to content

[FIX] coop_inventory_recurrent: include zero-qty products in recurrent inventory adjustment#46

Merged
nguyenminhchien merged 1 commit into18.0_devfrom
F#T66187_3
Apr 9, 2026
Merged

[FIX] coop_inventory_recurrent: include zero-qty products in recurrent inventory adjustment#46
nguyenminhchien merged 1 commit into18.0_devfrom
F#T66187_3

Conversation

@Kimkhoi3010
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Collaborator

@nguyenminhchien nguyenminhchien left a comment

Choose a reason for hiding this comment

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

Add unit tests for your changes

string="Category Group",
)
include_zero_qty_products = fields.Boolean(
string="Include Products with No Stock",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Kimkhoi3010 , i just realized there was a field exhausted in 12.0: https://github.com/odoo/odoo/blob/12.0/addons/stock/models/stock_inventory.py#L90

Let's rename your field to exhausted, string="Include Exhausted Products", same as 12.0

@nguyenminhchien nguyenminhchien merged commit fcb7df7 into 18.0_dev Apr 9, 2026
2 of 4 checks passed
@nguyenminhchien nguyenminhchien deleted the F#T66187_3 branch April 9, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants