Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
91 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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: 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 19
5000
0
thg 10 24
1418
1
thg 10 22
3064
1
thg 11 21
2464
1
thg 8 18
6224