[MIG] Migration account_budget_forecast addons to v14.0
This commit is contained in:
17
account_budget_forecast/models/product.py
Normal file
17
account_budget_forecast/models/product.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import models, fields, _
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
budget_level = fields.Selection(
|
||||
[
|
||||
("line_section", "Section"),
|
||||
("line_subsection", "Sub-Section"),
|
||||
("line_article", "Article"),
|
||||
],
|
||||
string="Budget level",
|
||||
default="line_article",
|
||||
)
|
Reference in New Issue
Block a user