- An In-depth Journey into Odoo's ORM by Raphael Collet
- Tutorial: Develop App with Odoo Framework
- The Right Way to Develop Website & eCommerce Features
- How to Use Custom Code to Handle Upgrades
- Best Practices in Handling Performance Issues Know the Deployment Info $ inxi -Fxz $ hwinfo --short
- Odoo's Test Framework: Learn Best Practices
- Security: Odoo Code Hardening
- Best Tools for First-Time Odoo Development by Yannick Tivisse: Version Number on odoo.sh, noupdate attribute, IDE, good idea to git merge by hand, Tree Visualizer
- UX in Business-apps: a-workshop-for-app-developers
- Running a University with Odoo
- Odoo Website: How to Develop Building Blocks
- Building l10n Payroll Structures from the Ground Up
- Empower Your App by Inheriting from Odoo Mixins
- Preventing user mistakes by using machine learning by Faisal Basar 避免錯誤 員工訓練 學習增長
- CRM Workshop: Learn How to Manage Your Pipeline by Nikki Peple Pipeline Probability Studio Qutation Filter GroupBy Analytics Export Deduplication LeadGeneration
- Say Goodbye to Excel with the New Built-in Odoo Spreadsheets by Brett Hydeman : Better_Business_Intelligence Pivot_Table Commission
- Odoo Spreadsheet: Advanced Features by Nicolas Bassine : Accounting_Pivot Re-insert_pivot
- Sales Commissions and Dashboard with Odoo Spreadsheet by Devarsh Modi : Sharing 初期只有部分功能
- Workshop: Budgets and Forecasts with Odoo Spreadsheet by Eva Lombardo
odoo_install.sh
< GENERATE_RANDOM_PASSWORD="True"
---
> GENERATE_RANDOM_PASSWORD="False"
42c42
< ENABLE_SSL="True"
---
> ENABLE_SSL="False"
52,53c52,53
< WKHTMLTOX_X64=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
< WKHTMLTOX_X32=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_i386.deb
---
> WKHTMLTOX_X64=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
> WKHTMLTOX_X32=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_i386.deb
odoo/addons/base/data/res_country_data.xml
<data noupdate="1">
<record id="tw" model="res.country">
<field name="name">Taiwan</field>
<field name="code">tw</field>
<field file="base/static/img/country_flags/tw.png" name="image" type="base64" />
<field eval="'%(country_name)s'"
</data>
Why the Browser's Debugger is a Backend Developer's Best Friend
Richard Shall: Excel Migration Script 先有測試版本 會再正式推出給昇級用戶
Orgis from Czech 雲端服務 徵求 Python 工程師, Jana Proskova : CRM 比 Spreadsheet 好的原因 Odoo model XML github.com/Akretion PySPED
Customize Website Templates: inheriting or overriding, Portal User Details
- Important Details in Logs
$ grep -n -B15 -A5 'CPU time' ./odoo/log $ grep -n -B15 -A5 'memory limit' ./odoo/log $ grep -n -B15 -A5 'SERIALIZATION' ./odoo/log $ cat odoo.log | grep -v longpolling | awk '{print $NF-1 " " $0}' | sort -nr | less
_name
如果更改了 資料庫就會直接更新嗎? 或是需要額外通知系統? 如果有填過資料值 也就是有幾筆舊資料了 那前面的 _name 更新動作會被怎樣影響?
name vs code 常成串套用: rec_name == record name (PO# 之類)
event/model event_event.py EventType and EventEvent
Many2one One2many Many2oneReference
讀完值才進行 _compute
要留意執行效率 store=True
name_get() 和 name_search() 可以在 Many2one 場合快速比對名稱
登入記錄 編輯記錄 可以看到時間歷程嗎? 修改 opportunity 標題後 看到前後改成怎樣 QWEB id 如何繼承? technical 網頁管理介面修改的結果 是否記錄在資料庫裡? 如何清掉 回復成原始設定? 如何匯出 再併進檔案系統的程式碼?
如果是匯出,試著把addons_connector關掉,減少可能的錯誤 可能是這個之類的 https://pypi.org/project/odoo12-addon-connector/
ebsone.com/event/odoo-2020-07-19-20/register ORM API, View, Action Web Controller:
docker images docker search odoo docker pull odoo docker run -d -e POSTGRES_USER=odoo docker start -a odoo db.sh [docker_script]
Controller 本身是個 Python Class 程式,透過它可以建立網頁或前端程式與 Odoo Module 進行整合,不再侷限於傳統 Form View 或 Tree View 而能呈現自製畫面。
addons/crm/controllers/main.py
from odoo import http
class CrmController(http.Controller):