← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 683023] [NEW] Private variable _no_create_list on magerp_product_attributes

 

Public bug reported:

Hello,

That is not a bug, just a remark, do whatever you want.

I regret that the variable _no_create_list in the class magerp_product_attributes is declared as private.
This variable lets us hide an attribute on the product screen.

In a implementation with custom attributes on Magento, we may need to do
that and it is great to do it in a custom module.

For example, we have an EAN13 Magento's attribute, we have mapped it
with the OpenERP field in a csv file in a custom module, but if we want
to hide the field from the "Magento Information" tab on the product
screen we have to override the private variable and that's bad.

What do you think about declaring it as public ?

Thanks !
Guewen

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
Private variable _no_create_list on magerp_product_attributes
https://bugs.launchpad.net/bugs/683023
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,

That is not a bug, just a remark, do whatever you want.

I regret that the variable _no_create_list in the class magerp_product_attributes is declared as private.
This variable lets us hide an attribute on the product screen.

In a implementation with custom attributes on Magento, we may need to do that and it is great to do it in a custom module.

For example, we have an EAN13 Magento's attribute, we have mapped it with the OpenERP field in a csv file in a custom module, but if we want to hide the field from the "Magento Information" tab on the product screen we have to override the private variable and that's bad. 

What do you think about declaring it as public ? 

Thanks !
Guewen





Follow ups

References