All acts related to intellectual property (eg, Patent Protection Act and Copyright Act) regulate generally when a work is made in the framework of an employment relationship.
Under the Copyright Act, the employer, as the legal successor of the author, automatically obtains economic rights once a work is handed over, if the preparation of the work was the author's obligation within the scope of their employment, in the absence of any agreement to the contrary (ie, "work for hire" doctrine).
The Patent Protection Act distinguishes the "service invention" and "employee invention." A "service invention" means any invention created by a person in the execution of their duties stemming from employment that includes to work out solutions within the domain of the invention. An "employee invention" means any invention created by a person who is not required to do so under their contract of employment; however, the exploitation of such invention falls within the sphere of activities of their employer.
In case of service inventions, patent rights shall be vested in the employer, as the inventor's successor in title. In case of employee inventions, patent rights shall be vested in the inventor; the employer, however, is entitled to exploit the invention. The employer's right of exploitation is non-exclusive; the employer shall not grant a license of exploitation. Special rules apply to the consideration to be paid to the employees for service inventions and employee inventions.