mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] Add virtual pricelists
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import models, fields, api
|
||||
|
||||
|
||||
class ProductPricelist(models.Model):
|
||||
_inherit = 'product.pricelist'
|
||||
|
||||
is_staff = fields.Boolean('Is Staff')
|
||||
|
||||
is_daily_plan = fields.Boolean('Daily Pricing Plan', default=True,
|
||||
help = "Check if the pricing plan is daily. "
|
||||
"Note that only daily plans can be edited on "
|
||||
"the Hotel Calendar Management.")
|
||||
@api.multi
|
||||
@api.depends('name')
|
||||
def name_get(self):
|
||||
|
||||
Reference in New Issue
Block a user