CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
If you were to program an openERP's object that will hold your supplier's configuration, and perform web services calls when needed, and if you wanted to make this object generic, so that you will just adjust configuration when a new supplier with a different technology comes out, how will you achieve that ?
I've started writting stuff, then wondering if it's worth the hard time it takes.
Nobody shares the same feelings ?
The methods I build, related to these web service calls, and their counterparts handling and parsing responses aim to be generic. That's why I got headaches writing those. That's why I wonder if it would not be easier to write a function for each supplier, instead of a generic function that takes configuration variables, and build request and parsing response depending on those variables.
I hope you catch my meaning (my English is not that good, I know :/)
About This Community
Odoo Training Center
|Asked: 6/20/14, 4:39 AM|
|Seen: 972 times|
|Last updated: 3/16/15, 8:10 AM|