Open support321 opened 5 years ago
hr.employee
) and company contacts (inherited from res.partner
)b31e37b
good. I imagined a unique kanban-like view, with the possibility to filter teacher, students, operators and companies all togheter, it is possibile? @BoubakerAB
I did not understand this point : Make the form for creating person contact or company contact with the fields that change accordingly (like in figure) -> you want to show and hide fields when he is contact or company (what are his fields)
-> you want to show and hide fields when he is contact or company (what are his fields)
Company only Fields | Person only fields |
---|---|
company name | Birth date |
legal form | Job status |
company dimension | works for (company) |
fund subscription | |
social security drawer | |
referent (text field) |
These are the non standard fields involved
I'm going to elaborate further more the details that non-company Contacts must have, so the fundamentals are much more clear.
1259ee6
It has to render as a
kanban
that contain the persons (so Students, Teachers and Operators) and the Companies (these can be project partners or project applicants) all together. The single entity form view have to show the contact general details and in which Projects one contact has been involved. Also it has to include some enchancements on the details field, like "validity" for the person ContactIdentification N.
, or specific attachment fields for Companies, like statements and other official documents, all of these based on the type of the contact.Operators and Students can be internal employees of a company or external employees but Teachers and are always external and they do the job on behalf themselves, not as employees of a thrid company.
Students Teachers Operators
A Contact as indiviual can be either a Student, a Teacher or a Operator. They have these fields in common:
Teachers and Operators
res.partner
haschild_ids
for this so I think we can use that)Teacher
category_id
many2many field related tores.partner.category
)Companies
A company may have the same details as company in the
res.partner
Odoo standard. It must have:Current tasks (always on update, for history follow the comments)
(from this)