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