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/models/__init__.py
Normal file
1
pms_ocr_regula/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import pms_property
|
||||
9
pms_ocr_regula/models/pms_property.py
Normal file
9
pms_ocr_regula/models/pms_property.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class PmsProperty(models.Model):
|
||||
_inherit = "pms.property"
|
||||
|
||||
is_used_regula = fields.Boolean(
|
||||
string="Used regula", help="True if this property uses regula's OCR"
|
||||
)
|
||||
Reference in New Issue
Block a user