__manifest__.py 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. # Main contributor: Nicolas Bessi. Camptocamp SA
  4. # Financial contributors: Hasa SA, Open Net SA,
  5. # Prisme Solutions Informatique SA, Quod SA
  6. # Translation contributors: brain-tec AG, Agile Business Group
  7. {
  8. 'name': "Switzerland - Accounting",
  9. 'description': """
  10. Swiss localization
  11. ==================
  12. This module defines a chart of account for Switzerland (Swiss PME/KMU 2015), taxes and enables the generation of ISR and QR-bill when you print an invoice or send it by mail.
  13. An ISR will be generated if you specify the information it needs :
  14. - The bank account you expect to be paid on must be set, and have a valid postal reference.
  15. - Your invoice must have been set assigned a bank account to receive its payment
  16. (this can be done manually, but a default value is automatically set if you have defined a bank account).
  17. - You must have set the postal references of your bank.
  18. - Your invoice must be in EUR or CHF (as ISRs do not accept other currencies)
  19. A QR-bill will be generated if:
  20. - The partner set on your invoice has a complete address (street, city, postal code and country) in Switzerland
  21. - The option to generate the Swiss QR-code is selected on the invoice (done by default)
  22. - A correct account number/QR IBAN is set on your bank journal
  23. - (when using a QR-IBAN): the payment reference of the invoice is a QR-reference
  24. The generation of the ISR and QR-bill is automatic if you meet the previous criteria.
  25. Here is how it works:
  26. - Printing the invoice will trigger the download of three files: the invoice, its ISR and its QR-bill
  27. - Clicking the 'Send by mail' button will attach three files to your draft mail : the invoice, the ISR and the QR-bill.
  28. """,
  29. 'version': '11.1',
  30. 'category': 'Accounting/Localizations/Account Charts',
  31. 'depends': ['account', 'l10n_multilang', 'base_iban', 'l10n_din5008'],
  32. 'data': [
  33. 'security/ir.model.access.csv',
  34. 'data/l10n_ch_chart_data.xml',
  35. 'data/account.account.template.csv',
  36. 'data/l10n_ch_chart_post_data.xml',
  37. 'data/account_tax_group_data.xml',
  38. 'data/account_tax_report_data.xml',
  39. 'data/account_vat2011_data.xml',
  40. 'data/account_tax_template_data_2024.xml',
  41. 'data/account_fiscal_position_data.xml',
  42. 'data/account_fiscal_position_data_2024.xml',
  43. 'data/account_chart_template_data.xml',
  44. 'report/isr_report.xml',
  45. 'report/swissqr_report.xml',
  46. 'views/res_bank_view.xml',
  47. 'views/account_invoice_view.xml',
  48. 'views/account_invoice.xml',
  49. 'views/res_config_settings_views.xml',
  50. 'views/setup_wizard_views.xml',
  51. 'views/qr_invoice_wizard_view.xml'
  52. ],
  53. 'demo': [
  54. 'demo/account_cash_rounding.xml',
  55. 'demo/demo_company.xml',
  56. 'demo/res_partner_demo.xml',
  57. ],
  58. 'post_init_hook': 'post_init',
  59. 'assets': {
  60. 'web.report_assets_common': [
  61. 'l10n_ch/static/src/scss/**/*',
  62. ],
  63. },
  64. 'license': 'LGPL-3',
  65. }