Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4289 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jul. 24
1603
1
jun. 24
4143
1
okt. 23
9582
1
okt. 23
98
1
aug. 23
2193