mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-20 20:22:08 +02:00
9 lines
268 B
Python
9 lines
268 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class PurchaseOrder(models.Model):
|
|
_inherit = 'purchase.order'
|
|
|
|
project_id = fields.Many2one('project.project', domain=[('is_template', '=', False)])
|