法国¶
模块¶
The following modules are installed automatically with the French localization:
名称 |
技术名称 |
描述 |
|---|---|---|
法国 - 会计 |
|
French fiscal localization package that applies only to companies based in mainland France and does not include DOM-TOMs (Départements d’Outre-Mer et Territoires d’Outre-Mer, i.e., France’s overseas departments and territories). |
法国 - 会计报表 |
|
Export of the French VAT report, which can be sent to DGFiP, an OGA, or a professional accountant. |
法国 - POS 增值税防伪认证(CGI 286 I-3 bis) |
|
VAT anti-fraud certification for points of sale. |
France - E-Invoicing (Approved Platform) |
|
Support for mandatory electronic invoicing in France to send and receive documents via the Odoo-approved platform. |
France - E-reporting for POS |
|
PDP Flux 10 e-reporting for POS. |
Additionally, the following modules must be manually installed:
名称 |
技术名称 |
描述 |
|---|---|---|
法国 - FEC 导入 |
|
导入标准 FEC 文件,用于导入会计历史记录。 |
法国 - 带会计的工资单 |
|
包含法国工资单规则所需的会计数据。 |
France - Peppol integration with Chorus Pro |
|
添加向Chorus Pro 提交发票所需的字段。 |
注解
In some cases, such as when upgrading to a version with additional modules, it is possible that modules may not be installed automatically. Any missing modules can be manually installed.
本地化概述¶
法国本地化包确保符合法国财务和会计法规。它包括管理税务、财务状况、报告的工具,以及针对法国标准定制的预定义会计科目表。
法国本地化包提供以下关键功能,以确保符合当地财务和会计法规:
科目表:针对法国会计标准定制的预定义结构
财政状况(税项和科目映射):基于客户或供应商注册状态的自动税务调整
税务:预配置的税率,包括标准增值税、零税率和免税选项
报表¶
安装法国 - 会计(l10n_fr_account)模块可访问一些法国特定的会计报告,例如:
Bilan comptable (FR)`(:guilabel:`资产负债表)
Compte de résultats (FR)`(:guilabel:`损益表)
Rapport de taxes (FR)`(:guilabel:`税务报告)
会计¶
电子发票¶
B2B and B2C invoicing¶
France’s electronic invoicing reform (reforme de la facturation électronique) impacts all VAT-registered French companies, and is being rolled out in two phases:
From September 1, 2026:
every company must be able to receive domestic B2B e-invoices via plateformes agréées (approved platforms) (e-invoicing)
large enterprises (GE) and mid-sized enterprises (ETI) must send domestic B2B e-invoices (e-invoicing) and must submit data to the tax authorities about certain operations, such as B2C and cross-border B2B operations (e-reporting)
From September 1, 2027, every company, including small and medium-sized enterprises (PME) and micro-enterprises are subject to the same e-invoicing and e-reporting requirements.
Odoo is officially certified as a plateforme agréée (approved platform) on the e-invoicing network. It supports the receipt of documents in various formats (Facture-X, UBL, and CII) and the sending of documents exclusively in UBL format.
注解
VAT-exempt transactions under Articles 261-261E are excluded.
配置¶
To activate the e-invoicing and e-reporting features, follow these configuration steps:
Make sure the France - E-Invoicing (Approved Platform) (
l10n_fr_pdp) module is installed.In the Accounting or Invoicing app, go to , scroll down to the French Electronic Invoicing section, and click Activate Electronic Invoicing.
In the Send via French electronic invoicing window, fill in the Email field with the email address of a legal representative and click Authenticate:
In the pop-up window, click Begin authentication.
In the Accessing the legal representatives of your company window, click Check status, then select your name in the Please select who you are list, and Confirm.
To verify your identity, click Open authentication page.
In the Authentication window, click Receive a code, then enter the 5-digit code received by email and Confirm.
In the Identity verification window, click Next.
To complete verification, click the (plus) icon under Add your document here to upload a copy of your ID card, passport, or residence permit, then click Next.
To electronically sign the Attestation de désignation de plateforme agréée (certificate of designation of an approved platform), click Next to review it, then click Next again and enable both options:
I acknowledge having read all the documents.
I accept the general conditions of use of VIALNIK 360 and the signature certificate.
Click Sign.
Once the signature is confirmed, the signed attestation and terms and conditions can be downloaded, if needed.
Authentication is then successful, and the page can be closed.
In the Send via French electronic invoicing window, click Refresh.
Verify that the Identifier field is filled in with your SIREN number, enable the Pilot Phase option if you are configuring electronic invoicing before September 1, 2026, and click Validate Registration.
Your French e-invoicing ID is now ready to send and receive e-invoices and credit notes. Enable the following options, as needed:
Incoming Invoices Journal: Automatically set, update if necessary.
Enable e-reporting & sending of invoices to the PPF: Enable this option if e-reporting and e-invoicing are required for your company.
Participate in the pilot phase: This option should only be enabled until the pilot phase ends on September 1, 2026.
注解
Changes to enable or disable this option will take effect the following day.
E-Reporting Periodicity: Set the periodicity of the e-reporting.
Registration in the annuaire de la facturation électronique (electronic invoicing directory) is effective the day after the configuration is completed.
小技巧
To disconnect from the e-invoicing network, click Remove from Approved Platform.
重要
Once registered on the e-invoicing network, users are automatically registered on Peppol. No separate Peppol registration is then needed.
联系人¶
Before sending an e-invoice to a contact, make sure the contact is registered on the e-invoicing network and ready to receive e-invoices. To do so, follow these steps:
In the Accounting or Invoicing app, go to and access the customer’s form.
Make sure the customer’s Country is set to
France.In the Sales & Purchase tab, under the Misc section, ensure the Company ID field is completed.
注解
The Company ID number is then automatically added in the France FRCTC Electronic Address field in the Accounting tab, under the Customer Invoices section.
In the Accounting tab, under the Customer Invoices section, click Verify to verify the contact. If the contact is found on the e-invoicing network, Partner is in the annuaire is shown.
小技巧
Set the preferred Invoice sending method for a customer to French E-Invoicing in the Customer Invoices section of the customer form’s Accounting tab.
电子发票¶
E-invoices for domestic B2B operations can be sent and received via the e-invoicing network.
注解
B2C invoices or cross-border B2B invoices cannot be sent via the e-invoicing network. However, once confirmed in Odoo, these invoices are submitted to the tax authorities via e-reporting.
Domestic B2B invoices that are paid in cash are also submitted to the tax authorities via e-reporting.
Send customer invoices¶
Posted domestic B2B invoices to be sent via the e-invoicing network are marked as Ready to send in the invoice’s E-invoicing Status field.
注解
All invoices that are ready to be sent via the e-invoicing network can be viewed in the following ways:
In the Invoices list view, use the (adjust settings) button to add the E-invoicing Status column or apply the E-Invoicing Ready filter in the search bar.
In the Accounting dashboard, click E-invoicing ready invoices on the relevant sales journal.
Once an invoice is created and confirmed, follow these steps to send the invoice to the customer via the e-invoicing network:
Check that the contact is registered in the electronic invoicing directory.
Make sure each invoice line includes at least one product or label, and exactly one tax.
Click Send on the confirmed invoice form.
In the Print & Send window, make sure the French E-Invoicing option is enabled and click Send.
小技巧
To avoid selecting the sending method each time, verify that a preferred method has been set on the contact form.
Multiple invoices can also be sent in batches via the e-invoicing network.
In the French Invoicing Info section of the Other Info tab, the E-Invoicing Status is updated to Done once the invoices have been successfully delivered to the contact’s approved platform.
注解
The invoice delivery status is also displayed in the E-Invoicing Status column of the Invoices list view.
If an error occurs during the tax authority’s delivery of the invoice, the error details are displayed in the invoice’s chatter.
小技巧
To manually trigger the scheduled action used to check the delivery status of invoices, go to the Accounting dashboard and click Fetch E-invoicing Status on the corresponding sales journal.
重要
For domestic B2B invoices, the Reset to Draft option is not available for invoices that have already been sent via e-reporting.
收到供应商账单¶
Odoo checks for new documents received via the e-invoicing network multiple times a day, and automatically imports vendor bills into the purchase journal set in the Incoming Invoices Journal field during configuration. Corresponding vendor bills are created as drafts and appear in the vendor bills list view.
Open a vendor bill and click one of the following options:
Confirm: To confirm the vendor bill.
Cancel: To refuse the vendor bill. In the Send Response window, fill in the following fields, then click Send:
Reason Code: Select the reason why you are refusing the vendor bill.
Enter an optional note here: Add a message to explain your refusal to the vendor, if desired.
小技巧
To manually trigger the scheduled action to retrieve incoming vendor bills, go to the Accounting dashboard and click Fetch E-invoicing Documents on the purchase journal set in the Incoming Invoices Journal field during configuration.
E-reporting¶
E-reporting consists of submitting transaction and payment data to tax authorities for confirmed invoices within the e-reporting scope, including B2C transactions and cross-border B2B operations. Every ten days, Odoo automatically submits an XML report with this data to the tax authorities.
To view e-reports and their submission status, in the Accounting app, go to . E-reports have one of the following statuses:
Ready: Ready for submission.
Error: Submission failed, the e-report will be re-submitted in 5-7 days.
Sent: Submitted, awaiting confirmation.
Completed: Successfully processed.
小技巧
To manually trigger the scheduled action used to send e-reporting, open the relevant e-report from the E-Reporting list view and click Send.
To display the list of invoices or payments included in an e-report, click the Invoices or Payments smart button, then click the (right arrow) icon to display the list.
重要
For B2C invoices, cross-border B2B invoices, and domestic B2B invoices paid in cash, if an invoice previously sent via e-reporting needs to be reset to draft for corrections, the e-reporting correction is sent when the draft invoice is confirmed.
B2G invoicing - Chorus Pro¶
<https://portail.chorus-pro.gouv.fr/aife_csm>Chorus Pro 门户由 AIFE(法国国家财政信息化机构)管理,是向法国公共实体提交电子发票的官方平台。它允许企业发送和管理发票、跟踪处理状态并访问付款更新。自 2020 年 1 月起,所有法国企业对政府(B2G)交易都必须使用电子发票。Odoo 支持与 Chorus Pro 集成,以提交在 Odoo 中生成的发票。
配置¶
要向 Chorus Pro 发送发票,需要进行以下配置:
安装法国 - Factur-X 与 Chorus Pro 集成(
l10n_fr_facturx_chorus_pro)模块。如果您还没有 Chorus Pro 帐户,请访问Chorus Pro页面,点击Créer un compte并创建一个。
其他资料
客户¶
要向 Chorus Pro 提交发票,请按以下方式配置相关客户的联系人表单:
Ensure the Country field is completed, then select VAT as the Identification Number and enter the corresponding number.
In the Sales & Purchase tab, ensure the SIRET field is completed.
在会计选项卡中,填写客户发票部分的以下字段:
电子发票格式:选择BIS Billing 3.0。
确保在下一个字段中选择了France SIRET,然后输入
11000201100044,即 Chorus Pro 使用的参考编号。
向 Chorus Pro 发送发票¶
要向 Chorus Pro 发送发票,请按以下步骤操作:
Make sure the SIRET field is completed in the company record.
In the Accounting app, go to and open or create the invoice.
Make sure the following fields are filled in the Other Info tab:
买方参考:Chorus Pro 中的Service Exécutant
合同参考:Chorus Pro 中的Numéro de Marché
采购订单参考:Chorus Pro 中的Engagement Juridique
确认发票。
Click Send and, in the Print & Send window, enable By Peppol.
点击 发送。
发票发送后,发票的 Peppol 状态将更新为完成。
其他资料
FEC - Fichier des Écritures Comptables¶
FECFichier des Écritures Comptables审计文件包含一个财政年度内所有会计日记账中记录的所有会计数据和分录。文件中的分录必须按时间顺序排列。自 2014 年 1 月起,所有法国公司都必须在税务机关要求时生成并提交此文件以供审计。
FEC 导入¶
安装France - FEC Import`(`l10n_fr_fec_import)模块以从其他软件导入 FEC 文件。
To enable this feature, in the Accounting app, go to . In the Accounting Import section, click Import and Import FEC. Then, in the FEC Import window, upload the FEC file and click Import.
注解
从不同年份导入 FEC 文件不需要特别的操作或计算。但是,如果多个文件包含 RAN期初结转报告(年度期初余额),这些条目会在 Odoo 中自动标记为不必要,可能需要删除。
文件格式¶
注解
FEC 文件必须为 CSV 格式,不支持 XML 格式。
FEC CSV 文件是一个结构化为数据表的纯文本文件。第一行作为标题,定义每个条目的字段列表,后续每行代表一个单独的会计条目,没有特定顺序。
FEC 文件必须符合以下技术规范:
**** :UTF-8、UTF-8-SIG 和 iso8859_15.
隔 :以下任一项:“;”或“|”或“,”或“TAB”.
行终止** :同时支持 CR+LF (
\r\n) 和 LF (\n) 字符组。期格 :“%Y%m%d`
字段描述和使用¶
# |
字段名称 |
描述 |
使用 |
格式 |
|---|---|---|---|---|
01 |
日记代码 |
日志代码 |
“journal.code”和“journal.name”(如果未提供“JournalLib` |
字母数字 |
02 |
期刊图书馆 |
日记账标签 |
“journal.name` |
字母数字 |
03 |
EcritureNum |
特定于条目的每个日志序列号的编号 |
“move.name` |
字母数字 |
04 |
EcritureDate |
会计分录日期 |
|
Date (yyyyMMdd) |
05 |
CompteNum |
账号 |
“帐户.代码` |
字母数字 |
06 |
CompteLib |
账户标签 |
“account.name` |
字母数字 |
07 |
CompAuxNum |
辅助帐号(接受空) |
|
字母数字 |
08 |
CompAuxLib |
辅助帐户标签(接受空) |
“partner.name` |
字母数字 |
09 |
片材参考 |
参考文件 |
“move.ref”和“move.name”,如果未提供“EcritureNum` |
字母数字 |
10 |
片状日期 |
文件日期 |
|
Date (yyyyMMdd) |
11 |
EcritureLib |
帐户条目标签 |
“move_line.姓名` |
字母数字 |
12 |
借方 |
借方总额 |
“move_line.借记` |
浮动的 |
13 |
贷方 |
信用额度(不允许使用字段名称“Crédit”) |
“move_line.credit` |
浮动的 |
14 |
EcritureLet |
会计分录交叉引用(接受空) |
|
字母数字 |
15 |
日期让我们 |
会计分录日期(接受空) |
在日历年度结束时,未使用的应计费用将被 |
Date (yyyyMMdd) |
16 |
有效日期 |
会计分录验证日期 |
在日历年度结束时,未使用的应计费用将被 |
Date (yyyyMMdd) |
17 |
蒙坦特维斯 |
货币金额(接受空值) |
|
浮动的 |
18 |
伊德维塞 |
货币标识符(接受空值) |
“currency.name` |
字母数字 |
这两个字段以与其他字段相同的顺序出现,并替换它们。
12 |
蒙坦特 |
金额 |
“move_line.debit”或“move_line.credit” |
浮动的 |
13 |
森斯 |
可以是“C”表示贷方,“D”表示借方 |
确定“move_line.debit”或“move_line.credit” |
字符型 |
实现细节¶
从 FEC 文件中导入以下会计实体:科目、日记账、业务伙伴和凭证。模块会自动确定文件中使用的编码、行终止符和分隔符。接下来,会执行检查以确保每行的字段数与标题匹配。如果检查成功,则读取整个文件,存储在内存中并进行扫描。然后按以下顺序逐类型导入会计实体。
科目¶
每个会计条目都与一个由CompteNum字段标识的科目关联。
代码匹配¶
如果已存在具有相同代码的科目,则使用现有科目而不是创建新科目。在 Odoo 中,科目编号遵循财务本地化的默认位数长度。由于 FEC 模块与法国本地化相关联,默认科目长度为 6 位数字。这意味着科目代码中的尾随零会被移除,FEC 文件中的科目代码与 Odoo 中已有科目代码的比较仅基于代码的前六位数字。
Example
文件中的科目代码65800000与 Odoo 中现有的658000科目匹配,并使用现有科目而不是创建新科目。
可调和标志¶
如果科目出现的第一行中EcritureLet字段已填写,表示该会计条目将与另一条目核销,则该科目在技术上被标记为可核销。
注解
该字段可以在行中留空,但该条目仍必须与未记录的付款进行核销。一旦导入凭证行需要,该科目就会被标记为可核销。
账户类型和模板匹配¶
由于 FEC 格式中未指定科目类型,新科目将使用默认类型流动资产创建。导入过程后,它们会与已安装的会计科目表模板进行匹配。核销标志也通过这种方式确定。
匹配通过比较最左侧的数字来执行,首先是所有数字,然后是 3 位数字,最后是 2 位数字。
Example
名称 |
代码 |
全面比较 |
3 位数字比较 |
2 位数字比较 |
|---|---|---|---|---|
模板 |
|
|
|
|
CompteNum |
|
|
|
|
(无结果) |
没有找到匹配 |
然后根据科目模板将科目类型标记为应付和可核销。
日记账¶
日记账会与 Odoo 中的现有日记账进行检查以避免重复,即使导入多个 FEC 文件也是如此。
如果已存在具有相同代码的日记账,则使用现有日记账而不是创建新日记账。
新日记账的名称会添加前缀FEC-。例如,ACHATS变为FEC-ACHATS。
注解
日记账不会被归档,允许用户根据需要管理它们。
日志类型确定¶
日记账类型未在格式中指定(类似于科目),最初使用默认类型普通创建。
在导入过程结束时,日记账类型根据以下关于相关移动和科目的规则确定:
- 银行:这些日记账中的移动始终包括一条影响流动性科目的行(借记或信用)。现金/银行`可以互换,因此当满足此条件时,将分配:guilabel:`银行。
- 销售:这些日记账中的移动主要在应收科目上有借记行,在税收收入科目上有信用行。销售退款日记帐项目是倒排的借方/贷方。
- 采购:这些日记账中的移动主要在应付科目上有信用行,在费用科目上有借记行。购买退款日记帐项目是倒排的借方/贷方。
- 通用:用于其他所有情况。
注解
识别日记账类型至少需要三个移动。
必须有70%的移动满足标准才能确定日记账类型。
Example
假设我们正在分析共享某个journal_id的移动。
凭证 |
数量 |
百分比 |
|---|---|---|
具有销售科目行且没有采购科目行 |
0 |
0 |
具有采购科目行和无销售科目行 |
1 |
25% |
具有流动性账户行 |
3 |
75% |
合计 |
4 |
100% |
日记账类型将是银行,因为银行的移动百分比(75%)超过了阈值(70%)。
联系人¶
每个联系人保留其来自CompAuxNum字段的参考。
注解
这些字段可根据先前的FEC导入进行搜索,用于财务/审计目的。
小技巧
可以使用数据清理应用程序合并相似和潜在的重复联系人。
凭证¶
提交后立即过账并核销条目,使用EcritureLet字段来匹配条目。
EcritureNum字段表示移动的名称,但有时可能会留空。在这种情况下,将使用PieceRef字段。
舍入问题¶
根据货币精度对借记和信用金额应用舍入容差(即,EUR为0.01)。如果差额低于此容差,则会向移动添加一个新行,称为导入舍入差异,针对以下科目:
658000对增加的借项收取不同的费用758000Produits divers de gestion courante, for add credits
缺少移动名称¶
如果EcritureNum字段未填写,并且PieceRef字段不适合确定移动名称(它可能用作会计移动行参考),则无法识别哪些行应分组为单个移动,从而有效地阻止创建平衡移动。
在这种情况下,最后尝试按相同的日记账和日期(JournalLib、EcritureDate)对所有行进行分组。如果此分组生成平衡移动(sum(credit) - sum(debit) = 0),则日记账和日期的每个不同组合都会创建一个新移动。
Example
“ACH” + “2021/05/01” –>名为“20210501”的期刊“ACH”的新举措。
如果此尝试失败,将显示错误消息,列出所有被视为不平衡的移动行。
联系人信息¶
如果行包含联系人信息,则会将其复制到会计移动本身,前提是目标日记账的类型为应付或应收。
FEC 导出¶
To download the FEC, in the Accounting app, go to . Click the (gear) icon and select FEC. In the FEC File Generation window, fill in the following fields:
开始日期
结束日期
测试文件:启用此选项以测试 FEC 文件生成。
排除金额为 0 的行:如需要,请启用此选项。
排除的日记账:选择要排除的日记账。
然后,点击生成。
财务申报表¶
*liasse fiscale*(税务申报表)是企业必须每年向税务机关提交的一系列标准化财务文件。它全面总结了公司的财务活动并确定企业税收。
Teledec is a platform used to prepare and submit tax returns using data from accounting records. To synchronize your accounting data stored in Odoo with Teledec and electronically send your company’s liasse fiscale to DGFiP, follow these steps:
创建 Teledec 账户¶
要创建 Teledec 账户,请访问 `Teledec 账户创建页面<https://www.teledec.fr/s-enregistrer>`_,并在 Adresse e-mail 字段中填写电子邮件地址。选择安全密码,勾选接受一般条款和条件,然后点击 注册 保存。然后,输入公司的 :abbr:`SIREN(Système d’identification du répertoire des entreprises,企业目录识别系统)`编号。
注解
如果账户已经创建,点击 :guilabel:`Déjà enregistré?`(已注册)。
公司注册和财政年度信息¶
要在 Teledec 上注册公司,请前往 :guilabel:`Vos entreprises(您的公司)并点击 :guilabel:`Enregistrer votre entreprise`(注册您的公司)。确保在 :guilabel:`Coordonnées de l’entreprise`(公司详情) 和 :guilabel:`Représentant légal`(法定代表人)部分填写以下公司信息:
Nom de l’entreprise:公司名称。
Forme juridique:选择公司的法律形式。
Les comptes sont clôturés le:结算日期。
Régime d’imposition, choix de la liasse:选择税收制度和税务申报表选项。
Adresse du siège social:总部地址。
Nom du représentant légal:法定代表人的姓名。
Agissant en qualité de:法定代表人的职能。
Numéro de téléphone:电话号码。
点击 :guilabel:`Sauvegarder`(保存)显示下一步 :guilabel:`Informations générales sur l’exercice déclaré`(申报财年的一般信息)。然后,填写有关财政年度的信息,如财政年度的开始和结束日期,或上一财政期间的结算日期和持续时间。保存后,将显示包含在*liasse fiscale(财务申报表)*中的文件列表,包括标准税表和为公司税务申报定制的表格。
Odoo 同步¶
要使 Odoo 能够自动填写 :guilabel:`Liasse fiscale`的数据,点击右上角的 :guilabel:`Autres actions`(其他操作)并选择 :guilabel:`Synchroniser avec un logiciel tiers`(与第三方软件同步), 然后 :guilabel:`Synchroniser cette liasse avec Odoo`(将此*申报表*与 Odoo 同步)。
在 将此申报表与 Odoo 同步 窗口中,填写以下信息以完成同步:
Nom / URL complète de la base de données Odoo:Odoo 数据库名称或 URL。要提供数据库的完整 URL,请启用Je voudrais donner une url complète hors .odoo.com选项。
Nom de l’utilisateur:与 Odoo 账户关联的用户名。
Clé API:由 Odoo 实例生成的 API 密钥。
接下来,点击 Importer(导入) 从 Odoo 同步数据。在 :guilabel:`Confirmation de la synchronisation de liasse avec Odoo`(确认与 Odoo 同步申报表)窗口中,检查金额并进行任何必要的更改。然后点击 :guilabel:`Importer la balance`(导入余额),确认 liasse fiscale 与 Odoo 同步,并导入余额。
重要
点击Importer la balance可能会覆盖或更改之前手动进行的任何更新。
要付款并将申报发送给税务机关,请点击Paiement & envoi de la déclaration。
POS:¶
增值税防欺诈认证¶
自 2018 年 1 月起,法国及其海外领地(DOM-TOM)开始实施新的防欺诈法规。该法规对销售数据的完整性、安全性、存储和归档提出了具体要求。Odoo 通过提供模块和可下载的合规证书来满足这些法律要求。
在法国或 DOM-TOM 应纳税且部分客户为个人(B2C)的公司需要使用防欺诈收银软件,例如 Odoo(CGI 第 286 条,I. 3° bis)。此规则适用于所有规模的公司,但免征增值税的个体经营者不受影响。
odoo 认证¶
税务管理部门要求所有公司提供合规证书,以确认其软件符合防欺诈法规。如不合规,可能会被处以 7,500 欧元的罚款。
注解
This certificate is granted by Odoo SA to Odoo Enterprise users.
要获得认证,请按照以下步骤操作:
反欺诈功能¶
反欺诈模块引入了以下功能:
Inalterability¶
对于位于法国或任何法国海外省/领土 (DOM-TOM) 的公司,所有取消或修改 POS 订单、发票和日记账分录中关键数据的方法都将被禁用。
注解
在多公司环境中,只有这些公司的单据会受到影响。
安全¶
为确保不可篡改性,每笔订单或日记账分录在验证时都会被加密。这个数字(或哈希值)是根据单据的关键数据和先前单据的哈希值计算得出的。该模块提供了一个界面来测试数据的不可篡改性。如果任何信息在单据验证后被修改,测试将失败。算法会重新计算所有的哈希值,并与初始值进行比较。如果失败,系统会指出系统中记录的第一个被损坏的单据。
只有拥有 管理员 访问权限的用户才能启动不可篡改性检查:
对于 POS 订单,请转到 ;
For journal entries, in the Accounting or Invoicing app, go to . In the Reporting section, click Download the Data Inalterability Check Report.
存储¶
系统还会每日、每月、每年自动处理销售结算。此类结算会计算该期间的销售总额以及从系统中记录的第一个销售分录开始的累计总额。
To access closings, either go to or in the Accounting or Invoicing app, go to .
注解
Closings compute the totals for journal entries of sales journals (Journal Type = Sales).
For multi-companies environments, such closings are performed by company.
POS 订单在 POS 会话关闭时过账为日记账分录。POS 会话可以随时关闭。为提示用户每日执行此操作,该模块会阻止他们恢复已打开超过24小时的会话。必须先关闭此类会话才能再次进行销售。
一个期间的总额是根据同类型上次结算后过账的所有日记账分录计算的,无论其过账日期如何。为已结算期间记录的新销售交易将被计入下一次结算中。
小技巧
出于测试和审计目的,可以在 开发者模式<developer-mode>`下手动生成结算。为此,请转到 :menuselection:`设置 –> 技术 –> 计划操作。在计划操作列表视图中,打开所需的 销售结算 操作,然后点击 手动运行。
责任¶
卸载此模块将重置安全哈希值。这意味着系统将不再保证过去数据的完整性。
用户对其 Odoo 系统负责,必须谨慎操作。不允许修改负责确保数据完整性的源代码。
如果由未经认证的第三方应用程序引起此模块功能问题,Odoo 不承担任何责任。