Comments (25)
from delivery-carrier.
That seems interesting indeed.
What do you think of this @OCA/logistics-maintainers ?
@OCA/core-maintainers
from delivery-carrier.
Why not an organisation outside OCA but mainly maintained by @OCA/core-maintainers in the beginning of the story and joined by other dev over the time ?
It was just a ping
from delivery-carrier.
It could be a chance unifying (even if the final solution won't be perfect) and simplifying delivery carriers communication implementation with Odoo on the OCA side.
Moreover such modules are (maybe my impression) not easily reviewable for external people as they strongly depends on carrier communication implementation (and not really Odoo implementation).
So, adding carriers could become easy...
I'm not against creating a new organization but letting on OCA could be nice too and let it more visible.
from delivery-carrier.
No problem on my side, I let others decide. Thanks a lot Denis
from delivery-carrier.
@bealdav the problems I see in the Python library approach are:
- We need to adapt standard OCA processes with Odoo modules for testing this library, deploying it, etc, which is a big maintenance burden.
- You can't anticipate changes in carrier, so you can find that you need to change the API of your library because of these changes and you'll end up with more changes: the one in the library and a change on each of the module versions calling the API in the new way.
- If module structure is the same across versions, it's easier to simply cherry-pick the commit with the changes.
so I think it's better to keep current approach.
from delivery-carrier.
We need to adapt standard OCA processes with Odoo modules for testing this library, deploying it, etc, which is a big maintenance burden
It's not the case if we put the lib outside OCA: it makes a lib like any other one : you call it from odoo, lib answer : all the world can be in odoo don't you think ?
You can't anticipate changes in carrier ...
All changes are not breaking changes : Oca module only implements a sub part of carrier features : the financed ones, then no impact in most of cases.
Others can explain their point of view
from delivery-carrier.
It's not the case if we put the lib outside OCA: it makes a lib like any other one : you call it from odoo, lib answer : all the world can be in odoo don't you think ?
The question is not to put it outside or inside OCA. It's about QA processes: with Odoo modules, you have a lot of tools, and everything already set-up. With Python libraries, you don't.
from delivery-carrier.
For sure, but it seems there are good practices to learn in the python world too (some good packages are inside).
As developer, I'm interested to be a python dev, not only a django dev or a oca dev.
Probably others dev too ! ?
Don't you ?
from delivery-carrier.
No, I want to be effective
from delivery-carrier.
Ok you won.
I can't win on the NIH syndrom ;-)
from delivery-carrier.
Hahaha. Mine is also another opinion like yours, so for now 1-1. Let's see others.
from delivery-carrier.
Anyway the main purpose is to have more contributors on this technical topic and you don't taken account this part Pedro
from delivery-carrier.
Well, my reasons for not doing this are quite technical.
from delivery-carrier.
Sorry but based on this example https://github.com/kennethreitz/requests (or a lot others), consider than OCA tools have better quality than python package seems presumptuous and make irrelevant reasons
from delivery-carrier.
Well, my reasons for not doing this are quite technical.
So, we are all technical people and I think this should not be a limitation. We have many examples under the OCA depending on external libraries maintained by OCA itself.
My advice is to make that repository, let people who want to use it, implement it in their particular delivery modules (maybe with a base_roulier under delivery-carrier) and let see.
It allows to let the implementation becomes more mature with time and not introducing a big-bang.
What do you think @pedrobaeza @bealdav ?
from delivery-carrier.
@bealdav I'm not saying OCA tools have better quality. It's simply that we, OCA prepared, are not so prepared for handling Python libraries than Odoo modules, and I prefer to not needing to learn that being a residual part of my work.
Said that, if you want to go that way, you can do it, even under OCA umbrella, but I won't be able to provide you with the foundation from OCA for the CI tools and so on, as I do for the rest of the repositories.
from delivery-carrier.
I understand perfectly @pedrobaeza . You make so much for OCA, I don't want ask you more efforts on other topics. Thanks a lot
from delivery-carrier.
+1 for a Python lib, it totally makes sense to me. Regarding QA that needed a lot for development for Odoo: it is also due to Odoo's nature and the fact it uses its own test toolchain. Everything already exists for testing Python libs.
from delivery-carrier.
Thanks for your answer @guewen , please could you give a word here
Thanks
from delivery-carrier.
@OCA/core-maintainers could we move forward here?
from delivery-carrier.
ping @hparfr
from delivery-carrier.
Said that, if you want to go that way, you can do it, even under OCA umbrella, but I won't be able to provide you with the foundation from OCA for the CI tools and so on, as I do for the rest of the repositories.
Fair enough
from delivery-carrier.
@bealdav @florian-dacosta @OCA/core-maintainers @hparfr What is the status of this ?
from delivery-carrier.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
from delivery-carrier.
Related Issues (20)
- Bug in delivery_auto_refresh
- Branches removal HOT 5
- Migration to version 14.0 HOT 19
- [13.0] delivery_free_fee_removal behavior not coherent with standard behavior HOT 2
- 14 base_delivery_carrier_label refactore HOT 5
- [12.0] Field duplicated: number_of_packages HOT 2
- delivery-carrier: sudo() missing on retrieving postlogistics_client_id and postlogistics_client_secret HOT 1
- 13.0 delivery_postlogistics - generate postlogistic label failed with rollback HOT 1
- [14.0] [RunBot] Can't make Colissimo (delivery_roulier_laposte_fr) work HOT 11
- Migration to version 15.0 HOT 7
- partner_delivery_zone: Zone auto attribution to partner depending on zip/city HOT 2
- [14.0] Can't get producto price to add Correos delivery method in sale order () HOT 1
- [13.0]base_delivery_carrier_label unit tests failed cause travis to fail on dependencies HOT 3
- [14.0]delivery_free_fee_removal doesnt work if sale order is locked HOT 2
- Schenker TLS V1.2 HOT 2
- Migrating delivery_carrier_multi_zip to 14.0 HOT 2
- Migration to version 16.0 HOT 8
- Split base_delivery_carrier_label HOT 4
- Transfer validation error with TNT module 14.0 HOT 1
- [14.0] fix delivery_cttexpress tests HOT 9
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 delivery-carrier.