add fields in property tree view
This commit is contained in:
parent
a4b4e376a0
commit
354c56bd26
|
|
@ -1206,12 +1206,17 @@ msgstr "عمولات غير مفوترة"
|
|||
|
||||
#. module: property_management
|
||||
#: model:ir.model.fields,field_description:property_management.field_annual_raise__name
|
||||
#: model:ir.model.fields,field_description:property_management.field_end_of_rent__name
|
||||
#: model:ir.model.fields,field_description:property_management.field_rent_type__name
|
||||
#: model:ir.model.fields,field_description:property_management.field_rental_contract__name
|
||||
msgid "Name"
|
||||
msgstr "الأسم"
|
||||
|
||||
|
||||
#. module: property_management
|
||||
#: model:ir.model.fields,field_description:property_management.field_end_of_rent__name
|
||||
msgid "Reference Description"
|
||||
msgstr "وصف مرجعي"
|
||||
|
||||
#. module: property_management
|
||||
#: code:addons/property_management/models/property_management_conf.py:0
|
||||
#: model:ir.model.constraint,message:property_management.constraint_rent_type_name_months
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class EndOfRent(models.Model):
|
|||
_description = "Rental Contract End"
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
|
||||
name = fields.Char(string="Name")
|
||||
name = fields.Char(string="Reference Description")
|
||||
date = fields.Date(string="Date", default=fields.Date.context_today)
|
||||
contract_state = fields.Selection([('before', 'Before Contract Ending'),
|
||||
('after', 'After Contract Ending')], string="Before/After Contract Finishing")
|
||||
|
|
|
|||
|
|
@ -289,6 +289,8 @@
|
|||
<field name="seq"/>
|
||||
<field name="management_type"/>
|
||||
<field name="property_id"/>
|
||||
<field name="unit_ids" widget="many2many_tags"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="rent_type"/>
|
||||
<field name="date_from"/>
|
||||
<field name="date_to"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue