Skip to content

Smile-SA/odoo_addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f95ee0b · May 13, 2024
Mar 24, 2020
Sep 30, 2020
Aug 14, 2020
Mar 27, 2019
Mar 16, 2020
Jun 6, 2019
Nov 26, 2021
Jan 2, 2019
May 22, 2019
Sep 15, 2022
Jun 6, 2019
Sep 19, 2019
Sep 24, 2019
Sep 24, 2019
Mar 15, 2019
Jun 6, 2019
Mar 16, 2020
Mar 24, 2020
Mar 15, 2019
Mar 6, 2019
Jun 6, 2019
Mar 15, 2019
Nov 30, 2018
Jun 23, 2020
Mar 15, 2019
Jan 2, 2019
Mar 15, 2019
Mar 15, 2019
Mar 2, 2021
Mar 24, 2020
Jun 6, 2019
Mar 15, 2019
Sep 24, 2019
Nov 29, 2019
May 13, 2024
Aug 21, 2019
Feb 25, 2020
Mar 24, 2020
Jun 6, 2019
Jun 6, 2019
Aug 16, 2018
Dec 21, 2017
Aug 21, 2019
Nov 29, 2018

Repository files navigation

Smile addons for Odoo (formerly OpenERP)

This repository contains a collection of Odoo modules.

Requirements

  • Odoo 12.0

How to documentate your module

Requirements

You need to install package python-docutils:

apt install python-docutils

Write documentation

At the root of your module, define a file README.md.

As soon as README.md is finished, run the following command at the root of the module:

rst2html README.rst static/description/index.html
sed -i 's/static\/description\///g' static/description/index.html

To update index.html of all modules, run the following command at the root of the repository:

for module in $(echo smile_*)
do
    if [ -f "$module"/README.rst ]
    then
        rst2html "$module"/README.rst "$module"/static/description/index.html
        sed -i 's/static\/description\///g' "$module"/static/description/index.html
    fi
done