Comments (45)
@flotho as soon as the V8 one is published, I'll start to work on the V9 one. I have nothing against pushing a temporary working branch on which we merge each ones pull requests optimistically, if the PSC does not have any issue with that.
from connector-prestashop.
I'm doing today!
from connector-prestashop.
I'd would be glad to have a link to the branch if there is any :)
I'd like to propose a slightly different layout for the models (in fact, more an extension) than the usual one for this migration. This is a layout I used for my lasts custom connectors and it works well when we have a lot of classes for a model (we have, in the connectors):
connector_xyz
├── data
├── __init__.py
├── models
│ ├── __init__.py
│ ├── product_category
│ │ ├── common.py
│ │ ├── exporter.py
│ │ ├── importer.py
│ │ └── __init__.py
│ ├── product_product
│ │ ├── common.py
│ │ ├── exporter.py
│ │ ├── importer.py
│ │ └── __init__.py
│ ├── product_template
│ │ ├── common.py
│ │ ├── exporter.py
│ │ ├── importer.py
│ │ └── __init__.py
│ ├── sale_order
│ │ ├── common.py
│ │ ├── exporter.py
│ │ ├── importer.py
│ │ └── __init__.py
│ └── sale_order_line
│ ├── common.py
│ ├── exporter.py
│ ├── importer.py
│ └── __init__.py
└── views
common.py
contains the openerp.models.Model
definition/inherit and the things which are common to both the importer and the exporter (Binder, Adapter), the other files speak by themselves. Of course, you can have more or less files for a model.
from connector-prestashop.
I just sent an email to the contributors mailing list to try and get some fresh blood on this project
from connector-prestashop.
Hi @pedrobaeza ,
I would like to contribute to this activity, please let me know how can I help.
Regards,
Ajay
from connector-prestashop.
Hi, you can take the current work that is across the PRs and try to get it work, but for v9 is still too soon, because there is a lot of dependencies not migrated (connector, sale-workflow...). Maybe you can try in v8, and then let this prepared for v9.
from connector-prestashop.
Hi @Ajaeel , @pedrobaeza
I also would like to migrate this part in V9.
Actually I'm wondering how to deal with sale workflow. As you probably know, Odoo v9 has no more workflow on sale.order.
@pedrobaeza What are you recommendations? re-implement the Odoo v8 part or try to make it lighter ?
regards
from connector-prestashop.
@Ajaeel @flotho ongoing discussion at OCA mailing list
https://odoo-community.org/groups/contributors-15/contributors-37353?
from connector-prestashop.
I understand that this is about connecting PrestaShop with ODOO version 9. May I ask if the connector to version 8 was already finished?
from connector-prestashop.
This issue was automatically generated. Indeed, v8 nor v9 is yet migrated.
from connector-prestashop.
Thanks for your quick feedback! Is there any ongoing progress? Our ODOO consultant was looking on github for others to work together to migrate to version 8 yet no sufficient reply. Since we upgraded the erp to v8 we can't set up a synchronization with our PrestaShop 1.6 site.
from connector-prestashop.
Not for now, but we will propose the migration in the next months
from connector-prestashop.
I have proposed a Prestashop-Odoo solution to one of my clients but... no connector available! He is very interested and a little financial effort will also be possible to have this done! I don't have the python knowledge enough to help you on this, @pedrobaeza
V8 alone will be nice for me right now.
from connector-prestashop.
Hi @dalareo, this branch https://github.com/flotho/connector-prestashop/tree/8.0-parthiv-mig has been the most advanced try for porting in v8. @parthivgls has done a great job and I personnaly add some functionnality.
Sadly, it hasn't been merged (optimistic merged would have been appreciated here) in the official OCA.
regards
from connector-prestashop.
Thanks @flotho! I am waiting for v9 to be available as it is the version my customers are using now!
from connector-prestashop.
Anyone started to work on the migration for v9? I plan to start working on it soon, so I'd want to avoid double work.
from connector-prestashop.
me me me .... 💯 but first connector-ecoomerce to be completed..
from connector-prestashop.
@atchuthan is also working in the migration to v9 AFAIK.
from connector-prestashop.
We will release the migration to version 8 on September, with a total rework. I think you can wait until then and see our work, and then talk about it. What do you think?
from connector-prestashop.
About the layout itself, isn't too many files? Having into account that the exporter is implemented in a separated module...
from connector-prestashop.
@pedrobaeza no there are not too many files when you have a lot of classes. When I open a Python module and I see a long list of classes, with mappers, exporters, importers and so on all mixed, the only thing I think is "What a mess!". Trust me, through all the connectors I developed since years, the layout above is the result of a process to find the ideal solution. For the custom connectors I developed with that layout, I would never ever return back to a style where you have all mixed.
@pedrobaeza is your rework public? Even before all is done, I could start to work on something and assume doing some rebase at times :) Do you still use prestapyt which is hardly maintained (and if yes, did you need to modify it?)?
from connector-prestashop.
As said, it's going to be released on September (next week) as a PR here. Yes, we use prestapyt. In fact, you have a PR to approve 😉 : prestapyt/prestapyt#34.
Maybe we can transfer the repository to OCA.
OK about the files. You're right that we can isolate each class in a file, following OCA's guidelines.
from connector-prestashop.
@pedrobaeza okay, thanks
I merged the prestapyt PR
from connector-prestashop.
Did anyone had a look at https://github.com/openlabs/pystashop? It looks better than prestapyt IMO (as the prestapyt author, I'm allowed to say that :)). When I wrote prestapyt, working with dicts was a requirement, that's why it converts to and back from dictionaries, nowadays, making the connector's Mapper agnostic to the format would be great anyway.
from connector-prestashop.
I didn't know, but I don't have a very good feeling surrogating part of our needs to a library from OpenLabs. I remember bad experiences in the past from contributors with the Magento library. Am I wrong?
from connector-prestashop.
We use the magento python lib from OpenLabs for the Magento connector and I'm not aware of any issues, had patch(es?) merged. Also, it's open source, we would not be depending on anyone if things would go wrong.
from connector-prestashop.
OK, if you want to take a look for version 9, go ahead. We have already working everything in version 8, so now switching is a work we can't afford.
from connector-prestashop.
Absolutely, I never thought you would change for v8.0 now. I'm also not saying we should use it, but I'll evaluate the option.
from connector-prestashop.
@guewen , great news for the layout,
I'm not so experienced in connector framework and the prestashopconnector is really a mess for someone who tried to understand how the classes are structured.
So I really would like to cooperate on this all the more so as I've already started some migration https://github.com/flotho/connector-prestashop/
My point is how to cooperate fast? Could it be interesting to start the famous optimistic merge on a dedicated branch?
@gaelTorrecillas and I would like to give some time on this as we need this migration fast. Does anyone could propose a way to split/distribute the job?
Regards
from connector-prestashop.
Hi @sebastienbeau , @guewen , @pedrobaeza ,
Could anyone take the leadership on this migration, we really would like to contribute actively.
regards
from connector-prestashop.
@gurneyalex , thanks
@gaelTorrecillas and I would appreciate to give our fresh blood on this ;-)
from connector-prestashop.
@pedrobaeza when do you expect to push? Sorry if I'm insistent, but I have time on my planning today and tomorrow to kick off the 9.0 migration. Nobody will blame you if the branch is not perfect yet :)
from connector-prestashop.
@pedrobaeza any review I can do on prestashop connector's dependency addons?
from connector-prestashop.
@pedrobaeza yeaah, looking forwards to it :)
from connector-prestashop.
Hi @pedrobaeza,
Great thanks for your PR on v8 migration with newer PS versions. We'll take care of that part.
from connector-prestashop.
Hi @guewen , @pedrobaeza ,
Did you decided to have an optimistic PR for the v9 migration. I have 1.5 devs available for the next 2 weeks and really would like to help on this.
Regards
cc @gaelTorrecillas
from connector-prestashop.
@flotho my working branch is there: https://github.com/guewen/connector-prestashop/tree/9.0-migration-connector-prestashop
I'm working on the reorganization of the files, which must be done before we can work at more than one person at a time.
from connector-prestashop.
Hi @guewen ,
If you agree, we're going to work on this with @gaelTorrecillas. regards
from connector-prestashop.
Hi @guewen,
In original openerp of connector-prestashop, this module depended on product_custom_attributes,
what replaces it here? will you replace it with product_custom_info?
from connector-prestashop.
@gaelTorrecillas, that's not needed. Any specific PrestaShop information is put directly on the prestashop.product.product model (the binding).
from connector-prestashop.
hi,
@pedrobaeza thank you for your answer,
@guewen, where are you with the connector prestashop migration? and do you have part on which we can work to avoid overlap with your work?
from connector-prestashop.
@gaelTorrecillas look at the description of the issue, I added some tasks, you can see my progress as I tick the boxes. I'm working on the "payment method to account.payment.mode" task. Choose a task you would be comfortable to work on, the list is not exhaustive you might have other things to do. If you'll need the "catalog" module, you could also work on it as I didn't even started.
from connector-prestashop.
@gaelTorrecillas could you comment on the pull request #24 ?
from connector-prestashop.
yes,
sorry, I'm not on the right topic
from connector-prestashop.
As the connector is now merged, we can close this tracking issue. Thank you to all the contributors.
from connector-prestashop.
Related Issues (20)
- [v10] Not A Issue: Is it possible to extend the functionality without modifying the core modules HOT 5
- [v10.0]Dummy package used in requirements.txt HOT 2
- [10] Misleading comment for dependencies. HOT 4
- Migration to version 13.0 HOT 2
- connector related problem using odoo 11, can't import HOT 3
- Migration to version 14.0 HOT 1
- TypeError during connector installation: Model 'connector.config.settings' inherits from non-existing model 'base.config.settings' HOT 1
- While Migrating the server I am facing this error as soon as I include the module. HOT 2
- Is this repository abandoned ? HOT 1
- Migration to version 15.0 HOT 2
- Prestashop - Odoo - Link Orders problem HOT 3
- Not connect to Prestashop HOT 3
- Does not synchronize with Prestashop HOT 2
- connector-prestashop v14 version_key missing HOT 1
- Allow to resync Orders HOT 1
- Order can't be imported. Tax groups must have one and only one tax HOT 1
- Migration to version 16.0
- Can't see product lines in order, only the shipment product HOT 1
- Can't see product lines in order, only the shipment product HOT 1
- Migration to version 17.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connector-prestashop.