Odoo Community
Odoo Enterprise
Viindoo Cloud
Count the lines of code of every module version with cloc
At discovery each module is counted with cloc per computer language - files, blank, comment, code - and the version shows totals for upgrade and for migration estimates, with exclusions you choose.
Module Line of Code (technical name to_odoo_module_loc) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for apps vendor, upgrade team.
At a Glance
The facts of Module Line of Code, version 1.0, in one place. Published by Viindoo.
Technical name
to_odoo_module_loc
Odoo version
17.0 (Odoo Community, Odoo Enterprise, Viindoo Cloud)
Depends on
to_odoo_module
Adds
2 new models, 4 extended models, 1 menu, 3 settings
Best for
Apps vendor; Upgrade team
Not for
cloc must be installed on the server.
Key features
cloc per module and language, Upgrade and migrate totals, Exclusions (i18n, static/lib, tests), Languages list, Runs at branch discovery
How It Works
Pick the languages in settings; discover the branch.
2
Languages
Name and extension.
4
Versions
The discovered modules.
What You Get
cloc per module and language
Upgrade and migrate totals
Exclusions (i18n, static/lib, tests)
What This App Does Not Do
Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.
cloc must be installed on the server.
apt install cloc.
No per-commit history.
A snapshot per discovery.
Works Well With
Apps from the same stack, built to fit this one:
Who Should Use Module Line of Code?
Apps vendor
2,089 lines of Python/JS/XML in auditlog 17.0.
Upgrade team
Estimates from the counts.
Frequently Asked Questions
What does Module Line of Code do?
At discovery each module is counted with cloc per computer language - files, blank, comment, code - and the version shows totals for upgrade and for migration estimates, with exclusions you choose.
What does Module Line of Code not do?
cloc must be installed on the server. apt install cloc. No per-commit history. A snapshot per discovery.
Who is Module Line of Code for?
Apps vendor: 2,089 lines of Python/JS/XML in auditlog 17.0. Upgrade team: Estimates from the counts.
Which Odoo version and editions does it support?
Odoo 17.0 - Odoo Community, Odoo Enterprise, Viindoo Cloud. Upgrades to a newer Odoo series are a separate purchase for that series.
What does it depend on?
It installs on top of: to_odoo_module. Odoo installs them with it.
How do I set it up?
Pick the languages in settings; discover the branch.
What works well with it?
Odoo Modules (to_odoo_module): Required. Lines of Code on the store (to_website_apps_store_loc): Shown to visitors.
Can I try it before buying?
Yes - the Live Preview button at the top of this page opens the module's own screen on a working database.
How do I get support?
Write to apps.support@viindoo.com with your Odoo version and the technical name to_odoo_module_loc; pre-sales questions go to sales@viindoo.com.
Need help with Module Line of Code?
For questions, implementation support or a custom feature, contact Viindoo.
Upgrades to a newer Odoo series are a separate purchase for that series.
All Viindoo apps: apps.odoo.com/apps/modules/browse?author=Viindoo
About Viindoo. Viindoo builds and maintains more than 1,000 apps on the Odoo App Store for the Community and Enterprise editions and runs them on Viindoo Cloud. A purchase of Module Line of Code covers the 17.0 series: bug fixes on the module reach you through the store, questions go to apps.support@viindoo.com with the technical name to_odoo_module_loc, and moving to a newer Odoo series is a separate purchase for that series. Source code is delivered with the module and stays yours to read and adapt.
Technical Requirement
Editions: Odoo Community, Odoo Enterprise, Viindoo Cloud
Changes log
1.0 - Latest on the 17.0 line
- Aligned with the 17.0 models and views.
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.