Hello. I am very new to odoo13 and i want to know how can i write log file for ticketing in event. In default log, it contains for event that show under ticketing. The log file can check the process of event but it didn't contain about ticketing flow. I search about a lot but can't see answer and if that type of question was asked, please guide me to. Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
3039
أدوات العرض
You can add your own logs in the source code like this:
import logging
_logger = logging.getLogger(__name__)
class AccountInvoice(models.Model):
_inherit = 'account.invoice'
def some_method_you_use(self):
... your code here
_logger.info("Log your message here")
... your code here
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
أكتوبر 24
|
1270 | ||
|
0
يونيو 24
|
1302 | ||
|
1
ديسمبر 23
|
2435 | ||
|
0
مارس 22
|
1902 | ||
|
1
فبراير 22
|
6103 |