Ship the module. Keep the code.
CodeGuard turns Python and Odoo source into encrypted or compiled files, and binds each build to a licence on its own server.
class SaleOrder(models.Model): _inherit = 'sale.order' def _compute_margin(self): for order in self: order.margin = ...
CGv2·AES-256-GCM·n=9f3c…q8ZK1x0bVt+Lm7aYp2c9Rk4wHf0e/Ue3ZxT1oNq6Ws5JdB8yr2Pv7mKc0LtXe9Ga4QhS1nFuTq4kN8sWb0Yz6VdJ3eMx7cRpsig=Ed25519 ✓ fp=5e34…
-
AES-256-GCM encryption
.py files become encrypted .pye files. A native loader decrypts them only at run time.
-
Native builds
Modules compiled to .so with Cython, keeping translations and the files Odoo needs in plain form.
-
Machine-bound licences
Each licence is bound to the server fingerprint. A copy on a foreign machine is blocked or logged.
-
Instant alerts
Any edit, copy or debugger is logged as a violation and sent to you on Telegram.
-
Per-build watermark
Each build carries a hidden mark, so a leak can be traced to its source.
-
Contract-safe mode
For customers under contract: the system never stops on its own. Violations are logged, and a stop is manual once a breach is proven.
Does it slow the module down?
Decryption happens once at load time. Native builds are often faster than plain Python.
Is it impossible to break?
No protection is impossible to break. CodeGuard makes it very expensive, and tells you about every attempt.