openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00349
Magento connector extending with module and options
hi folks,
with the discussion what option should be default how the connector
should handle some data and thinking how to reuse and share more code i
start making a concept to move different option in separate module and
add option that the user can select.
I start with the simple example on handling the disable flag of magento
products. I saw the merge proposal from Jan but see that we can have a
endless discussion in 3 lines of code. So i focus more on have a
alternative solution.
You find my code here:
https://code.launchpad.net/~initos.com/openerp-connector-magento/7.0-magentoerpconnect_options_active/+merge/217423
Some thoughts on that:
- it would nice to add a option with a separate module. Example in my
case: extending product.product with a boolean "not saleable online" and
match Magento product active with this OpenERP option. But i guess this
to fancy.
- i use the replacing function, i m not sure if this is the best
solution and multiple replacing will work or it is always working
correctly if you have a customized connector type on that
For the moment i just want to move the discussion, from having one
option as the default and fight want to having the widespread in the
main repository without plug up the basic module.
Kind Regards
Markus
--
Dipl.-Comp.-Math. Markus Schneider
Softwareentwickler
initOS GmbH & Co. KG
An der Eisenbahn 1
21224 Rosengarten
Mobil: +49 (0)172 2303699
Phone: +49 (0)4105 5615613
Fax: +49 (0)4105 5615610
Email: markus.schneider@xxxxxxxxxx
Web: http://www.initos.com
Geschäftsführung:
Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
Haftende Gesellschafterin: initOS Verwaltungs GmbH
Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht Tostedt, HRA 201840
USt-IdNr: DE 275698169
Steuer-Nr: 15/205/21402
Follow ups