Skip to content

[16.0][ADD] purchase_quick_product_supplierinfo_qty_multiplier#2988

Open
quentinDupont wants to merge 1 commit intoOCA:16.0from
grap:16.0-ADD-purchase_quick_product_supplierinfo_qty_multiplier-QD
Open

[16.0][ADD] purchase_quick_product_supplierinfo_qty_multiplier#2988
quentinDupont wants to merge 1 commit intoOCA:16.0from
grap:16.0-ADD-purchase_quick_product_supplierinfo_qty_multiplier-QD

Conversation

@quentinDupont
Copy link
Contributor

@quentinDupont quentinDupont commented Mar 13, 2026

image

This module extends the OCA purchase_quick module to add extra fields to display that comes from product_supplierinfo_qty_multiplier

This module force right input quantity (superior to min and compliant with multiplier). It adds temporarly a background red color warning, if quantity are not compliant with the supplier settings.

@quentinDupont
Copy link
Contributor Author

quentinDupont commented Mar 13, 2026

Shit, logic is different between purchase_quick and this module

Last test of purchase_quick says :

Checks that if you enter a qty_to_process lower than the seller's min_qty, the price_unit in the purchase.order.line is the standard_price.

But my module forces the quantity to be compliant with supplier info : if quantity is lower than min_qty → this module changes the quantity.

That's why the CI is red ❌

@quentinDupont quentinDupont force-pushed the 16.0-ADD-purchase_quick_product_supplierinfo_qty_multiplier-QD branch from 0f278c6 to 58876b2 Compare March 16, 2026 15:07
@quentinDupont quentinDupont force-pushed the 16.0-ADD-purchase_quick_product_supplierinfo_qty_multiplier-QD branch from 58876b2 to 01b9edf Compare March 17, 2026 23:07
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.

1 participant