I have a product set up with several variants (e.g. size and color), resulting in roughly 80 variants for a single product. I have setup a central warehouse and warehouses for the (retail) stores in which the products are sold. Consequently I should configure the replenishment rule for each product. As you might imagine, for 90% of these variants, the replenishment rules will be exactly the same: for the central warehouse it is buying from the (same) supplier, for the stores it is replenishing from the central warehouse. As there are 9 stores, that makes 10 replenishment rules. Apparently the replenishment rules are per product variant (not so strange as you might want different quantities for some variants). However, I would like to avoid creating 80 x 10 = 800 (!!) of these rules manually.
However, if I try to export (import-compatible) and import again, I get an error on the product. The export contains the product including variant specification (e.g. "Odoo T-shirt XL White"), but it is in fact a variant and if I replace it by "Odoo T-shirt L Black" (which is an existing variant), it does not accept this as a correct import ("no corresponding records found for the name in the field product"). It is also not possible to select something like the product variant in the export.
How can I avoid doing all this manual work and hence get the import to work?