mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD]14.0-pms_ocr_regula: module to connect the OCR regula with the pms
This commit is contained in:
1
pms_ocr_regula/datamodels/__init__.py
Normal file
1
pms_ocr_regula/datamodels/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import pms_property
|
||||
8
pms_ocr_regula/datamodels/pms_property.py
Normal file
8
pms_ocr_regula/datamodels/pms_property.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from marshmallow import fields
|
||||
|
||||
from odoo.addons.datamodel.core import Datamodel
|
||||
|
||||
|
||||
class PmsPropertyInfo(Datamodel):
|
||||
_inherit = "pms.property.info"
|
||||
isUsedRegula = fields.Boolean(required=False, allow_none=True)
|
||||
Reference in New Issue
Block a user