I have a closed source module (A) in odoo that it working fine without depending on anything.
Now I would like to add an AGPL module(B) and integrate it with the module (A).
So, I am planning to create another module(C) that does the integration between A and B.
I know that the module (C) should have an AGPL license. However what about module (A).
Can an AGPL code depend on closed source code giving that it doesn't work without it?
In my case, do I have to distribute the source code of module A giving that module C doesn't work without it?
Edit: Clarification
A and B will not share anything However to simplify we can say that module C will create a class with multi-inheritance that will inherit a class from A and another from B. (I can do this using dynamic linking if static linking is a problem).