Skip to content
Health
48/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 38 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
1.18 MB
Module directory on disk
Code analysis 5 migration notes 7 models 9 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 9

XML IDNameModelTypeStatus
view_account_payment_form account.payment.form account.payment form Inherits account.view_account_payment_form
view_currency_form res.currency.form res.currency form Inherits base.view_currency_form
view_currency_move_form res.currency.move.form res.currency.move form New
view_currency_move_line_form res.currency.move.line.form res.currency.move.line form New
view_currency_move_line_search res.currency.move.line.search res.currency.move.line search New
view_currency_move_line_tree res.currency.move.line.tree res.currency.move.line tree New
view_currency_move_search res.currency.move.search res.currency.move search New
view_currency_move_tree res.currency.move.tree res.currency.move tree New
view_currency_tree res.currency.tree res.currency tree Inherits base.view_currency_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • res_currency_move_line_id Many2one → res.currency.move.line
    copy=False ondelete='restrict' readonly=True args: 'res.currency.move.line'
Public methods (0)

No public methods.

New fields (2)
  • has_currency_move_ids Boolean
    compute='_compute_has_currency_move_ids' help='Technical field used for usability purposes'
  • res_currency_move_ids One2many → res.currency.move
    copy=False readonly=True args: 'res.currency.move', 'payment_id'
Public methods (3)
  • action_cancel(self)
  • action_post(self)
    If payment uses and inventoried currency, create the currency moves
  • button_currency_moves(self)

New fields (4)
  • inventoried Boolean
    args: 'Inventoried'
  • inventory_account_id Many2one → account.account
    company_dependent=True string='Inventory Account' args: 'account.account'
  • rounding Float
    digits=(12, 18)
  • valuation_method Selection
    selection=_VALUATION_METHODS string='Valuation Method'
Public methods (0)

No public methods.

New fields (12)
  • amount Float
    readonly=True states={'draft': [('readonly', False)]} args: 'Amount'
  • company_id Many2one → res.company
    change_default=True default=<expr> readonly=True required=True states={'draft': [('readonly', False)]} string='Company' args: 'res.company'
  • credit_account_id Many2one → account.account
    compute='_compute_accounts' args: 'account.account'
  • currency_id Many2one → res.currency
    domain="[('inventoried', '=', True)]" ondelete='restrict' readonly=True required=True states={'draft': [('readonly', False)]} string='Currency' args: 'res.currency'
  • date Date
    copy=False default=fields.Date.context_today readonly=True required=True states={'draft': [('readonly', False)]} string='Move Date'
  • debit_account_id Many2one → account.account
    compute='_compute_accounts' args: 'account.account'
  • direction Selection
    readonly=True required=True selection=_DIRECTIONS states={'draft': [('readonly', False)]} string='Direction'
  • journal_id Many2one → account.journal
    readonly=True required=True states={'draft': [('readonly', False)]} string='Account Journal' args: 'account.journal'
  • line_ids One2many → res.currency.move.line
    copy=False readonly=True states={'draft': [('readonly', False)]} string='Currency move lines' args: 'res.currency.move.line', 'move_id'
  • name Char
    copy=False default=<expr> index=True readonly=True required=True
  • payment_id Many2one → account.payment
    copy=False ondelete='cascade' readonly=True string='Payment' args: 'account.payment'
  • state Selection
    default='draft' readonly=True required=True selection=_STATES states={'draft': [('readonly', False)]}
Public methods (5)
  • action_cancel(self)
  • action_draft(self)
  • action_post(self)
  • create(self, vals)
    @api.model
  • unlink(self)

New fields (13)
  • account_move_ids One2many → account.move
    readonly=True string='Journal Entries' args: 'account.move', 'res_currency_move_line_id'
  • amount Float
    help='Amount in company currency' readonly=True args: 'Amount'
  • company_currency Many2one → res.currency
    related='company_id.currency_id' store=True string='Company currency' args: 'res.currency'
  • company_id Many2one → res.company
    related='move_id.company_id' store=True string='Company' args: 'res.company'
  • currency_id Many2one → res.currency
    related='move_id.currency_id' store=True string='Currency' args: 'res.currency'
  • date Date
    copy=False default=fields.Date.context_today readonly=True required=True string='Payment Date'
  • direction Selection
    related='move_id.direction' store=True string='Direction'
  • in_move_line_id Many2one → res.currency.move.line
    readonly=True string='Incoming move line' args: 'res.currency.move.line'
  • move_id Many2one → res.currency.move
    ondelete='cascade' readonly=True required='True' string='Currency Move' args: 'res.currency.move'
  • out_line_ids One2many → res.currency.move.line
    readonly=True args: 'res.currency.move.line', 'in_move_line_id', 'Outgoing Move Lines'
  • price_unit Float
    compute='_compute_price_unit' store=True args: 'Price Unit'
  • quantity Float
    readonly=True args: 'Quantity'
  • remaining_qty Float
    compute='_compute_remaining_qty' store=True args: 'Remaing quantity'
Public methods (2)
  • create(self, vals)
    @api.model
  • unlink(self)

Loading…

Loading…