French Letter of Change
account_payment_fr_lcr · OCA/l10n-france
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.18 MB
Module directory on disk
Code analysis
0 migration notes
7 models
3 views
0 HTTP endpoints
Description
This module adds support for French Letters of Change. This module supports:
- Direct letter of change (in French : Lettre de change directe or LCR directe),
- Accepted letter of change (in French : Lettre de change acceptée ; I call it paper letter of change),
- Promissory note (in French : Billet à ordre),
It supports cash discounts debit orders and Dailly convention.
This module has 2 main features:
- for Accepted Letter of Change, generate a paper letter of change as PDF following the official layout NF K 11-030-1.
- generate of LCR (or BOR) CFONB files to send to your bank.
This module follows the specifications published on the CFONB website, section Espace documentaire > Instruments de paiement > Effet de commerce (document version of September 2002).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_payment_method_line_form |
fr_lcr.account.payment.method.line.form | account.payment.method.line | form | Inherits account_payment_batch_oca.account_payment_method_line_form |
account_payment_order_form |
pain.base.account.payment.order.form | account.payment.order | form | Inherits account_payment_batch_oca.account_payment_order_form |
view_move_form |
account_payment_fr_lcr.view_move_form | account.move | form | Inherits account_payment_batch_oca.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (5)
-
fr_lcr_attachment_datasBinaryrelated='fr_lcr_attachment_id.datas'string='Bill of Exchange File' -
fr_lcr_attachment_idMany2one → ir.attachmentstring='Bill of Exchange Attachment' args: 'ir.attachment' -
fr_lcr_attachment_nameCharrelated='fr_lcr_attachment_id.name'string='Bill of Exchange Filename' -
fr_lcr_partner_bank_idMany2one → res.partner.bankcheck_company=Truecompute='_compute_fr_lcr_partner_bank_id'domain="[('partner_id', '=', commercial_partner_id)]"help='Bank account of the customer that will be debited by the bill of exchange. By default, Odoo selects the first French IBAN bank account of the partner.'readonly=Falsestore=Truestring='Bill of Exchange Bank Account'tracking=True args: 'res.partner.bank' -
payment_method_line_fr_lcr_typeSelectionrelated='preferred_payment_method_line_id.fr_lcr_type'store=True
-
fr_lcr_generate_attachment(self) -
fr_lcr_print(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
draft2open_payment_line_check(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (5)
-
fr_lcr_convention_typeCharhelp="Field C1 'Convention Type' in CFONB header line, 6 characters maximum."size=6string='Convention Type' -
fr_lcr_daillyBooleanstring='Dailly Convention' -
fr_lcr_default_collection_optionSelectiondefault='due_date'string='Default Collection Option' args: '_fr_lcr_collection_option_selection' -
fr_lcr_default_dailly_optionSelectiondefault='none'string='Default Dailly Option' args: '_fr_lcr_dailly_option_selection' -
fr_lcr_typeSelectioncompute='_compute_fr_lcr_type'precompute=Truereadonly=Falsestore=Truestring='Bill of Exchange Type' args: [('not_accepted', 'Lettre de change non acceptée (LCR directe)'), ('accepted', 'Lettre de change acceptée'), ('promissory_note', 'Billet à ordre')]
No public methods.
New fields (4)
-
fr_lcr_collection_optionSelectioncompute='_compute_fr_lcr_fields'precompute=Truereadonly=Falsestore=Truestring='Collection Option' args: <expr> -
fr_lcr_daillyBooleancompute='_compute_fr_lcr_fields'precompute=Truestore=Truestring='Dailly Convention' -
fr_lcr_dailly_optionSelectioncompute='_compute_fr_lcr_fields'precompute=Truereadonly=Falsestore=Truestring='Dailly Option' args: <expr> -
fr_lcr_value_dateDatestring='Value Date'
-
draft2open(self) -
generate_payment_file(self)Creates the LCR CFONB file.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…