Skip to content

Commit

Permalink
[Rahul] | Add. Base Module And Remove Fresh DB Build
Browse files Browse the repository at this point in the history
* [Rahul] | Add. Set odoo As Default DB

* [Rahul] | Fix. Remove Fresh DB Files

* [Rahul] | Add. Command For Module Installation
  • Loading branch information
rahu1ramesh authored Oct 12, 2023
1 parent 50e2186 commit 3320ef9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 69 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/build_publish_odoo_freshDB.yml

This file was deleted.

5 changes: 0 additions & 5 deletions package/docker/freshDB/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions package/docker/freshDB/configureDB.sh

This file was deleted.

6 changes: 4 additions & 2 deletions package/docker/odoo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM odoo:16
FROM odoo:16.0

ENV ADDON_PATH=/opt/bahmni-erp/bahmni-addons

COPY package/docker/odoo/odoo.conf /etc/odoo/odoo.conf
COPY bahmni_api_feed ${ADDON_PATH}/bahmni_api_feed/
COPY bahmni_base ${ADDON_PATH}/bahmni_base/
COPY restful_api ${ADDON_PATH}/restful_api/
CMD ["odoo", "-u", "all"]

CMD ["odoo", "-u", "all", "-i", "sale_management,purchase,stock,point_of_sale,l10_generic_coa,restful_api", "--without-demo", "-d odoo"]
1 change: 1 addition & 0 deletions package/docker/odoo/odoo.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[options]
addons_path = /mnt/extra-addons,/opt/bahmni-erp/bahmni-addons
data_dir = /var/lib/odoo
db_name = odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
Expand Down

0 comments on commit 3320ef9

Please sign in to comment.