How to get the MAC details of the users? Please can anyone suggest the solution or any module for this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
mac address is not being sent in the request header. so this method only works in a local network.
first, install getmac package:
>> pip install getmac
from getmac import get_mac_address
ip_address = request.httprequest.environ['REMOTE_ADDR'] // get end user IP in thecontroller
mac_address = get_mac_address(ip=ip_address) // get mac_address of given ip in network
Now you can check the MAC address to be valid for the user trying to be authenticated.
Thry are using IP address, we need MAC address, Thanks for your response.
Dear Midhun,
did you find restrict users by using MAC Address? can you guide me how to please contact email id : mohamedashif.an@gmail.com
can you guide me Midhun how to do please contact me mohamedashif.an@gmail.com
Hi did you find ?
I'm interested can you contact me please ? yacine.bensidhoum@gmail.com
Yes i do have a solution for access restriction by mac address please inbox me at ahmadinayat75@gmail.com
i need your module by Odoo V15 in Odoo.sh
Ahmad Inayat
Midhum M M
Hi,
do you have a solution about " access restriction by mac address " odoo 14
Yes i do have a solution for access restriction by mac address please inbox me at ahmadinayat75@gmail.com
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
ก.ย. 23
|
1892 | ||
|
0
พ.ย. 16
|
4397 | ||
ePoS Printer
แก้ไขแล้ว
|
|
2
มิ.ย. 24
|
1848 | |
|
0
ม.ค. 25
|
1167 | ||
|
1
พ.ค. 24
|
691 |