Please enable JavaScript to view this site.

Made in EU
Odoo Forums

Navigation: Schema: hr > Tables

expense

Expense

Catalog: Odoo

Schema: hr

Documentation:

Base model to inherit from to add extract functionality to a model.

The data in this table is partitioned per value of the column.

This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.

Table Columns

The columns of the table expense are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

account_id_label

string

 

An expense account is expected

account_id

string

 

An expense account is expected

accounting_date

datetime

Accounting Date

 

activity_calendar_event_id_label

string

 

 

activity_calendar_event_id

string

 

 

activity_date_deadline

datetime

Next Activity Deadline

 

activity_exception_decoration

string

Activity Exception Decoration

Type of the exception activity on record.

activity_exception_icon

string

Icon

Icon to indicate an exception activity.

activity_ids

string

 

 

activity_state

string

Activity State

Status based on activitiesOverdue: Due date is already passedToday: Activity date is todayPlanned: Future activities.

activity_summary

string

Next Activity Summary

 

activity_type_icon

string

Activity Type Icon

Font awesome icon e.g. fa-tasks

activity_type_id_label

string

 

 

activity_type_id

string

 

 

activity_user_id_label

string

 

 

activity_user_id

string

 

 

amount_residual

decimal

Amount Due

 

amount_tax_company

decimal

Tax amount

Tax amount in company currency

amount_tax

decimal

Tax amount in Currency

Tax amount in currency

analytic_distribution

string

Analytic Distribution

 

analytic_precision

int32

Analytic Precision

 

approved_by_label

string

 

 

approved_by

string

 

 

approved_on

datetime

Approved On

 

attachment_number

int32

Number of Attachments

 

can_be_reinvoiced

boolean

Can be reinvoiced

 

company_currency_id_label

string

 

 

company_currency_id

string

 

 

company_id_label

string

 

 

company_id

string

 

 

create_date

datetime

Created on

 

create_uid_label

string

 

 

create_uid

string

 

 

currency_id_label

string

 

 

currency_id

string

 

 

currency_rate

decimal

Currency Rate

 

date

datetime

Expense Date

 

description

string

Internal Notes

 

display_name

string

Display Name

 

duplicate_expense_ids

string

 

 

employee_id_label

string

 

 

employee_id

string

 

 

extract_can_show_send_button

boolean

Can show the ocr send button

 

extract_error_message

string

Error message

 

extract_remote_id

int32

Id of the request to IAP-OCR

 

extract_state_processed

boolean

Extract State Processed

 

extract_state

string

Extract state

 

extract_status_code

int32

Status code

 

has_message

boolean

Has Message

 

id

int32

ID

 

is_editable

boolean

Is Editable By Current User

 

is_in_extractable_state

boolean

Is In Extractable State

 

is_ref_editable

boolean

Reference Is Editable By Current User

 

is_refused

boolean

Explicitly Refused by manager or accountant

 

label_convert_rate

string

Label Convert Rate

 

message_attachment_count

int32

Attachment Count

 

message_follower_ids

string

 

 

message_has_error_counter

int32

Number of errors

Number of messages with delivery error

message_has_error

boolean

Message Delivery error

If checked, some messages have a delivery error.

message_has_sms_error

boolean

SMS Delivery error

If checked, some messages have a delivery error.

message_ids

string

 

 

message_is_follower

boolean

Is Follower

 

message_main_attachment_id_label

string

 

 

message_main_attachment_id

string

 

 

message_needaction_counter

int32

Number of Actions

Number of messages which requires an action

message_needaction

boolean

Action Needed

If checked, new messages require your attention.

message_partner_ids

string

 

 

my_activity_date_deadline

datetime

My Activity Deadline

 

name

string

Description

 

payment_mode

string

Paid By

 

predicted_category

string

Predicted Category

 

product_description

string

Product Description

 

product_has_cost

boolean

Is product with non zero cost selected

 

product_has_tax

boolean

Whether tax is defined on a selected product

 

product_id_label

string

 

 

product_id

string

 

 

product_uom_category_id_label

string

 

Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios.

product_uom_category_id

string

 

Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios.

product_uom_id_label

string

 

 

product_uom_id

string

 

 

quantity

decimal

Quantity

 

reference

string

Bill Reference

 

sale_order_id_label

string

 

If the category has an expense policy, it will be reinvoiced on this sales order

sale_order_id

string

 

If the category has an expense policy, it will be reinvoiced on this sales order

same_currency

boolean

Is currency_id different from the company_currency_id

 

sample

boolean

Sample

 

sheet_id_label

string

 

 

sheet_id

string

 

 

sheet_is_editable

boolean

Sheet Is Editable

 

state

string

Status

 

tax_ids

string

 

 

total_amount_company

decimal

Total

 

total_amount

decimal

Total In Currency

 

unit_amount_display

decimal

Unit Price Display

 

unit_amount

decimal

Unit Price

 

untaxed_amount

decimal

Total Untaxed Amount In Currency

 

website_message_ids

string

 

Website communication history

write_date

datetime

Last Updated on

 

write_uid_label

string

 

 

write_uid

string

 

 

 

01-03-2023 15:29 Version 22.1.135-BETA+3826

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer