Skip to Content

Display Name as a formula

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

  • Versions
Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days


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