Skip to Content
Menu
This question has been flagged
3 Replies
4049 Views

Hello, I am new to Odoo development. I was wondering how we may begin to solve the below scenario? 

Version: Odoo 11

Scenario: We have a T-Shirt with Three colour variants: Black, Blue, Pink. Our Company decides to discontinue Pink as it does not sell well. We wish to prevent additional purchasing Pink so we can sell remaining stock as usual before archiving said variant once stock runs out.

Action: From Product Variants page we edit T-Shirt (Pink) and remove the tick from "Can be Purchased"

Expected: Can be Purchased is deselected on Pink. Black and Blue still have Can be Purchased selected.

Actual: Can be Purchased is a Template option so all three variants have Can be Purchased deselected.

Avatar
Discard
Best Answer

Simple way to solve this problem is to remove Vendor from the Product Variant(Pink).So that we can only create purchase order manually for T-shirt(pink).

Avatar
Discard
Best Answer

Check this module: https://www.odoo.com/apps/modules/10.0/product_variant_supplierinfo/

You could adapt and install this module for Odoo 11.0 and then delete the supplier for your variant "Pink", or you can use it as a blueprint for your own module.

Avatar
Discard
Best Answer

As you said, can be purchased is a template field and it will be removed from all product variants.

What you can do is removing the order rules for Pink so the system will not kick any purchase orders for it but you will be able to create Purchase Order manually for it.

Or if you don't have any stock qty, you can deactivate it.

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
942
1
Jun 24
3564
1
Oct 23
8590
1
Oct 23
97
1
Aug 23
2192