Consider a scenario that I had worked on the invention while I was working in the organization 'X'. However, after working on the invention with my colleagues and drafting the patent, I moved on to organization 'Y'. Organization 'Y' is completely different from organization 'X'. Subsequently, after a few months, the patent was filed by the organization 'X' while I am no longer in that organization X.
If my name is mentioned as one of the inventors/co-inventors in the patent filed by organization 'X', what should be my affiliation be mentioned in the patent?
Should it be
Organization X: since the complete work regarding the invention happened here,
Organization Y: Since this is where I am currently working although, this organization has nothing to do with the patent?
In summary, which affiliation of the inventor should be mentioned in the patent: his/her current organization, or the organization where he had worked in the invention, considering the fact that he has changed his organization before the patent was formally filed?
If possible, can someone please also redirect me to some of provisions of Indian Patent rules which say something about this?