コンテンツへスキップ

Display Name as a formula

Compute display name from python code (as for product description).
42.96 € 42.96 € (税抜)
US$ 50.00 (税抜)

  • バージョン
利用規約
30日間返金保証
配送: 2-3 営業日内


ODOO'S FUNCTION

Odoo automatically generates a display name, such as SOxxx, in a Sales Order. 

CLUEDOO'S FUNCTION

CLuedoo allows you to customize the display name (ie: sales orders, purchase orders, etc.) with Python code. This allows for more clarity and information about the content.  


1. Go to Settings > Technical > Database Structure > Display Name Formula and create the formula. 

We have to choose the Model in which this formula will apply > Write using Python Code.

Example of Python Code:

result = record.name + ' - ' + record.client_order_ref or ""

2. Create a sales order and fill in the Customer Reference under the Other Info tab > Save
















The Display name will now become just like the formula we wrote using Python code.




Another example with the project's display name