How do you give each product variant its own ASIN? For instance, I have a product with 6 total variants - how can I assign each variant its own ASIN?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
Hi Colby,
You will have to make a small customization for adding ASIN as this feature is not available by default in odoo 17.
Enable product variants inside Inventory -> Configuration -> Settings
Now you may add a Field for ASIN using a custom module or from Studio, If you prefer a custom module, check the code below or Add field from studio
from odoo import models, fields
class ProductTemplate(models.Model):
_inherit = 'product.template'
asin = fields.Char(string="ASIN")
class ProductProduct(models.Model):
_inherit = 'product.product'
asin = fields.Char(string="ASIN")
Now for each products, you can add a unique ASIN and save it.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
2
aug. 25
|
406 | ||
|
3
iun. 25
|
2317 | ||
Change resume view
Rezolvat
|
|
4
iul. 25
|
1111 | |
|
1
nov. 24
|
1521 | ||
|
2
iun. 23
|
3008 |