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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2521
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Oct 24
|
83 | ||
|
0
Jun 24
|
283 | ||
|
1
Dec 23
|
735 | ||
|
0
Mar 22
|
1151 | ||
|
1
Feb 22
|
5011 |