Odoo vs Flectra

History and facts behind the copyright infringement suit

Flectra is a fork of Odoo Community, and one of its initial goals was apparently to copy many features from Odoo Enterprise. In the early months of its existence, significant cases of copyright infringements of Odoo Enterprise were detected in the copied features inside Flectra. Its authors have a history of repeatedly copying and obfuscating proprietary code.

In Dec 2017, GitHub executed a DMCA takedown of the Flectra repository, and the Commerce Court of Ahmedabad issued an injunction order requesting Tech Receptives to stop all activities involving Odoo Enterprise.

At Odoo, we solve dozens of reported infringements per year by just talking to the developers (usually to defend community modules authors). But, after several attempts to solve the issue with Tech Receptives, they continued to infringe copyright and licenses. Our latest recourse has been to initiate a legal action (unfortunately); the first one in the history of Odoo.

History & Facts

Apr 1, 2017

Flectra announced with homepage flectrahq.com. An initiative driven by Tech Receptives Pvt Ltd (a Partner of Odoo at that time), and funded by Thomas Winteler, from Win-Soft.ch.

Sep, 2017

Flectra announces features for Flectra 1.0. Most of them are Odoo Enterprise features (Material UI, App Builder, Follow-ups, Lead Scoring, Quality, PLM, Helpdesk, Currency rate update, …)

Oct 5, 2017

Flectra forks Odoo 11 after the official release: https://github.com/flectrahq/flectra.
Let's call this version "FlectraRepo-1".

Oct 5, 2017

Flectra posts a video demo of the "Flectra App Builder". It is visibly a mirror copy of the features and UI of Odoo Studio. But more than that, it is actually the code of Odoo Studio with minor modifications. The video shows at 00:15 and 01:04 that the tooltip of the "Flectra App Builder" icon is "Toggle Studio" (exactly from the code of Odoo Studio 11.0) (screenshot1) (screenshot2)

Oct 10, 2017

Flectra merges a new UI design (rev. 4f6d44a1). It contains several parts clearly copied from the Odoo Studio source code, infringing the license and copyright of Odoo.

Oct 13, 2017

Odoo sends an official notice to the Flectra team about the multiple copyright infringements detected in their source code, including some clear examples. Comments, variables, structure, and entire blocks are visibly copied:

  • menu_search.less copied from same file in Odoo Enterprise (screenshot)
  • webclient_layout.less copied from same file in Odoo Enterprise (screenshot)
  • app_switcher.less copied from same file in Odoo Enterprise (screenshot)
  • debug_manager.js copied from same file in Odoo Enterprise (screenshot)
  • web_backend_theme.xml has content from base.xml file in Odoo Enterprise (screenshot)
  • webclient.less has content from the same file in Odoo Enterprise, including an invalid link to a "/web_enterprise" URL from Odoo Enterprise, which does not exist in Flectra code (screenshot)
Oct 16, 2017

Flectra answers the notice and says:
"We have reset the code in our repository and remove the mentioned code. We are going to take utmost care in future that this kind of mistakes does not happen."

Oct 17, 2017

Parthiv Patel, CEO of Tech Receptives holds a conference call with Fabien Pinckaers, CEO of Odoo and Mantavya Gajjar, Director of the India branch of Odoo. It is decided that the Partnership will be terminated and Odoo will stop selling Apps from Tech Receptives/73Lines as there is obviously no cooperation between the companies anymore. Tech Receptives CEO also repeats that Flectra made a mistake and will remove the infringing code and work "from scratch" on the features.

Oct 18, 2017

The Flectra repository is deleted, and replaced with a new one, where the commit 4f6d44a1 introducing the new UI is gone, and the history is rewritten (all hashes change).

Let's call this version "FlectraRepo-2".

Oct 24, 2017

Flectra merges a new feature: Currency rate update module (rev. 1d9e0c9). This module has many aspects in terms of structure, file names, contents, comments and code blocks that bear a striking resemblance with the "Live Currency Exchange Rate" module of Odoo Enterprise, indicating that it was developed based on the Enterprise module:

More than that, this module also copies code from the OCA module which is under AGPL, without even preserving attribution, and thus violating the copyright and license of those OCA modules. (screenshot1, screenshot2)

At this point, it is clear that the infringements will continue.

Oct 31, 2017

As a follow-up of the 2017-10-17 call, Odoo sends an official letter to Tech Receptives to terminate the Partnership, with a request to cease and desist the infringing activities and confirm it within 7 days. A reply from Tech Receptives will come on 2017-12-05 (see below)

Nov 6, 2017

Odoo sends a copy of the partnership termination letter to 2 possible Flectra investors (Thomas Winteler + a director of Tech Receptives Singapore, David Lim)

Nov 23, 2017

2 illegal copies of Odoo Enterprise are published by a member of the Flectra team on github (screenshot1) (screenshot2). Odoo submits a DMCA takedown notice to Github regarding this repository and a few other similarly infringing copies/forks (public notice)

Nov 23, 2017

Flectra merges a new feature: CRM Lead Scoring (rev. 37f78c61). Once again, this module contains code that seems to indicate that it was developed based on the code from Odoo Enterprise. The developers put more energy into renaming variables and reworking the code, but it is still visible in some places (e.g: screenshot)

Nov 28, 2017

Flectra merges a new feature: Payment Follow-up (rev. c1d366c3). This time, instead of using some Odoo Enterprise code, they copied the code directly from Odoo 8.0. Unfortunately this code was under AGPLv3, so the re-licensing under Flectra as LGPLv3 is not authorized and a violation of copyright. (screenshot)

Later on, this commit will be erased from history, and replaced with a "rewritten" version.

Dec 5, 2017

Tech Receptives replies to the letter of partnership termination sent by Odoo on 2017-10-31, with a long list of denials: they deny that Odoo owns the copyright of Odoo Enterprise, deny that Tech Receptives copied it, deny that the Partnership has been terminated for this reason, etc.

Surprisingly, Tech Receptives claims that they have found places where other people illegally publish.

Dec 7, 2017

Given the situation, Odoo institutes litigation proceedings by way of a Civil Suit for copyright infringement against Tech-Receptives Solutions PVT LTD before the Commercial Court of Ahmedabad, India.

Dec 8, 2017

To secure the evidence necessary for the case, the court orders a commission to visit the Tech Receptives premises and take a backup copy of all computers on which the source code of Odoo Enterprise can be found.

Dec 13, 2017

The commission is executed and the court commissioners visit the Tech Receptives premises. The report cannot be published at this point, but the commission found multiple copies of Odoo Enterprise code and Flectra code and took backup copies of the evidence that was found. A copy of the court commissioners' report is sent by Odoo to the same Flectra investors.

Note: some employees from TinyERP Pvt Limited were present to assist the court commissioners and reported that Tech Receptives tried to obstruct the commission, took down their internet connection to stop access to their private bitbucket repositories, and told the commission that the Flectra App Builder was being developed in the USA so they did not have the source code. That code was later found by the commission.

Dec 14, 2017

Flectra introduces the Product Lifecycle Management (PLM) feature (rev. f2c8307c). Without surprise, this module contains lines of code that are copied verbatim from the original PLM module of Odoo Enterprise, despite a lot of renamings/obfuscation in other places (screenshot)

Dec 18, 2017

New hearing at the court: Odoo attempts to present the new evidence and to obtain an injunction order to stop the repeated infringements. Tech Receptives insists they need an adjournment until January on the ground that the "concerned official" is traveling (surprising because he was present during the commission procedure a few days ago and knew about the hearing!) Next hearing scheduled for December, 26th.

Dec 19, 2017

The Flectra repository is deleted again, and a new one is uploaded. Apparently, the only thing that is removed is the commits introducing the PLM feature. Can this be a coincidence? Screenshots showing the difference before/after: (screenshot1) (screenshot2)

Let's call this new version "FlectraRepo-3".

Dec 23, 2017

There was at least one more rewrite of the Flectra repository after Flectra-Repo3, further modifying all the way back to introduction of the "Currency Rate Update" feature again (now reintroduced by rev. 067a69a6), with more modifications along the line.

Let's call the next repository version FlectraRepo-4.

Some of the changes in history are interesting:

  • The "Currency Rate Update" module is slightly reworked, more things are renamed, and they clarify in the manifest that the author is "Flectra" (sic!) (diff between versions)
  • The "Payment Follow-up" (account_followup) module from Odoo 8.0 is erased from history, and replaced with a new payment_followup module (rev. aa036c1b). The author field now only mentions Flectra, but as a nice touch, a comment at the top of the manifest says that it is "Inspired by Odoo version 8 Community module account_followup". Of course the code still contains a lot of copied code from the original code, with more renamings/obfuscation. Tech Receptives certainly thinks that this gets rid of the "AGPLv3" licensing problem. As an example, here is an exercise for the reader: find some of this code in the original 8.0 code: (screenshot) (hint… ;-))
  • The Product Lifecycle Management (PLM) feature is reintroduced in FlectraRepo-4 (new revision: 1dc59382). There are several differences between this version and the one of FlectraRepo-2, with a few concepts renamed, some lines modified/removed. A full diff comparing these 2 introduction commits can be found (here).
    Notably:
    • the commit message does not mention "[FIX] manifest author for PLM" anymore - which was intriguing indeed...
    • the file shown in the screenshot from 2017-12-14 is modified, with some copied comments and text removed/modified, as can bee seen here in the diff.
  • And so on...
Dec 25, 2017

Flectra 1.0 is released on Github. Many features are introduced in the repository just before the release, including, among others, the Helpdesk feature (rev. 9de3c5de labelled "[ADD] helpdesk module" which introduces a "support_desk" module), and both the Flectra App Builder and the RMA feature in a commit labelled "[ADD]:rma:module" (rev. 3ea4484) !! As usual, the source code of the Helpdesk module contains parts that are too similar to the source code of Odoo Enterprise to be coincidences, including several typos, despite the high level of renamings/obfuscation.
Upon analysis of the code of the Flectra App Builder, the architecture of the Odoo Enterprise Studio is still visible for a developer/expert, and some parts of the code are too similar with the Odoo Studio code to be coincidences. However the source code has visibly been heavily obfuscated and reworked to make the comparison between the source codes very difficult. There is probably more evidence to be found in the Quality / RMA features too.

(Screenshots showing the copied code in Flectra App Builder and Helpdesk have been submitted for the lawsuit, and aren't disclosed yet)

Dec 26, 2017

At the next court hearing, Tech Receptives submits a written statement denying all claims of the original plaint. We cannot publish their statement, but it articulates around several repeated claims. Among others things, with regard to the copyright infringement (Despite the many evidence indicating otherwise!):

  • They deny having copied any code from Odoo Enterprise, and state that everything was originally developed by them, out of their own expertise, without infringing any copyright
  • They indicate that they have found parts of Odoo Enterprise code published by third parties on various places online (e.g on Github or Odoo Apps), and that they took the code from there, not from Odoo Enterprise, so they think it means they never used the code of Odoo Enterprise. And that they removed everything after being asked to on 2017-10-13, so no other action is needed.
Dec 26, 2017

During the same hearing, the court issues an interim injunction order restraining [Tech Receptives], by itself, its directors, employees, representatives, investors, affiliates, group companies, subsidiaries, partners, servants, retailers, stockists, distributors, and agents from using, developing, selling, offering for sale, licensing, renting, storing, reproducing, launching, stocking, advertising, directly or indirectly any software, application or program using or created/ developed by using the copyrighted source code of “Odoo Enterprise Edition” software and/ or any other activity amounting to copyright infringement of the copyrighted source code of “Odoo Enterprise Edition” software.

Jan 4, 2018

The repository flectrahq/flectra on Github is taken down upon request by Odoo, in compliance with the court's injunction order. It was still public before this takedown.

Jan 8, 2018

A scheduling mistake forces the next court hearing to be postponed to Jan 30, 2018.

Jan 10, 2018

Tech Receptives' CEO Parthiv Patel publishes an announcement offering everyone to compare the source code of Odoo Enterprise and Flectra. His post contains some surprising claims that he has already made multiple times:

  • He indicates that third-parties have already infringed the copyright of Odoo Enterprise. He seems to think that this would make his own infringement more acceptable or legal.
  • He links to third-party modules that implement features similar to Odoo Enterprise features. He seems to think that Odoo is suing over the copying of the ideas of Odoo Enterprise. It has however been made quite clear to him at every possible occasion that Odoo is suing Tech Receptives because they have developed the Flectra features using the code of Odoo Enterprise, as shown by all the collected evidence above.

Conclusion

Due to the number of systematically copied features from Odoo Enterprise, demonstrated with the above evidence, the way they proceed by single-commit feature introduction (no code history visible anywhere for those features), the way they rewrote the history of their repository multiple times to hide past evidence, and the systematic renaming and obfuscation of the code, it seems undeniable that Tech Receptives is knowingly infringing the copyright of Odoo S.A.

This cannot be a "small mistake" by some "intern". It looks organized and planned on a large scale, with some refactorings taking several months (look at the delay between the "App Builder" video and the actual merge!)

It would require an extraordinary display of bad faith or self-delusion for any company in this situation to deny the obvious truth. It is totally incomprehensible that Tech Receptives and Win-Soft are still to this date claiming publicly and in front of the court that they have never used the source code of Odoo Enterprise.