oca-ocb-hw/odoo-bringout-oca-iot-iot_input_oca/iot_input_oca/tests/models.py
Ernad Husremovic b1d16a46bf Move 7 IoT modules to oca-ocb-hw and 9 product modules to oca-product
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 17:53:33 +02:00

10 lines
231 B
Python

from odoo import models
class ResPartner(models.Model):
_inherit = "res.partner"
def test_fake_iot_input(self, value):
partner = self.browse(value)
partner.message_post(body=str(value))
return {}