Re: [tryton] Modules dependency configuration
On Thu, Apr 20, 2017 at 11:04 PM, Cédric Krierwrote: > On 2017-04-20 22:34, Khurram Shahzad wrote: > > Dear All, > > > > I have developed two modules being Module-A & Module-B. > > > > Module-A has classes X1, Y1, Z1. > > Module-B as classes X2, Y2. > > > > I want to use class X1 in Module-B and also class X2 in Module-A. > > > > What should depends class of both modules contain? > > You can not create cyclic dependencies. > You must use a third module that define the common models and make the > two others depend on it. > Thanks a lot. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAM3N3CxFMd3RdBtKYfJSQQzGpB_97KdzD_CnPOxMJQnOKB%3DUGg%40mail.gmail.com.
Re: [tryton] Modules dependency configuration
2017-04-20 20:04 GMT+02:00 Cédric Krier: > On 2017-04-20 22:34, Khurram Shahzad wrote: >> >> I want to use class X1 in Module-B and also class X2 in Module-A. >> Seems you need a single module if nothing can be done without the whole. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAHZrxK6zr08L%3DaRmb__OPS3vs1Y0bE3%2BQkA9TNU%3D55Jp%3DmCCTQ%40mail.gmail.com.
Re: [tryton] Modules dependency configuration
On 2017-04-20 22:34, Khurram Shahzad wrote: > Dear All, > > I have developed two modules being Module-A & Module-B. > > Module-A has classes X1, Y1, Z1. > Module-B as classes X2, Y2. > > I want to use class X1 in Module-B and also class X2 in Module-A. > > What should depends class of both modules contain? You can not create cyclic dependencies. You must use a third module that define the common models and make the two others depend on it. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20170420180408.GZ49910%40tetsuo.