c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06065
Re: [Bug 682601] [NEW] Unlink images on Magento
2010/11/29 Guewen Baconnier @ Camptocamp <682601@xxxxxxxxxxxxxxxxxx>:
> When you add an image on a product and use the "Update Images" button on the shop, the images are created on the Magento's products.
> But if you delete an image on OpenERP, it remains on Magento.
It isn't a bug. It's a new feature/blueprint.
Magentoerpconnect only create/update images
line 73: result =
conn.call('catalog_product_attribute_media.update',
line 92: result =
conn.call('catalog_product_attribute_media.create',
if do you like unlink, do you first check all images product and
compare openerp manager. If one image not exist, unlink/remove this
image.
Resource Name: catalog_product_attribute_media
Aliases:
* product_attribute_media
* product_media
Methods:
* catalog_product_attribute_media.currentStore - Set/Get
current store view
* catalog_product_attribute_media.list - Retrieve product image list
* catalog_product_attribute_media.info - Retrieve product image
* catalog_product_attribute_media.types - Retrieve product image types
* catalog_product_attribute_media.create - Upload new product image
* catalog_product_attribute_media.update - Update product image
* catalog_product_attribute_media.remove - Remove product image
--
Raimon Esteve
// OpenERP, gestió empresarial flexible
// Magento, botigues virtuals dinàmiques
// AulaERP, formació online
// easyOERP, tu aplicación OpenERP lista para usar
www.zikzakmedia.com
--
Unlink images on Magento
https://bugs.launchpad.net/bugs/682601
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in Magento Open ERP Connector: New
Bug description:
Hello,
When you add an image on a product and use the "Update Images" button on the shop, the images are created on the Magento's products.
But if you delete an image on OpenERP, it remains on Magento.
So here is a patch proposal to delete the Magento's images also.
Thanks,
Guewen
References