跳至內容
選單
此問題已被標幟

I am using Projects and *always* want an Analytic Account created.

Since there are various ways Projects can be created, including manually and automatically, is there a way I can force Odoo to create an Analytic Account each time?

The idea is that this would work if my Users create Projects manually, as well as when Projects are created from templates and via Sales Orders that sell service products configured to create Projects automatically.


頭像
捨棄
最佳答案

Yes.

Create an Automation Rule:

The trigger here is On create irrespective if the creation is done by the User or by Odoo.


There are two actions, one to create the Account and one to Update the name:

Notice this one uses the Link Field so that the Analytic Account is correctly linked back to the Project.


Then, we need to rename the Account from Name to the name of the Project: 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 19
5000
0
10月 24
1418
1
10月 22
3064
1
11月 21
2464
1
8月 18
6224