콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
5842 화면

How to get the MAC details of the users? Please can anyone suggest the solution or any module for this?

아바타
취소
베스트 답변

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.

아바타
취소
베스트 답변

Hi,

Will this module helps ? https://apps.odoo.com/apps/modules/14.0/access_restriction_by_ip/

Thanks

아바타
취소
작성자

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

관련 게시물 답글 화면 활동
1
9월 23
1903
0
11월 16
4422
ePoS Printer 해결 완료
2
6월 24
1849
0
1월 25
1168
1
5월 24
691