TIP: You can type at any time to perform a new search.
Thai Localization - Multicurrency Revaluation
l10n_th_multicurrency_revaluation · OCA/l10n-thailand
- Repository
- OCA/l10n-thailand · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Localization
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-thailand
- Last tracking update
- 2026-08-07 07:57:17
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- Saran440, OCA-git-bot, oca-ci
Code Analysis ⓘ
Views touched (10)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
curr_unrealized_report |
curr_unrealized_report | ir.ui.view | qweb | New |
currency_urealized_report_launcher_wizard |
Currency Revaluation Report | unrealized.report.printer | form | New |
view_account_config_settings |
account settings currency revaluation | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_account_currency_revaluation_wizard |
Currency revaluation | wizard.currency.revaluation | form | New |
view_account_form_inherit |
account.account.form | account.account | form | Inherits account.view_account_form |
view_account_move_filter |
account.move | Inherits account.view_account_move_filter | ||
view_account_move_line_filter |
account.move.line.search | account.move.line | search | Inherits account.view_account_move_line_filter |
view_account_reverse_currency_revaluation_wizard |
Reverse Currency Revaluation | wizard.reverse.currency.revaluation | form | New |
view_move_form |
account.move | form | Inherits account.view_move_form | |
view_move_line_form |
account.move.line.form | account.move.line | form | Inherits account.view_move_line_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (10)
New fields (1)
-
currency_revaluationBooleanstring='Allow Currency Revaluation'
-
compute_revaluations(self, revaluation_date, start_date=None) -
init(self) -
write(self, vals)
New fields (2)
-
revaluation_reversedBooleandefault=Falsereadonly=Truestring='Revaluation reversed' -
revaluation_to_reverseBooleandefault=Falsereadonly=Truestring='Revaluation to reverse'
No public methods.
New fields (7)
-
gl_balanceFloatstring='Aggregated Amount' -
gl_currency_rateFloatstring='Currency rate' -
gl_foreign_balanceFloatstring='Aggregated Amount currency' -
gl_revaluated_balanceFloatstring='Revaluated Amount' -
revaluation_created_line_idMany2one → account.move.linecomodel_name='account.move.line'copy=Falsereadonly=Truestring='Revaluation Created Line' -
revaluation_origin_line_countIntegercompute='_compute_revaluation_origin_line_count' -
revaluation_origin_line_idsOne2many → account.move.linecomodel_name='account.move.line'inverse_name='revaluation_created_line_id'readonly=Truestring='Revaluation Origin Lines'
-
action_view_revaluation_created_line(self) -
action_view_revaluation_origin_lines(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
generate_xlsx_report(self, workbook, data, objects)
New fields (10)
-
auto_post_entriesBooleandefault=Truehelp='If marked, the entries created in the process will be posted automatically.'readonly=Falsestring='Auto Post Created Entries' -
currency_reval_journal_idMany2one → account.journalcomodel_name='account.journal'domain=<expr>string='Currency gain & loss Default Journal' -
provision_bs_gain_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Provision B.S. gain account' -
provision_bs_loss_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Provision B.S. loss account' -
provision_pl_analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'string='Provision P&L Analytic account' -
provision_pl_gain_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Provision P&L gain account' -
provision_pl_loss_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Provision P&L loss account' -
revaluation_analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'domain=<expr>string='Revaluation Analytic account' -
revaluation_gain_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Revaluation gain account' -
revaluation_loss_account_idMany2one → account.accountcomodel_name='account.account'domain=<expr>string='Revaluation loss account'
No public methods.
New fields (10)
-
auto_post_entriesBooleanreadonly=Falserelated='company_id.auto_post_entries' -
currency_reval_journal_idMany2one → account.journalcomodel_name='account.journal'readonly=Falserelated='company_id.currency_reval_journal_id' -
provision_bs_gain_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.provision_bs_gain_account_id' -
provision_bs_loss_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.provision_bs_loss_account_id' -
provision_pl_analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'readonly=Falserelated='company_id.provision_pl_analytic_account_id' -
provision_pl_gain_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.provision_pl_gain_account_id' -
provision_pl_loss_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.provision_pl_loss_account_id' -
revaluation_analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'readonly=Falserelated='company_id.revaluation_analytic_account_id' -
revaluation_gain_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.revaluation_gain_account_id' -
revaluation_loss_account_idMany2one → account.accountcomodel_name='account.account'readonly=Falserelated='company_id.revaluation_loss_account_id'
No public methods.
New fields (4)
-
account_idsMany2many → account.accountdefault=<expr>domain=[('currency_revaluation', '=', True)]string='Accounts' args: 'account.account' -
end_dateDatedefault=<expr>help='The report will print till this Date. The default value will be today.'required=True -
only_include_posted_entriesBooleandefault=False -
start_dateDatedefault=<expr>help='The report will print from this Date, all the revaluated entries created from this date. The default value will be the first day of the month'
-
export_xlsx(self)Export the xlsx report -
print_report(self)Show the report
New fields (5)
-
journal_idMany2one → account.journalcomodel_name='account.journal'default=<expr>domain=[('type', '=', 'general')]help='You can set the default journal in company settings.'required=Truestring='Journal' -
labelChardefault=<expr>help='This label will be inserted in entries description.You can use %(account)s, %(account_name)s, %(currency)s and %(rate)s keywords.'required=Truesize=100string='Entry description' -
revaluation_account_idsMany2many → account.accountcomodel_name='account.account'default=<expr>domain=<expr>help='Accounts that will be revaluated.'required=Truestring='Revaluation Accounts' -
revaluation_dateDatedefault=<expr>required=True -
start_dateDatedefault=<expr>string='Start Revaluation Period'
-
revaluate_currency(self)Compute unrealized currency gain and loss and add entries to adjust balances @return: dict to open an Entries view filtered on generated move lines
New fields (5)
-
entries_to_reverse_idsMany2many → account.movecomodel_name='account.move'help='The revaluated entries that will be reversed.'string='Entries to reverse' -
journal_idMany2one → account.journalcomodel_name='account.journal'default=<expr>domain=[('type', '=', 'general')]help='You can set the default journal in company settings.'required=Truestring='Journal' -
revaluation_interval_end_dateDatehelp='All entries revaluated on or before this date will be taken into account.'string='Revaluation End Date' -
revaluation_interval_start_dateDatehelp='All entries revaluated on or after this date will be taken into account.'string='Revaluation Start Date' -
reverse_posting_dateDatehelp='Date that will be assigned to the reverse entries created.'string='Reverse Entries Accounting Date'
-
onchange_revaluation_interval_dates(self)@api.onchange('revaluation_interval_start_date', 'revaluation_interval_end_date') -
reverse_revaluate_currency(self)