Skip to Content
Reference

Models and fields

Updated Markdown
On this page

Consultations defines 12 model(s) and 78 field(s) on Jaah 19.0. This page lists every model the app creates or extends and the purpose of each field. Generated from the installed database on 2026-10-14 for version 19.0.1.0.28.

Consulting (j.consulting)

Model. Defined by this app.

Active (active)

Type: boolean · Stored · Tracked in the chatter

Advice (advice)

Type: html · Stored

Approve Date (approve_date)

Type: datetime · Readonly · Stored

Number of Attachments (attachment_number)

Type: integer · Readonly · Computed

Client (client_id)

Type: many2one · Required · Stored · Relation: Contact (res.partner) · Tracked in the chatter

Other Clients (client_ids)

Type: many2many · Stored · Relation: Contact (res.partner) · Tracked in the chatter

Origin Request (client_request_id)

Type: many2one · Readonly · Stored · Relation: Legal Client Request (j.legal.client.request) · Tracked in the chatter

Originating portal request.

Branch (company_id)

Type: many2one · Required · Readonly · Stored · Relation: Companies (res.company)

Created on (create_date)

Type: datetime · Readonly · Stored

Created by (create_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Deadline (deadline_date)

Type: date · Required · Stored · Tracked in the chatter

Done Date (done_date)

Type: datetime · Readonly · Stored

Inquiry (inquiry)

Type: html · Stored

Lawyers (lawyer_ids)

Type: many2many · Required · Stored · Relation: Lawyer (j.lawyer) · Tracked in the chatter

Managed Followers (managed_follower_ids)

Type: many2many · Stored · Relation: Contact (res.partner)

Internal: partners auto-subscribed because of the client / lawyer links. Used so resyncs do not drop manually-added followers.

Sequence (name)

Type: char · Required · Readonly · Stored

Oppositions (opposition_ids)

Type: many2many · Stored · Relation: Contact (res.partner) · Tracked in the chatter

Privacy Visibility (privacy_visibility)

Type: selection · Stored · Values: Invited Employees (followers), All employees (employees), Invited portal users and all employees (portal), Invited portal users and Invited Employees (invited)

Who can see this consulting: - Invited Employees: only internal users who are followers (typically the assigned lawyers). - All employees: any internal user in the firm. - Invited portal users and all employees: the client (auto-followed) sees it through the portal, plus all internal users. - Invited portal users and Invited Employees: only followers see it, including portal followers — use for sensitive consultings.

Reject Date (reject_date)

Type: datetime · Readonly · Stored

Reject Reason (reject_reason_id)

Type: many2one · Stored · Relation: Consulting Reject Reason (j.consulting.reject.reason) · Tracked in the chatter

Response (response)

Type: html · Stored

Source (source_id)

Type: char · Readonly · Stored

Origin reference for reports.

Multi Clients (stakeholders_check)

Type: boolean · Readonly · Computed · Related to: company_id.stakeholders_check

Enable multiple clients per record.

State (state)

Type: selection · Readonly · Stored · Values: Draft (draft), Approved (approved), Late (late), Done (done), Rejected (reject) · Tracked in the chatter

Subject (subject)

Type: char · Stored · Tracked in the chatter

Third Parties (third_party_ids)

Type: many2many · Stored · Relation: Contact (res.partner) · Tracked in the chatter

Responsible (user_id)

Type: many2one · Stored · Relation: User (res.users)

Used as the activity / mail-template default owner.

Last Updated on (write_date)

Type: datetime · Readonly · Stored

Last Updated by (write_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Consulting Reject Reason (j.consulting.reject.reason)

Model. Defined by this app.

Branch (company_id)

Type: many2one · Stored · Relation: Companies (res.company) · Tracked in the chatter

Rejected Consultations Count (consulting_count)

Type: integer · Readonly · Computed

Rejected Consultations (consulting_ids)

Type: one2many · Stored · Relation: Consulting (j.consulting)

Created on (create_date)

Type: datetime · Readonly · Stored

Created by (create_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Description (description)

Type: char · Stored · Translatable · Tracked in the chatter

Reason (name)

Type: char · Required · Stored · Translatable · Tracked in the chatter

Last Updated on (write_date)

Type: datetime · Readonly · Stored

Last Updated by (write_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Consulting Reject Wizard (j.consulting.reject.wizard)

Wizard (transient). Defined by this app.

Consulting (consulting_id)

Type: many2one · Required · Stored · Relation: Consulting (j.consulting)

Created on (create_date)

Type: datetime · Readonly · Stored

Created by (create_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Reject Reason (reject_reason_id)

Type: many2one · Required · Stored · Relation: Consulting Reject Reason (j.consulting.reject.reason)

Last Updated on (write_date)

Type: datetime · Readonly · Stored

Last Updated by (write_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Consulting State Tag (filter helper) (j.consulting.state.tag)

Model. Defined by this app.

Code (code)

Type: char · Required · Stored

Technical state code.

Created on (create_date)

Type: datetime · Readonly · Stored

Created by (create_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Name (name)

Type: char · Required · Stored · Translatable

Sequence (sequence)

Type: integer · Stored

Last Updated on (write_date)

Type: datetime · Readonly · Stored

Last Updated by (write_uid)

Type: many2one · Readonly · Stored · Relation: User (res.users)

Lawyer (j.lawyer)

Model. Defined by j_law_base; extended by this app.

Consulting Count (consulting_count)

Type: integer · Readonly · Computed

Consultations (consulting_ids)

Type: many2many · Readonly · Relation: Consulting (j.consulting) · Computed

Model. Defined by j_law_base; extended by this app.

Type: integer · Readonly · Computed

Type: one2many · Stored · Relation: Consulting (j.consulting)

Type: selection · Required · Stored · Values: Consulting (consulting) · Tracked in the chatter

List Report Wizard (j.list.report.wizard)

Wizard (transient). Defined by j_law_base; extended by this app.

Consulting States (consulting_state_ids)

Type: many2many · Stored · Relation: Consulting State Tag (filter helper) (j.consulting.state.tag)

Type (type)

Type: selection · Required · Stored · Values: Consultings (consultings)

Neglected Report Wizard (j.neglected.report.wizard)

Wizard (transient). Defined by j_law_base; extended by this app.

Consulting States (consulting_state_ids)

Type: many2many · Stored · Relation: Consulting State Tag (filter helper) (j.consulting.state.tag)

Type (type)

Type: selection · Required · Stored · Values: Consultings (consultings)

Activity (mail.activity)

Model. Defined by mail; extended by this app.

Consulting Activity (consulting_activity)

Type: boolean · Stored

Flagged on the 'Approve / Reject Consulting' activity. Auto-closed when the consulting is approved, rejected, or moved back to draft.

Termination Activity (termination_activity)

Type: boolean · Stored

Flagged on the 'Drafting the Consultation' activity. Auto-closed when the consulting is marked done.

Companies (res.company)

Model. Defined by base; extended by this app.

Approve / Reject Consulting Activity (approve_reject_consulting_activity)

Type: boolean · Stored

If enabled, an Approve / Reject review activity is auto-scheduled on every new consulting for each assigned lawyer.

Draft Within (consulting_drafting_days)

Type: integer · Stored

Days from approval when the 'Drafting the Consultation' activity falls due for the assigned lawyer(s).

Approve Within (consulting_review_days)

Type: integer · Stored

Days from consulting creation when the Approve / Reject review activity falls due for the assigned lawyer(s).

Drafting Consulting Activity (draft_consulting_activity)

Type: boolean · Stored

If enabled, a Drafting follow-up activity fires for each assigned lawyer when the consulting is approved.

Client (pdf_consulting_client)

Type: boolean · Stored

Create Date (pdf_consulting_create_date)

Type: boolean · Stored

Deadline (pdf_consulting_deadline)

Type: boolean · Stored

Lawyers (pdf_consulting_lawyers)

Type: boolean · Stored

Sequence (pdf_consulting_name)

Type: boolean · Stored

State (pdf_consulting_state)

Type: boolean · Stored

Subject (pdf_consulting_subject)

Type: boolean · Stored

Config Settings (res.config.settings)

Wizard (transient). Defined by base; extended by this app.

Approve / Reject Consulting Activity (approve_reject_consulting_activity)

Type: boolean · Computed · Related to: company_id.approve_reject_consulting_activity

If enabled, an Approve / Reject review activity is auto-scheduled on every new consulting for each assigned lawyer.

Draft Within (consulting_drafting_days)

Type: integer · Computed · Related to: company_id.consulting_drafting_days

Days from approval when the 'Drafting the Consultation' activity falls due for the assigned lawyer(s).

Approve Within (consulting_review_days)

Type: integer · Computed · Related to: company_id.consulting_review_days

Days from consulting creation when the Approve / Reject review activity falls due for the assigned lawyer(s).

Drafting Consulting Activity (draft_consulting_activity)

Type: boolean · Computed · Related to: company_id.draft_consulting_activity

If enabled, a Drafting follow-up activity fires for each assigned lawyer when the consulting is approved.

Contact (res.partner)

Model. Defined by base; extended by this app.

Consulting Count (consulting_count)

Type: integer · Readonly · Computed

Was this page helpful?

Thank you for your feedback.