mirror of
https://github.com/odoo/runbot.git
synced 2025-03-26 04:45:52 +07:00
7 lines
146 B
Python
7 lines
146 B
Python
![]() |
from typing import Tuple
|
||
|
|
||
|
|
||
|
def enum(model: str, field: str) -> Tuple[str, str]:
|
||
|
n = f'{model.replace(".", "_")}_{field}_type'
|
||
|
return n, n
|