Hi
I would like to know how can I concatenate two o more fields into one with automated actions. I tried to execute python code but didn't work.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi
I would like to know how can I concatenate two o more fields into one with automated actions. I tried to execute python code but didn't work.
Thanks
Hi,
You can add a automated action like this,
used code: record.write({'default_code': record.name + record.barcode})
Know more about the automated actions: Odoo Automatons - Automated Action
Thanks
For some reason the automatic action stops working after a while.
Right now I have three automatic actions, all are associated with different models.
I see that when I disable and re-enable it works fine.
I would appreciate any help.
Hello I have not been able to solve the problem yet I would appreciate it if someone can help me
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
May 24
|
10071 | ||
|
1
Apr 24
|
1562 | ||
|
0
Nov 23
|
525 | ||
|
1
Sep 23
|
565 | ||
|
2
Aug 23
|
2424 |
Thank you very much for your help.
I am not an expert in programming but if someone in addition to my first question would like to know how to avoid double space when one of the fields is empty, I did it like this.
If someone can tell me if there is a better way I would appreciate your comment.