mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 06:22:03 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
288 B
Python
11 lines
288 B
Python
from odoo import fields, models
|
|
|
|
|
|
class ProjectVersion(models.Model):
|
|
_name = "project.version"
|
|
_description = "Project Version"
|
|
|
|
name = fields.Char(required=True)
|
|
project_id = fields.Many2one(
|
|
string="Project", comodel_name="project.project", required=True
|
|
)
|