mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: fix labels ubications menu & cancelation rule tree (#25)
This commit is contained in:
@@ -10,7 +10,7 @@ class PmsCancelationRule(models.Model):
|
|||||||
_description = "Cancelation Rules"
|
_description = "Cancelation Rules"
|
||||||
|
|
||||||
# Fields declaration
|
# Fields declaration
|
||||||
name = fields.Char("Amenity Name", translate=True, required=True)
|
name = fields.Char(string="Cancelation Rule", translate=True, required=True)
|
||||||
pricelist_ids = fields.One2many(
|
pricelist_ids = fields.One2many(
|
||||||
"product.pricelist", "cancelation_rule_id", "Pricelist that use this rule"
|
"product.pricelist", "cancelation_rule_id", "Pricelist that use this rule"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<field name="view_mode">tree,form</field>
|
<field name="view_mode">tree,form</field>
|
||||||
</record>
|
</record>
|
||||||
<menuitem
|
<menuitem
|
||||||
name="Ubitacions"
|
name="Ubications"
|
||||||
id="menu_open_pms_floor_form_tree"
|
id="menu_open_pms_floor_form_tree"
|
||||||
action="open_pms_floor_form_tree"
|
action="open_pms_floor_form_tree"
|
||||||
sequence="21"
|
sequence="21"
|
||||||
|
|||||||
Reference in New Issue
Block a user