Magento HTML tags are are copied to product description and description_sale
Bug #1258414 reported by
Stefaan Ferket
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Connector - Magento |
Confirmed
|
Low
|
Unassigned |
Bug Description
Magento allows to have HTML tags in product description and short_description (OpenERP description_sale).
These tags are copied to OpenERP when product is created.
Can we filter out all HTML tags when creating the product in OpenERP?
We use additional module magentoerpconnect.
Related branches
lp://staging/~jan-philipp-fischer/openerp-connector-magento/7.0-strip-html
Ready for review
for merging
into
lp://staging/~openerp-connector-core-editors/openerp-connector-magento/7.0
- Guewen Baconnier @ Camptocamp: Needs Resubmitting
- Jan-Philipp Fischer (community): Needs Resubmitting
- Sébastien BEAU - http://www.akretion.com: Needs Fixing
-
Diff: 63 lines (+34/-2) (has conflicts)2 files modifiedmagentoerpconnect/product.py (+6/-2)
magentoerpconnect/unit/mapper.py (+28/-0)
affects: | openerp-connector → openerp-connector-magento |
To post a comment you must log in.
Hello,
Thanks for the bug report.
Either we strip the HTML tags, either we use new fields for the HTML descriptions (but they won't necessarily be integrated with the rest, such as the reports...).
Hints: stackoverflow. com/questions/ 753052/ strip-html- from-strings- in-python /code.launchpad .net/~camptocam p/openerp- connector/ 7.0-connector- closure- functions/ +merge/ 193389
- Strip HTML: http://
- Modifiers: https:/