| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-italy |
| GIT | |
| GIT | https://github.com/OCA/l10n-italy.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_riba_oca |
| VERSION | |
| VERSION | 1.2.1 |
| CATEGORY | |
| CATEGORY | Localization/Italy |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Rubino, oca-ci, odooNextev, Riccardo |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-italy |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:12 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/account-payment: - account_due_list - account_payment_term_extension OCA/l10n-italy: - l10n_it_abicab - l10n_it_edi_related_document odoo/odoo: - account - base_setup - base - web - onboarding - product - bus - web_tour - html_editor - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - base_iban - l10n_it_edi - l10n_it - base_vat - account_edi_proxy_client - certificate - purchase |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib unidecode cryptography |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | **Italiano** Modulo per gestire le ricevute bancarie. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form |
account.move.form | account.move | xpath | Inherits account.view_move_form |
invoice_tree |
account.move.tree | account.move | field | Inherits account.view_invoice_tree |
riba_credit |
riba.credit.wizard | riba.credit | form | New |
riba_due_date_settlement |
riba.due.date.settlement.wizard | riba.due.date.settlement | form | New |
riba_filter |
RiBa filter | account.move.line | xpath | Inherits account_due_list.view_payments_filter |
riba_issue_view |
riba.issue.wizard | riba.issue | form | New |
riba_past_due |
riba.past_due.wizard | riba.past_due | form | New |
riba_payment_multiple_view_form |
Form view for Pay multiple RiBa lines | riba.payment.multiple | form | New |
slip_layout |
slip_layout | ir.ui.view | qweb | New |
slip_qweb |
slip_qweb | ir.ui.view | qweb | New |
view_account_config_settings_riba |
view_account_config_settings_riba | res.config.settings | app | Inherits account.res_config_settings_view_form |
view_detail_riba_filter |
riba.slip.line.filter | riba.slip.line | search | New |
view_detail_riba_tree |
riba.slip.line.tree | riba.slip.line | list | New |
view_partner_bank_sia_form |
res.partner.bank.form.sia.inherit | res.partner.bank | field | Inherits base.view_partner_bank_form |
view_partner_form_riba |
res.parner.form.riba | res.partner | group | Inherits account.view_partner_property_form |
view_res_bank_add_text_field |
res.bank.add.text.field | res.bank | field | Inherits base.view_res_bank_form |
view_riba_add_text_field |
account.riba.add.text.field | account.payment.term | xpath | Inherits account.view_payment_term_form |
view_riba_configuration_form |
riba.configuration.form | riba.configuration | form | New |
view_riba_configuration_tree |
riba.configuration.tree | riba.configuration | list | New |
view_riba_slip_form |
riba.slip.form | riba.slip | form | New |
view_riba_slip_line_form |
riba.slip.line.form | riba.slip.line | form | New |
view_riba_to_issue_tree |
RiBa Issue | account.move.line | list | New |
view_slip_riba_filter |
riba.slip.filter | riba.slip | search | New |
view_slip_riba_tree |
riba.slip.tree | riba.slip | list | New |
wizard_presentation_riba |
presentation.riba.issue.wizard | presentation.riba.issue | form | New |
wizard_riba_file_export |
Export RiBa | riba.file.export | form | New |
wizard_riba_payment_date |
Set RiBa Payment Date | riba.payment.date | form | New |
No new fields.
Public methods (3)get_riba_lines(self)
unlink(self)
unreconcile_riba_lines(self, riba_lines)
is_riba_payment
Boolean
related='invoice_payment_term_id.riba'
args: 'Is RiBa Payment'
open_amount
Float
compute='_compute_open_amount'
default=0.0
digits='Account'
help='Amount currently only supposed to be paid, but has actually not happened'
past_due_move_line_ids
Many2many → account.move.line
riba_credited_ids
One2many → riba.slip
readonly=True
args: 'riba.slip', 'credit_move_id', 'Credited RiBa Slips'
riba_partner_bank_id
Many2one → res.partner.bank
help='Bank Account Number to which the RiBa will be debited. If not set, first bank in partner will be used.'
string='RiBa Bank Account'
args: 'res.partner.bank'
riba_past_due_ids
One2many → riba.slip.line
readonly=True
args: 'riba.slip.line', 'past_due_move_id', 'Past Due RiBa Slips'
riba_supplier_company_bank_id
Many2one → res.partner.bank
comodel_name='res.partner.bank'
compute='_compute_riba_supplier_company_bank_id'
domain=_domain_riba_supplier_company_bank_id
help='Bank account used for the RiBa of this vendor bill.'
store=True
string='Company Bank Account for Supplier'
action_post(self)
action_riba_payment_date(self)
button_cancel(self)
button_draft(self)
copy(self, default=None)
create(self, vals_list)
get_due_cost_line_ids(self)
month_check(self, invoice_date_due, all_date_due)
due_cost_line
Boolean
iban
Char
related='move_id.riba_partner_bank_id.acc_number'
store=False
string='IBAN'
past_due_invoice_ids
Many2many → account.move
riba
Boolean
related='move_id.invoice_payment_term_id.riba'
store=False
string='RiBa'
slip_line_id
Many2one → riba.slip.line
readonly=True
args: 'riba.slip.line', 'RiBa Line'
slip_line_ids
One2many → riba.slip.move.line
action_riba_issue(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
reconcile(self)
update_paid_riba_lines(self)
No new fields.
Public methods (2)get_riba_lines(self)
unlink(self)
riba
Boolean
default=False
args: 'RiBa'
riba_payment_cost
Float
digits='Account'
help='Collection fees amount. If different from 0, for each payment deadline an invoice line will be added to invoice, with this amount.'
args: 'RiBa Collection Fees'
No public methods.
No new fields.
Public methods (1)write(self, vals)
currency_id
Many2one → res.currency
default=<expr>
args: 'res.currency'
presentation_amount
Monetary
currency_field='currency_id'
action_presentation_riba(self)
No new fields.
Public methods (0)No public methods.
banca_estera
Boolean
No public methods.
due_cost_service_id
Many2one → product.product
No public methods.
due_cost_service_id
Many2one
domain=[('type', '=', 'service')]
help='Default Service for RiBa Collection Fees on invoice.'
readonly=False
related='company_id.due_cost_service_id'
string='Default Collection Fees Service'
default_get(self, fields_list)
group_riba
Boolean
help='Group RiBa by customer while issuing.'
args: 'Group RiBa'
is_supplier_payment_riba
Boolean
readonly=True
related='property_supplier_payment_term_id.riba'
string='Is RiBa Payment'
property_riba_supplier_company_bank_id
Many2one → res.partner.bank
comodel_name='res.partner.bank'
company_dependent=True
domain=_domain_property_riba_supplier_company_bank_id
help='Bank account used for the RiBa of this supplier.'
string='Company Bank Account for Supplier'
No public methods.
codice_sia
Char
help='Identification Code of the Company in the Interbank System.'
size=5
args: 'SIA Code'
unlink(self)
acceptance_account_id
Many2one → account.account
check_company=True
help='Account used when RiBa is accepted by the bank.'
required=True
args: 'account.account', 'Acceptance Account'
acceptance_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa is accepted by the bank.'
required=True
args: 'account.journal', 'Acceptance Journal'
bank_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'A/C Bank Account'
bank_expense_account_id
Many2one → account.account
bank_id
Many2one → res.partner.bank
check_company=True
help='Bank account used for RiBa issuing.'
required=True
args: 'res.partner.bank', 'Bank Account'
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
credit_account_id
Many2one → account.account
check_company=True
domain="[('account_type', '!=', 'liability_credit_card')]"
help='Account used when RiBa amount is credited by the bank.'
args: 'account.account', 'RiBa Account'
credit_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa amount is credited by the bank.'
args: 'account.journal', 'Credit Journal'
name
Char
required=True
size=64
args: 'Description'
overdue_credit_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'Past Due Bills Account'
past_due_fee_amount
Float
past_due_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa is past due.'
args: 'account.journal', 'Past Due Journal'
protest_charge_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'Protest Fee Account'
settlement_journal_id
Many2one → account.journal
check_company=True
help='Journal used when customers finally pay the invoice to bank.'
args: 'account.journal', 'Settlement Journal'
type
Selection
required=True
args: [('sbf', 'Subject To Collection'), ('incasso', 'After Collection')], 'Issue Mode'
get_default_value_by_list(self, field_name)
get_default_value_by_list_line(self, field_name)
acceptance_account_id
Many2one → account.account
default=_get_acceptance_account_id
help='Liability account used during RiBa acceptance. This will be credited to reverse the acceptance entry.'
string='Acceptance Account'
args: 'account.account'
acceptance_amount
Float
default=_get_acceptance_amount
help='Total amount from the RiBa slip that was recorded during acceptance. This amount will be used to reverse the acceptance liability.'
bank_account_id
Many2one → account.account
default=_get_bank_account_id
help='Bank account from which collection fees will be paid. This account will be credited for any expense amounts.'
string='Bank Account'
args: 'account.account'
bank_expense_account_id
Many2one → account.account
default=_get_bank_expense_account_id
help='Expense account for recording bank collection fees. This account will be debited for any fees charged by the bank.'
string='Bank Fees Account'
args: 'account.account'
credit_account_id
Many2one → account.account
default=_get_credit_account_id
help='Asset account representing amounts credited by the bank. This will be debited with the credit amount.'
string='RiBa Credit Account'
args: 'account.account'
credit_amount
Float
help='Amount the bank is crediting to the company. '
credit_journal_id
Many2one → account.journal
default=_get_credit_journal_id
string='Credit Journal'
args: 'account.journal'
expense_amount
Float
help='Amount of fees charged by the bank for the RiBa collection service. If specified, separate entries will be created for the fee payment.'
string='Bank Fees Amount'
create_move(self)
due_date
Date
due_date_settlement_confirm(self)
file_name
Char
readonly=True
riba_txt
Binary
readonly=True
args: 'File'
state
Selection
default='choose'
args: (('choose', 'choose'), ('get', 'get'))
act_getfile(self)
configuration_id
Many2one → riba.configuration
required=True
string='Configuration'
args: 'riba.configuration'
create_list(self)
acceptance_account_id
Many2one → account.account
default=_get_acceptance_account_id
args: 'account.account', 'Acceptance Account'
bank_account_id
Many2one → account.account
default=_get_bank_account_id
args: 'account.account', 'A/C Bank Account'
bank_expense_account_id
Many2one → account.account
default=_get_bank_expense_account_id
args: 'account.account', 'Bank Fees Account'
charge_to_customer
Boolean
config_type
Selection
default=_get_config_type
args: [('sbf', 'Subject To Collection'), ('incasso', 'After Collection')], 'Issue Mode'
credit_account_id
Many2one → account.account
default=_get_credit_account_id
args: 'account.account', 'Credit Account'
credit_amount
Float
default=_get_credit_amount
date
Date
help='If empty, the due date in the line will be used.'
readonly=False
expense_amount
Float
overdue_credit_account_id
Many2one → account.account
default=_get_overdue_credit_account_id
args: 'account.account', 'Past Due Bills Account'
overdue_credit_amount
Float
default=_get_credit_amount
args: 'Past Due Bills Amount'
past_due_fee_amount
Float
default=_get_unsolved_past_due_fee_amount
args: 'Past Due Fees Amount'
past_due_journal_id
Many2one → account.journal
default=_get_past_due_journal_id
domain=[('type', '=', 'bank')]
args: 'account.journal', 'Past Due Journal'
create_move(self)
skip(self)
date
Date
required=True
string='Payment Date'
set_riba_payment_date(self)
skip(self)
payment_date
Date
compute='_compute_payment_date'
help="Defaults to the 'Payment date' in the RiBas.\nIf empty, the due date in each line will be used."
readonly=False
store=True
riba_ids
Many2many → riba.slip
comodel_name='riba.slip'
default=<expr>
readonly=True
required=True
string='Selected RiBas'
riba_line_ids
Many2many → riba.slip.line
comodel_name='riba.slip.line'
compute='_compute_riba_line_ids'
domain="['&',('slip_id', 'in', riba_ids),'|','&',('type', '=', 'sbf'),('state', '=', 'credited'),'&',('type', '=', 'incasso'),('state', '=', 'confirmed'),]"
readonly=False
store=True
string='RiBa lines to be paid'
pay(self)
skip(self)
acceptance_move_ids
Many2many → account.move
compute='_compute_acceptance_move_ids'
string='Acceptance Entries'
args: 'account.move'
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
config_id
Many2one → riba.configuration
help='RiBa configuration to be used.'
index=True
string='Configuration'
args: 'riba.configuration'
credit_move_id
Many2one → account.move
readonly=True
args: 'account.move', 'Credit Entry'
date_accepted
Date
date_created
Date
default=<expr>
readonly=True
args: 'Creation Date'
date_credited
Date
date_paid
Date
help='Default date for payments.'
string='Payment Date'
date_past_due
Date
readonly=True
args: 'Past Due Date'
line_ids
One2many → riba.slip.line
name
Char
default=<expr>
required=True
args: 'Reference'
past_due_move_ids
Many2many → account.move
compute='_compute_past_due_move_ids'
string='Past Due Entries'
args: 'account.move'
payment_ids
Many2many → account.move.line
compute='_compute_payment_ids'
string='Payments'
args: 'account.move.line'
registration_date
Date
default=<expr>
help='Keep empty to use the current date.'
required=True
state
Selection
default='draft'
readonly=True
args: [('draft', 'Draft'), ('accepted', 'Accepted'), ('credited', 'Credited'), ('paid', 'Paid'), ('past_due', 'Past Due'), ('cancel', 'Canceled')]
total_amount
Float
compute='_compute_total_amount'
string='Amount'
type
Selection
readonly=True
related='config_id.type'
string='Type'
user_id
Many2one → res.users
default=<expr>
required=True
args: 'res.users', 'User'
action_cancel_draft(self)
action_open_lines(self)
action_riba_due_date_settlement(self)
action_riba_export(self)
confirm(self)
riba_cancel(self)
riba_past_due(self)
settle_all_line(self)
test_accepted(self)
test_paid(self)
test_past_due(self)
test_state(self, state)
acceptance_account_id
Many2one → account.account
string='Acceptance Account'
args: 'account.account'
acceptance_move_id
Many2one → account.move
readonly=True
string='Acceptance Entry'
args: 'account.move'
amount
Float
compute='_compute_line_values'
bank_id
Many2one → res.partner.bank
string='Debtor Bank'
args: 'res.partner.bank'
cig
Char
compute='_compute_cig_cup_values'
size=256
string='CIG'
company_id
Many2one → res.company
readonly=True
related='slip_id.company_id'
related_sudo=False
store=True
string='Company'
args: 'res.company'
config_id
Many2one
readonly=True
related='slip_id.config_id'
string='Configuration'
credit_move_id
Many2one → account.move
readonly=True
string='Credit Entry'
args: 'account.move'
cup
Char
compute='_compute_cig_cup_values'
size=256
string='CUP'
due_date
Date
readonly=True
iban
Char
readonly=True
related='bank_id.acc_number'
store=False
string='IBAN'
invoice_date
Char
compute='_compute_line_values'
size=256
invoice_number
Char
compute='_compute_line_values'
size=256
move_line_ids
One2many → riba.slip.move.line
string='Credit Move Lines'
args: 'riba.slip.move.line', 'riba_line_id'
partner_id
Many2one → res.partner
readonly=True
string='Customer'
args: 'res.partner'
past_due_move_id
Many2one → account.move
readonly=True
string='Past Due Entry'
args: 'account.move'
payment_id
Many2one → account.move.line
readonly=True
string='Payments'
args: 'account.move.line'
sequence
Integer
slip_id
Many2one → riba.slip
ondelete='cascade'
required=True
string='Slip'
args: 'riba.slip'
state
Selection
readonly=True
tracking=True
args: [('draft', 'Draft'), ('confirmed', 'Confirmed'), ('credited', 'Credited'), ('paid', 'Paid'), ('past_due', 'Past Due'), ('cancel', 'Canceled')]
type
Selection
readonly=True
related='slip_id.config_id.type'
string='Type'
button_settle(self)
confirm(self)
riba_line_settlement(self, date=None)
settle_riba_line(self)
amount
Float
digits='Account'
move_line_id
Many2one → account.move.line
string='Credit Move Line'
args: 'account.move.line'
riba_line_id
Many2one → riba.slip.line
ondelete='cascade'
string='Slip Line'
args: 'riba.slip.line'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-italy |
| GIT | |
| GIT | https://github.com/OCA/l10n-italy.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_riba_oca |
| VERSION | |
| VERSION | 1.10.2 |
| CATEGORY | |
| CATEGORY | Localization/Italy |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Rubino, oca-ci, stenext |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-italy |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:11:58 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/account-financial-reporting: - account_tax_balance OCA/account-financial-tools: - account_fiscal_year OCA/account-payment: - account_due_list OCA/l10n-italy: - l10n_it_fatturapa_out - l10n_it_account - l10n_it_fatturapa - l10n_it_fiscalcode - l10n_it_ipa - l10n_it_rea - l10n_it_account_tax_kind - l10n_it_vat_payability - l10n_it_fiscal_payment_term - l10n_it_fiscal_document_type - l10n_it_abicab OCA/partner-contact: - partner_firstname OCA/server-ux: - date_range odoo/odoo: - account - base_setup - base - web - product - bus - web_tour - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - attachment_indexation - base_iban |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib elementpath unidecode xmlschema asn1crypto codicefiscale |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | **Italiano** Modulo per gestire le ricevute bancarie. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form |
account.move.form | account.move | xpath | Inherits account.view_move_form |
invoice_tree |
account.move.tree | account.move | field | Inherits account.view_invoice_tree |
riba_credit |
riba.credit.wizard | riba.credit | form | New |
riba_due_date_settlement |
riba.due.date.settlement.wizard | riba.due.date.settlement | form | New |
riba_filter |
RiBa filter | account.move.line | xpath | Inherits account_due_list.view_payments_filter |
riba_issue_view |
riba.issue.wizard | riba.issue | form | New |
riba_past_due |
riba.past_due.wizard | riba.past_due | form | New |
riba_payment_multiple_view_form |
Form view for Pay multiple RiBa lines | riba.payment.multiple | form | New |
slip_layout |
slip_layout | ir.ui.view | qweb | New |
slip_qweb |
slip_qweb | ir.ui.view | qweb | New |
view_account_config_settings_riba |
view_account_config_settings_riba | res.config.settings | div | Inherits account.res_config_settings_view_form |
view_detail_riba_filter |
riba.slip.line.filter | riba.slip.line | search | New |
view_detail_riba_tree |
riba.slip.line.tree | riba.slip.line | tree | New |
view_partner_bank_sia_form |
res.partner.bank.form.sia.inherit | res.partner.bank | field | Inherits base.view_partner_bank_form |
view_partner_form_riba |
res.parner.form.riba | res.partner | group | Inherits account.view_partner_property_form |
view_res_bank_add_text_field |
res.bank.add.text.field | res.bank | field | Inherits base.view_res_bank_form |
view_riba_add_text_field |
account.riba.add.text.field | account.payment.term | field | Inherits account.view_payment_term_form |
view_riba_configuration_form |
riba.configuration.form | riba.configuration | form | New |
view_riba_configuration_tree |
riba.configuration.tree | riba.configuration | tree | New |
view_riba_slip_form |
riba.slip.form | riba.slip | form | New |
view_riba_slip_line_form |
riba.slip.line.form | riba.slip.line | form | New |
view_riba_to_issue_tree |
RiBa Issue | account.move.line | tree | New |
view_slip_riba_filter |
riba.slip.filter | riba.slip | search | New |
view_slip_riba_tree |
riba.slip.tree | riba.slip | tree | New |
wizard_presentation_riba |
presentation.riba.issue.wizard | presentation.riba.issue | form | New |
wizard_riba_file_export |
Export RiBa | riba.file.export | form | New |
wizard_riba_payment_date |
Set RiBa Payment Date | riba.payment.date | form | New |
No new fields.
Public methods (3)get_riba_lines(self)
unlink(self)
unreconcile_riba_lines(self, riba_lines)
is_past_due
Boolean
compute='_compute_is_past_due'
store=True
args: 'Is a past due invoice'
is_riba_payment
Boolean
related='invoice_payment_term_id.riba'
args: 'Is RiBa Payment'
open_amount
Float
compute='_compute_open_amount'
default=0.0
digits='Account'
help='Amount currently only supposed to be paid, but has actually not happened'
past_due_move_line_ids
Many2many → account.move.line
riba_credited_ids
One2many → riba.slip
readonly=True
args: 'riba.slip', 'credit_move_id', 'Credited RiBa Slips'
riba_partner_bank_id
Many2one → res.partner.bank
help='Bank Account Number to which the RiBa will be debited. If not set, first bank in partner will be used.'
readonly=True
states={'draft': [('readonly', False)]}
string='RiBa Bank Account'
args: 'res.partner.bank'
riba_past_due_ids
One2many → riba.slip.line
readonly=True
args: 'riba.slip.line', 'past_due_move_id', 'Past Due RiBa Slips'
riba_supplier_company_bank_id
Many2one → res.partner.bank
comodel_name='res.partner.bank'
compute='_compute_riba_supplier_company_bank_id'
domain=_domain_riba_supplier_company_bank_id
help='Bank account used for the RiBa of this vendor bill.'
readonly=False
states={'posted': [('readonly', True)]}
store=True
string='Company Bank Account for Supplier'
action_post(self)
action_riba_payment_date(self)
button_cancel(self)
button_draft(self)
copy(self, default=None)
create(self, vals_list)
get_due_cost_line_ids(self)
month_check(self, invoice_date_due, all_date_due)
due_cost_line
Boolean
iban
Char
related='move_id.riba_partner_bank_id.acc_number'
store=False
string='IBAN'
past_due_invoice_ids
Many2many → account.move
riba
Boolean
related='move_id.invoice_payment_term_id.riba'
store=False
string='RiBa'
slip_line_ids
One2many → riba.slip.move.line
action_riba_issue(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
get_riba_lines(self)
reconcile(self)
update_paid_riba_lines(self)
No new fields.
Public methods (2)get_riba_lines(self)
unlink(self)
riba
Boolean
default=False
args: 'RiBa'
riba_payment_cost
Float
digits='Account'
help='Collection fees amount. If different from 0, for each payment deadline an invoice line will be added to invoice, with this amount.'
args: 'RiBa Collection Fees'
No public methods.
No new fields.
Public methods (1)write(self, vals)
currency_id
Many2one → res.currency
default=<expr>
args: 'res.currency'
presentation_amount
Monetary
currency_field='currency_id'
action_presentation_riba(self)
No new fields.
Public methods (0)No public methods.
banca_estera
Boolean
No public methods.
due_cost_service_id
Many2one → product.product
No public methods.
due_cost_service_id
Many2one
domain=[('type', '=', 'service')]
help='Default Service for RiBa Collection Fees on invoice.'
readonly=False
related='company_id.due_cost_service_id'
string='Default Collection Fees Service'
default_get(self, fields_list)
group_riba
Boolean
help='Group RiBa by customer while issuing.'
args: 'Group RiBa'
is_supplier_payment_riba
Boolean
readonly=True
related='property_supplier_payment_term_id.riba'
string='Is RiBa Payment'
property_riba_supplier_company_bank_id
Many2one → res.partner.bank
comodel_name='res.partner.bank'
company_dependent=True
domain=_domain_property_riba_supplier_company_bank_id
help='Bank account used for the RiBa of this supplier.'
string='Company Bank Account for Supplier'
riba_exclude_expenses
Boolean
string='Exclude expenses Ri.Ba.'
riba_policy_expenses
Selection
default='one_a_month'
string='Ri.Ba. Policy expenses'
args: [('one_a_month', 'More invoices, one expense per Month'), ('unlimited', 'One expense per maturity')]
No public methods.
codice_sia
Char
help='Identification Code of the Company in the Interbank System.'
size=5
args: 'SIA Code'
No public methods.
acceptance_account_id
Many2one → account.account
check_company=True
help='Account used when RiBa is accepted by the bank.'
required=True
args: 'account.account', 'Acceptance Account'
acceptance_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa is accepted by the bank.'
required=True
args: 'account.journal', 'Acceptance Journal'
bank_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'A/C Bank Account'
bank_expense_account_id
Many2one → account.account
bank_id
Many2one → res.partner.bank
check_company=True
help='Bank account used for RiBa issuing.'
required=True
args: 'res.partner.bank', 'Bank Account'
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
credit_account_id
Many2one → account.account
check_company=True
domain="[('company_id', '=', company_id), ('account_type', '!=', 'liability_credit_card'), ]"
help='Account used when RiBa amount is credited by the bank.'
args: 'account.account', 'RiBa Account'
credit_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa amount is credited by the bank.'
args: 'account.journal', 'Credit Journal'
name
Char
required=True
size=64
args: 'Description'
overdue_effects_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'Past Due Bills Account'
past_due_journal_id
Many2one → account.journal
check_company=True
help='Journal used when RiBa is past due.'
args: 'account.journal', 'Past Due Journal'
protest_charge_account_id
Many2one → account.account
check_company=True
args: 'account.account', 'Protest Fee Account'
sbf_collection_type
Selection
settlement_journal_id
Many2one → account.journal
check_company=True
help='Journal used when customers finally pay the invoice to bank.'
args: 'account.journal', 'Settlement Journal'
type
Selection
required=True
args: [('sbf', 'Subject To Collection'), ('incasso', 'After Collection')], 'Issue Mode'
get_default_value_by_list(self, field_name)
get_default_value_by_list_line(self, field_name)
bank_account_id
Many2one → account.account
default=_get_bank_account_id
domain=[('account_type', '=', 'asset_cash')]
args: 'account.account', 'A/C Bank Account'
bank_amount
Float
bank_expense_account_id
Many2one → account.account
default=_get_bank_expense_account_id
args: 'account.account', 'Bank Fees Account'
credit_account_id
Many2one → account.account
default=_get_credit_account_id
args: 'account.account', 'RiBa Account'
credit_amount
Float
default=_get_credit_amount
credit_journal_id
Many2one → account.journal
default=_get_credit_journal_id
domain=[('type', '=', 'bank')]
args: 'account.journal', 'Credit Journal'
expense_amount
Float
create_move(self)
skip(self)
due_date
Date
due_date_settlement_confirm(self)
file_name
Char
readonly=True
riba_txt
Binary
readonly=True
args: 'File'
state
Selection
default='choose'
args: (('choose', 'choose'), ('get', 'get'))
act_getfile(self)
configuration_id
Many2one → riba.configuration
required=True
string='Configuration'
args: 'riba.configuration'
create_list(self)
bank_account_id
Many2one → account.account
default=_get_bank_account_id
domain=[('account_type', '=', 'asset_cash')]
args: 'account.account', 'A/C Bank Account'
bank_amount
Float
bank_expense_account_id
Many2one → account.account
default=_get_bank_expense_account_id
args: 'account.account', 'Bank Fees Account'
config_type
Selection
default=_get_config_type
args: [('sbf', 'Subject To Collection'), ('incasso', 'After Collection')], 'Issue Mode'
date
Date
help='If empty, the due date in the line will be used.'
readonly=False
effects_account_id
Many2one → account.account
default=_get_effects_account_id
args: 'account.account', 'Bills Account'
effects_amount
Float
default=_get_effects_amount
args: 'Bills Amount'
expense_amount
Float
overdue_effects_account_id
Many2one → account.account
default=_get_overdue_effects_account_id
args: 'account.account', 'Past Due Bills Account'
overdue_effects_amount
Float
default=_get_effects_amount
args: 'Past Due Bills Amount'
past_due_journal_id
Many2one → account.journal
default=_get_past_due_journal_id
domain=[('type', '=', 'bank')]
args: 'account.journal', 'Past Due Journal'
riba_bank_account_id
Many2one → account.account
default=_get_riba_bank_account_id
args: 'account.account', 'RiBa Account'
riba_bank_amount
Float
default=_get_effects_amount
args: 'RiBa Amount'
create_move(self)
skip(self)
date
Date
required=True
string='Payment Date'
set_riba_payment_date(self)
payment_date
Date
compute='_compute_payment_date'
help="Defaults to the 'Payment date' in the RiBas.\nIf empty, the due date in each line will be used."
readonly=False
store=True
riba_ids
Many2many → riba.slip
comodel_name='riba.slip'
default=<expr>
readonly=True
required=True
string='Selected RiBas'
riba_line_ids
Many2many → riba.slip.line
comodel_name='riba.slip.line'
compute='_compute_riba_line_ids'
domain="['&',('slip_id', 'in', riba_ids),'|','&',('type', '=', 'sbf'),('state', '=', 'credited'),'&',('type', '=', 'incasso'),('state', '=', 'confirmed'),]"
readonly=False
store=True
string='RiBa lines to be paid'
pay(self)
acceptance_move_ids
Many2many → account.move
compute='_compute_acceptance_move_ids'
string='Acceptance Entries'
args: 'account.move'
company_id
Many2one → res.company
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
args: 'res.company', 'Company'
config_id
Many2one → riba.configuration
help='RiBa configuration to be used.'
index=True
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Configuration'
args: 'riba.configuration'
credit_move_id
Many2one → account.move
readonly=True
args: 'account.move', 'Credit Entry'
date_accepted
Date
date_created
Date
default=<expr>
readonly=True
args: 'Creation Date'
date_credited
Date
date_paid
Date
help='Default date for payments.'
readonly=True
states={'credited': [('readonly', False)]}
string='Payment Date'
date_past_due
Date
readonly=True
args: 'Past Due Date'
line_ids
One2many → riba.slip.line
readonly=True
states={'draft': [('readonly', False)]}
args: 'riba.slip.line', 'slip_id', 'RiBa Due Dates'
name
Char
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
args: 'Reference'
past_due_move_ids
Many2many → account.move
compute='_compute_past_due_move_ids'
string='Past Due Entries'
args: 'account.move'
payment_ids
Many2many → account.move.line
compute='_compute_payment_ids'
string='Payments'
args: 'account.move.line'
registration_date
Date
default=<expr>
help='Keep empty to use the current date.'
readonly=True
required=True
states={'draft': [('readonly', False)], 'cancel': [('readonly', False)]}
state
Selection
default='draft'
readonly=True
args: [('draft', 'Draft'), ('accepted', 'Accepted'), ('credited', 'Credited'), ('paid', 'Paid'), ('past_due', 'Past Due'), ('cancel', 'Canceled')]
total_amount
Float
compute='_compute_total_amount'
string='Amount'
type
Selection
readonly=True
related='config_id.type'
string='Type'
user_id
Many2one → res.users
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
args: 'res.users', 'User'
action_cancel_draft(self)
action_open_lines(self)
action_riba_due_date_settlement(self)
action_riba_export(self)
confirm(self)
riba_cancel(self)
riba_past_due(self)
settle_all_line(self)
test_accepted(self)
test_paid(self)
test_past_due(self)
test_state(self, state)
acceptance_account_id
Many2one → account.account
string='Acceptance Account'
args: 'account.account'
acceptance_move_id
Many2one → account.move
readonly=True
string='Acceptance Entry'
args: 'account.move'
amount
Float
compute='_compute_line_values'
bank_id
Many2one → res.partner.bank
string='Debtor Bank'
args: 'res.partner.bank'
cig
Char
compute='_compute_cig_cup_values'
size=256
string='CIG'
company_id
Many2one → res.company
readonly=True
related='slip_id.company_id'
related_sudo=False
store=True
string='Company'
args: 'res.company'
config_id
Many2one
readonly=True
related='slip_id.config_id'
string='Configuration'
cup
Char
compute='_compute_cig_cup_values'
size=256
string='CUP'
due_date
Date
readonly=True
iban
Char
readonly=True
related='bank_id.acc_number'
store=False
string='IBAN'
invoice_date
Char
compute='_compute_line_values'
size=256
invoice_number
Char
compute='_compute_line_values'
size=256
move_line_ids
One2many → riba.slip.move.line
string='Credit Move Lines'
args: 'riba.slip.move.line', 'riba_line_id'
partner_id
Many2one → res.partner
readonly=True
string='Customer'
args: 'res.partner'
past_due_move_id
Many2one → account.move
readonly=True
string='Past Due Entry'
args: 'account.move'
payment_ids
Many2many → account.move.line
compute='_compute_lines'
string='Payments'
args: 'account.move.line'
sequence
Integer
slip_id
Many2one → riba.slip
ondelete='cascade'
required=True
string='Slip'
args: 'riba.slip'
state
Selection
readonly=True
tracking=True
args: [('draft', 'Draft'), ('confirmed', 'Confirmed'), ('credited', 'Credited'), ('paid', 'Paid'), ('past_due', 'Past Due'), ('cancel', 'Canceled')]
type
Selection
readonly=True
related='slip_id.config_id.type'
string='Type'
button_settle(self)
confirm(self)
move_line_id_payment_get(self)
riba_line_settlement(self, date=None)
settle_riba_line(self)
test_reconciled(self)
amount
Float
digits='Account'
move_line_id
Many2one → account.move.line
string='Credit Move Line'
args: 'account.move.line'
riba_line_id
Many2one → riba.slip.line
ondelete='cascade'
string='Slip Line'
args: 'riba.slip.line'
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/l10n-italy |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] l10n_it_riba_oca: Migration to 19.0 (#5090) |