تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
96 أدوات العرض

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
نوفمبر 19
5000
0
أكتوبر 24
1418
1
أكتوبر 22
3064
1
نوفمبر 21
2464
1
أغسطس 18
6224