Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
15
report_qweb_field_option/tests/test_models.py
Normal file
15
report_qweb_field_option/tests/test_models.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2025 Quartile (https://www.quartile.co)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class TestQwebFieldModel(models.Model):
|
||||
_name = "test.qweb.field.options"
|
||||
_description = "Test Qweb Field Options"
|
||||
|
||||
name = fields.Char()
|
||||
quantity = fields.Float()
|
||||
uom_id = fields.Many2one("uom.uom")
|
||||
value = fields.Float(string="Rounding Factor")
|
||||
currency_id = fields.Many2one("res.currency")
|
||||
company_id = fields.Many2one("res.company")
|
||||
Reference in New Issue
Block a user