Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAH-3786 | Refactor. Mount Seed Data From Bahmni Config #168

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bahmni_seed_setup/__init__.py

This file was deleted.

26 changes: 0 additions & 26 deletions bahmni_seed_setup/__manifest__.py

This file was deleted.

4 changes: 0 additions & 4 deletions bahmni_seed_setup/data/district.tehsil.csv

This file was deleted.

6 changes: 0 additions & 6 deletions bahmni_seed_setup/data/state.district.csv

This file was deleted.

7 changes: 0 additions & 7 deletions bahmni_seed_setup/data/village.village.csv

This file was deleted.

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

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

USER root

COPY package/docker/odoo/odoo.conf /etc/odoo/odoo.conf
COPY bahmni_account ${ADDON_PATH}/bahmni_account/
COPY bahmni_address_mapping ${ADDON_PATH}/bahmni_address_mapping/
Expand All @@ -16,10 +18,8 @@ COPY bahmni_auto_payment_reconciliation ${ADDON_PATH}/bahmni_auto_payment_reconc
COPY openerp7_data_import ${ADDON_PATH}/openerp7_data_import/
COPY bahmni_reports ${ADDON_PATH}/bahmni_reports
COPY community_modules ${ADDON_PATH}/community_modules/
COPY package/resources/data/address.seed.csv ${ADDON_PATH}/bahmni_initializer/data/
COPY package/resources/data/uom_seed.xml ${ADDON_PATH}/bahmni_initializer/data/
COPY package/resources/data/order_type.xml ${ADDON_PATH}/bahmni_initializer/data/
COPY package/resources/data/sale_shop.xml ${ADDON_PATH}/bahmni_initializer/data/
RUN pip3 install python-decouple

CMD ["odoo", "-u", "all", "-i", "sale_management,purchase,stock,point_of_sale,l10n_generic_coa,bahmni_account,bahmni_product,bahmni_api_feed,bahmni_stock,bahmni_purchase,bahmni_address_mapping,bahmni_sale,restful_api,bahmni_reports,bahmni_auto_payment_reconciliation", "--without-demo", "-d odoo"]
RUN ln -s /etc/bahmni_config/odoo/data/ ${ADDON_PATH}/bahmni_initializer

CMD ["odoo", "-u", "all", "-i", "sale_management,purchase,stock,point_of_sale,l10n_generic_coa,bahmni_account,bahmni_product,bahmni_api_feed,bahmni_stock,bahmni_purchase,bahmni_address_mapping,bahmni_sale,restful_api,bahmni_reports,bahmni_auto_payment_reconciliation,bahmni_auto_payment_reconciliation", "--without-demo", "-d odoo"]
51 changes: 0 additions & 51 deletions package/resources/data/address.seed.csv

This file was deleted.

33 changes: 0 additions & 33 deletions package/resources/data/order_type.xml

This file was deleted.

11 changes: 0 additions & 11 deletions package/resources/data/sale_shop.xml

This file was deleted.

54 changes: 0 additions & 54 deletions package/resources/data/uom_seed.xml

This file was deleted.