mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 09:12:03 +02:00
10 lines
231 B
Python
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 {}
|