forked from michel/Coworking
/
This commit is contained in:
parent
5960956092
commit
28d2f09121
@ -17,7 +17,7 @@ class Coworker(models.Model):
|
||||
('visitor', 'Visitor')])
|
||||
company_name = fields.Char('Company')
|
||||
job = fields.Char()
|
||||
|
||||
contact_date = fields.Date()
|
||||
street = fields.Char()
|
||||
postal_code = fields.Char()
|
||||
city = fields.Char()
|
||||
|
@ -10,7 +10,7 @@
|
||||
<sheet>
|
||||
<group name="group_top">
|
||||
<group name="group_left">
|
||||
<field name="create_date" readonly="1" />
|
||||
<field name="contact_date" />
|
||||
<field name="name" />
|
||||
<field name="firstname" />
|
||||
<field name="coworker_type" />
|
||||
@ -35,5 +35,17 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_tree_coworker" model="ir.ui.view">
|
||||
<field name="name">Coworker Tree</field>
|
||||
<field name="model">coworking.coworker</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="firstname" />
|
||||
<field name="company_name" />
|
||||
<field name="gsm" />
|
||||
<field name="email" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user