Hi,
I am using OpenOffice Designer to do my Invoices report. Do anyone know what is the code for the customer reference because i try to use [[ o.client_order_ref ]] but seem like not working
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I am using OpenOffice Designer to do my Invoices report. Do anyone know what is the code for the customer reference because i try to use [[ o.client_order_ref ]] but seem like not working
In invoice name field holds the customer reference. so you can use [[ o.name ]] to get the customer reference
hi i use the [[ o.name ]] but not working
You can not directly get client_order_ref, it is sale order field.
def _get_client_order_ref(self, data):
ref = '' sale_obj = self.pool.get('sale.order') sale_ids = sale_obj.search(cr, uid, [('origin', '=', data.origin)] if sale_ids: ref = sale_obj.browse(cr, uid, sale_ids[0]).client_order_ref return ref
you have to do something like this
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
6
sty 24
|
59245 | |||
|
1
maj 16
|
4202 | |||
|
0
sty 25
|
1652 | |||
|
3
lis 24
|
5789 | |||
|
0
paź 24
|
1696 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.