← Back to team overview

openerp-connector-community team mailing list archive

Re: Doubt: Mapping fields over an non-customized magento backend version

 

On Thu, Jul 23, 2015 at 4:12 PM, Francisco Peiro
<francisco.peiro@xxxxxxxxxxxxxxx> wrote:
> Good answer Guewen, you don't know how sad I am right now .. XD
>
> Thanks!
>

I share your feelings.

I thought a lot about that and could not find any good solution so far.

In the Odoo models, the hierarchy is thus that it can create a virtual
class inheriting of all the others, example if I have such classes:
A
B _inherit of A
C _inherit of A
-> VirtualClass(C, B, A)

Now with the connector and the backend versions, let say I have (@base
is a base backend version like @magento could be and @base1 is a
version like @magento1700):

A registered on @base
B registered on @base
C registered on @base
In that case, we could maybe imagine a way to call C, B, and A.

But with this one:

A registered on @base
B registered on @base
C registered on @base
D(A) registered on @base1

What should happen when we are using the @base1 version? We can't know
if the A, B or/and C classes should be included or not and how as we
asked to use D on @base1.

And even worse with more complex graphs:
A registered on @base
B registered on @base
C registered on @base
D(A) registered on @base1
E registered on @base1
F registered on @base_custom


References