i want to print customized error message ,In normal scenario login authentication based on username,password ,active filed, But now i want to check another filed like 'expiry_date' along with username and password . if the expiry_date equals to current_date then need to print "user expired and need to renew the account "along with a link
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
2805
화면
Hello,
If you need to add more field in login view you can extend the template
<template id="web.login" name="Login">
And checking is done in py file addons/web/controllers/main.py and method def web_login
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
9월 24
|
1422 | ||
|
0
6월 22
|
328 | ||
|
0
6월 21
|
2495 | ||
|
9
7월 20
|
10690 | ||
|
9
3월 20
|
7014 |