Implementation of new DB in odoo.sh
odoo.sh shell:
cd src/user
git submodule add git@github.com:loym-com/tools-odoo-sh.git loym-com/tools-odoo-sh git submodule add git@github.com:loym-com/apps-fiq.git loym-com/apps-fiq git submodule add git@github.com:loym-com/apps-sequence-number.git loym-com/apps-sequence-number git submodule add git@github.com:OCA/crm.git OCA/crm git submodule add git@github.com:OCA/mail.git OCA/mail git submodule add git@github.com:OCA/partner-contact.git OCA/partner-contact git submodule add git@github.com:OCA/project.git OCA/project git submodule add git@github.com:OCA/web.git OCA/web
See article "Submodules" how to set "task" in odoo.sh shell
./task add_beta_module <user> <repo> <branch> <module>
WARNING
Copying from Github: spaces may be special spaces, making trouble when running the commands.
PARTNER
./task add_beta_module DynAppsNV multi-company 19.0-mig-res_company_code res_company_code
./task add_beta_module DynAppsNV multi-company 19.0-mig-res_company_search_view res_company_search_view
./task add_beta_module norlinhenrik oca-mail 19.0-mig-mail_composer_cc_bcc mail_composer_cc_bcc
./task add_beta_module norlinhenrik oca-mail 19.0-mig-mail_force_email_notification mail_force_email_notification
./task add_beta_module BizzAppDev-Systems mail 19.0-mig-mail_message_search-BAD mail_message_search mail_message_search
./task add_beta_module norlinhenrik oca-mail 19.0-mig-mail_optional_follower_notification mail_optional_follower_notification
./task add_beta_module qrtl mail 19.0-mig-mail_send_confirmation mail_send_confirmation
OTHER
./task add_beta_module norlinhenrik oca-project 19.0-mig-project_parent project_parent
./task add_beta_module norlinhenrik oca-project 19.0-mini-crm_timesheet crm_timesheet
Database configuration
Install all apps with FIQ in the technical name.
Settings
Lead/Opportunity Name
Lead Name Expression: {r.get_partner_name_and_project_address(' - ')}
Project No.
Project No. Pattern: P{r.internal_external}{r.sequence_sequence}
Models
Settings - Technical - Database structure - Models
documents.document
- Display Name Exp.: {r.pick('code')} {r.name}
project.project
- Code: P
Sequences
Sekvenskode: crm.lead
prefix: L
digits: 6
Sekvenskode: project.sequence
prefix: %(y)s_
digits: 3
Use subsequences per date_range: True
Sekvenskode: project.task
digits: 6
Sekvenskode: res.partner
digits: 5