From 30a0dcf8b95e4e4689a7fc1328a7f7191aeb179e Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Tue, 1 Oct 2024 07:24:28 +0200 Subject: [PATCH] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 233 +++++- README.md | 23 +- account_banking_mandate/README.rst | 2 +- account_banking_mandate/__manifest__.py | 2 +- .../i18n/account_banking_mandate.pot | 6 - account_banking_mandate/i18n/am.po | 10 - account_banking_mandate/i18n/ar.po | 10 - account_banking_mandate/i18n/ca.po | 26 +- account_banking_mandate/i18n/cs.po | 10 - account_banking_mandate/i18n/da_DK.po | 10 - account_banking_mandate/i18n/de.po | 13 +- account_banking_mandate/i18n/el_GR.po | 10 - account_banking_mandate/i18n/es.po | 16 +- account_banking_mandate/i18n/es_AR.po | 16 +- account_banking_mandate/i18n/es_CR.po | 10 - account_banking_mandate/i18n/es_EC.po | 10 - account_banking_mandate/i18n/es_ES.po | 10 - account_banking_mandate/i18n/es_MX.po | 10 - account_banking_mandate/i18n/es_VE.po | 10 - account_banking_mandate/i18n/et.po | 10 - account_banking_mandate/i18n/fi.po | 13 +- account_banking_mandate/i18n/fr.po | 16 +- account_banking_mandate/i18n/fr_FR.po | 13 +- account_banking_mandate/i18n/gl.po | 10 - account_banking_mandate/i18n/hr.po | 14 +- account_banking_mandate/i18n/it.po | 22 +- account_banking_mandate/i18n/lt.po | 14 +- account_banking_mandate/i18n/nb_NO.po | 13 +- account_banking_mandate/i18n/nl.po | 19 +- account_banking_mandate/i18n/nl_BE.po | 10 - account_banking_mandate/i18n/pl.po | 10 - account_banking_mandate/i18n/pt.po | 10 - account_banking_mandate/i18n/pt_BR.po | 10 - account_banking_mandate/i18n/pt_PT.po | 10 - account_banking_mandate/i18n/ro.po | 10 - account_banking_mandate/i18n/ru.po | 16 +- account_banking_mandate/i18n/sl.po | 17 +- account_banking_mandate/i18n/th.po | 10 - account_banking_mandate/i18n/tr.po | 10 - account_banking_mandate/i18n/vi.po | 10 - .../models/account_banking_mandate.py | 3 +- .../models/account_payment_method.py | 11 +- .../static/description/index.html | 13 +- .../tests/test_invoice_mandate.py | 2 + account_banking_mandate/tests/test_mandate.py | 32 +- account_banking_mandate_contact/COPYRIGHT | 16 + account_banking_mandate_contact/LICENSE | 663 ++++++++++++++++++ account_banking_mandate_contact/README.rst | 105 +++ account_banking_mandate_contact/__init__.py | 2 + .../__manifest__.py | 18 + .../i18n/account_banking_mandate_contact.pot | 30 + account_banking_mandate_contact/i18n/es.po | 34 + account_banking_mandate_contact/i18n/it.po | 33 + .../models/__init__.py | 3 + .../models/account_move_line.py | 27 + .../models/res_partner.py | 21 + .../pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 454 ++++++++++++ .../tests/__init__.py | 4 + .../tests/test_account_payment_order.py | 128 ++++ .../views/res_partner.xml | 21 + account_banking_mandate_sale/COPYRIGHT | 16 + account_banking_mandate_sale/LICENSE | 663 ++++++++++++++++++ account_banking_mandate_sale/README.rst | 93 +++ account_banking_mandate_sale/__init__.py | 1 + account_banking_mandate_sale/__manifest__.py | 19 + .../i18n/account_banking_mandate_sale.pot | 41 ++ account_banking_mandate_sale/i18n/ca.po | 55 ++ account_banking_mandate_sale/i18n/ca_ES.po | 42 ++ account_banking_mandate_sale/i18n/de.po | 59 ++ account_banking_mandate_sale/i18n/es.po | 61 ++ account_banking_mandate_sale/i18n/hr.po | 51 ++ account_banking_mandate_sale/i18n/it.po | 46 ++ account_banking_mandate_sale/i18n/nl.po | 56 ++ account_banking_mandate_sale/i18n/nl_NL.po | 50 ++ account_banking_mandate_sale/i18n/pt_BR.po | 58 ++ account_banking_mandate_sale/i18n/sl.po | 59 ++ .../models/__init__.py | 1 + .../models/sale_order.py | 62 ++ account_banking_mandate_sale/pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 430 ++++++++++++ .../views/sale_order.xml | 21 + .../COPYRIGHT | 16 + account_banking_mandate_sale_contact/LICENSE | 663 ++++++++++++++++++ .../README.rst | 113 +++ .../__init__.py | 3 + .../__manifest__.py | 17 + .../account_banking_mandate_sale_contact.pot | 106 +++ .../i18n/es.po | 150 ++++ .../i18n/it.po | 152 ++++ .../models/__init__.py | 6 + .../models/res_company.py | 32 + .../models/res_config_settings.py | 14 + .../models/res_partner.py | 34 + .../models/sale_order.py | 40 ++ .../pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/icon.svg | 79 +++ .../static/description/index.html | 453 ++++++++++++ .../tests/__init__.py | 3 + ...st_account_banking_mandate_sale_contact.py | 154 ++++ .../views/res_config_settings.xml | 27 + .../views/res_partner.xml | 21 + account_banking_pain_base/i18n/it.po | 6 +- account_banking_pain_base/i18n/sv.po | 372 ++++++---- .../README.rst | 2 +- .../__manifest__.py | 2 +- .../i18n/sv.po | 10 +- .../models/account_payment_order.py | 7 +- .../static/description/index.html | 13 +- .../tests/test_sct.py | 6 + account_banking_sepa_direct_debit/README.rst | 2 +- .../__manifest__.py | 2 +- .../models/account_payment_order.py | 7 +- .../static/description/index.html | 13 +- .../tests/test_mandate.py | 21 +- .../tests/test_sdd.py | 9 +- .../report_sepa_direct_debit_mandate.xml | 2 +- account_payment_mode/README.rst | 2 +- account_payment_mode/__manifest__.py | 2 +- account_payment_mode/i18n/it.po | 20 +- account_payment_mode/i18n/sv.po | 26 +- .../models/account_journal.py | 7 +- .../static/description/index.html | 14 +- .../tests/test_account_payment_mode.py | 4 +- account_payment_order/COPYRIGHT | 5 +- account_payment_order/README.rst | 2 +- account_payment_order/__manifest__.py | 3 +- .../i18n/account_payment_order.pot | 39 +- account_payment_order/i18n/am.po | 39 +- account_payment_order/i18n/ar.po | 39 +- account_payment_order/i18n/ca.po | 42 +- account_payment_order/i18n/ca_ES.po | 39 +- account_payment_order/i18n/cs.po | 39 +- account_payment_order/i18n/da_DK.po | 39 +- account_payment_order/i18n/de.po | 39 +- account_payment_order/i18n/el_GR.po | 39 +- account_payment_order/i18n/es.po | 287 +------- account_payment_order/i18n/es_AR.po | 42 +- account_payment_order/i18n/es_CL.po | 42 +- account_payment_order/i18n/es_CR.po | 39 +- account_payment_order/i18n/es_EC.po | 39 +- account_payment_order/i18n/es_ES.po | 39 +- account_payment_order/i18n/es_MX.po | 39 +- account_payment_order/i18n/es_VE.po | 39 +- account_payment_order/i18n/et.po | 39 +- account_payment_order/i18n/fi.po | 39 +- account_payment_order/i18n/fr.po | 50 +- account_payment_order/i18n/fr_FR.po | 39 +- account_payment_order/i18n/gl.po | 39 +- account_payment_order/i18n/hr.po | 43 +- account_payment_order/i18n/it.po | 54 +- account_payment_order/i18n/lt.po | 43 +- account_payment_order/i18n/nb_NO.po | 39 +- account_payment_order/i18n/nl.po | 39 +- account_payment_order/i18n/nl_BE.po | 39 +- account_payment_order/i18n/nl_NL.po | 39 +- account_payment_order/i18n/pl.po | 39 +- account_payment_order/i18n/pt.po | 39 +- account_payment_order/i18n/pt_BR.po | 39 +- account_payment_order/i18n/pt_PT.po | 39 +- account_payment_order/i18n/ro.po | 39 +- account_payment_order/i18n/ru.po | 45 +- account_payment_order/i18n/sl.po | 43 +- account_payment_order/i18n/sv.po | 229 ++++-- account_payment_order/i18n/th.po | 39 +- account_payment_order/i18n/tr.po | 39 +- account_payment_order/i18n/vi.po | 39 +- account_payment_order/models/account_move.py | 13 +- .../models/account_payment.py | 52 +- .../models/account_payment_line.py | 13 +- .../security/ir.model.access.csv | 1 + .../static/description/index.html | 13 +- account_payment_order/tests/test_bank.py | 7 + .../tests/test_payment_mode.py | 4 +- .../tests/test_payment_order_inbound.py | 66 +- .../tests/test_payment_order_outbound.py | 4 +- .../views/account_payment_line.xml | 2 +- .../views/account_payment_views.xml | 8 + account_payment_order/wizard/__init__.py | 1 + .../wizard/account_payment_update.py | 16 + .../wizard/account_payment_update_views.xml | 30 + .../COPYRIGHT | 15 + account_payment_order_grouped_output/LICENSE | 663 ++++++++++++++++++ .../README.rst | 79 +++ .../__init__.py | 1 + .../__manifest__.py | 18 + .../account_payment_order_grouped_output.pot | 96 +++ .../i18n/es.po | 97 +++ .../i18n/fr.po | 98 +++ .../i18n/hr.po | 98 +++ .../i18n/it.po | 97 +++ .../models/__init__.py | 3 + .../models/account_move.py | 16 + .../models/account_payment_mode.py | 12 + .../models/account_payment_order.py | 210 ++++++ .../pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 423 +++++++++++ .../tests/__init__.py | 2 + .../test_payment_order_inbound_grouped.py | 51 ++ .../test_payment_order_outbound_grouped.py | 71 ++ .../views/account_payment_mode_views.xml | 22 + .../views/account_payment_order_views.xml | 26 + account_payment_order_notification/COPYRIGHT | 15 + account_payment_order_notification/LICENSE | 663 ++++++++++++++++++ account_payment_order_notification/README.rst | 132 ++++ .../__init__.py | 2 + .../__manifest__.py | 20 + .../data/mail_template_data.xml | 83 +++ .../account_payment_order_notification.pot | 318 +++++++++ account_payment_order_notification/i18n/es.po | 600 ++++++++++++++++ account_payment_order_notification/i18n/fr.po | 404 +++++++++++ account_payment_order_notification/i18n/it.po | 392 +++++++++++ .../models/__init__.py | 2 + .../models/account_payment_order.py | 45 ++ .../account_payment_order_notification.py | 44 ++ .../pyproject.toml | 3 + .../security/ir.model.access.csv | 4 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 477 +++++++++++++ .../tests/__init__.py | 3 + ...test_account_payment_order_notification.py | 89 +++ ...ccount_payment_order_notification_view.xml | 69 ++ .../views/account_payment_order_view.xml | 36 + .../wizard/__init__.py | 3 + ...zard_account_payment_order_notification.py | 93 +++ ...count_payment_order_notification_views.xml | 44 ++ account_payment_partner/README.rst | 2 +- account_payment_partner/__manifest__.py | 2 +- account_payment_partner/i18n/sv.po | 20 +- .../models/account_move.py | 17 +- .../static/description/index.html | 14 +- .../tests/test_account_payment_partner.py | 4 +- account_payment_purchase/COPYRIGHT | 1 + account_payment_purchase/README.rst | 2 +- account_payment_purchase/__manifest__.py | 2 +- account_payment_purchase/i18n/ca.po | 8 +- account_payment_purchase/i18n/it.po | 8 +- account_payment_purchase/i18n/pt_BR.po | 13 +- account_payment_purchase/i18n/sv.po | 15 +- .../models/account_move.py | 24 +- .../models/purchase_order.py | 26 +- .../static/description/index.html | 13 +- .../tests/test_account_payment_purchase.py | 47 +- account_payment_purchase_stock/i18n/ca.po | 22 + account_payment_sale/README.rst | 2 +- account_payment_sale/__manifest__.py | 2 +- account_payment_sale/i18n/ca.po | 8 +- account_payment_sale/i18n/pt_BR.po | 13 +- account_payment_sale/i18n/sv.po | 8 +- account_payment_sale/models/sale_order.py | 11 + .../static/description/index.html | 14 +- account_payment_sale/tests/common.py | 5 +- account_payment_sale/tests/test_sale_order.py | 26 + account_vendor_bank_account_default/COPYRIGHT | 15 + account_vendor_bank_account_default/LICENSE | 663 ++++++++++++++++++ .../README.rst | 120 ++++ .../__init__.py | 3 + .../__manifest__.py | 22 + .../account_vendor_bank_account_default.pot | 42 ++ .../i18n/ca.po | 45 ++ .../i18n/es.po | 45 ++ .../i18n/it.po | 45 ++ .../models/__init__.py | 4 + .../models/account_move.py | 25 + .../models/res_partner.py | 43 ++ .../pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/icon.svg | 79 +++ .../static/description/index.html | 466 ++++++++++++ .../tests/__init__.py | 3 + ...est_account_vendor_bank_account_default.py | 112 +++ .../views/res_partner_views.xml | 24 + .../COPYRIGHT | 15 + .../LICENSE | 663 ++++++++++++++++++ .../README.rst | 123 ++++ .../__init__.py | 3 + .../__manifest__.py | 18 + ...t_vendor_bank_account_default_purchase.pot | 19 + .../i18n/ca.po | 22 + .../i18n/es.po | 22 + .../i18n/it.po | 22 + .../models/__init__.py | 3 + .../models/purchase_order.py | 32 + .../pyproject.toml | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/icon.svg | 79 +++ .../static/description/index.html | 469 +++++++++++++ .../tests/__init__.py | 3 + ...est_account_vendor_bank_account_default.py | 113 +++ 293 files changed, 17149 insertions(+), 1330 deletions(-) create mode 100644 account_banking_mandate_contact/COPYRIGHT create mode 100644 account_banking_mandate_contact/LICENSE create mode 100644 account_banking_mandate_contact/README.rst create mode 100644 account_banking_mandate_contact/__init__.py create mode 100644 account_banking_mandate_contact/__manifest__.py create mode 100644 account_banking_mandate_contact/i18n/account_banking_mandate_contact.pot create mode 100644 account_banking_mandate_contact/i18n/es.po create mode 100644 account_banking_mandate_contact/i18n/it.po create mode 100644 account_banking_mandate_contact/models/__init__.py create mode 100644 account_banking_mandate_contact/models/account_move_line.py create mode 100644 account_banking_mandate_contact/models/res_partner.py create mode 100644 account_banking_mandate_contact/pyproject.toml create mode 100644 account_banking_mandate_contact/static/description/icon.png create mode 100644 account_banking_mandate_contact/static/description/index.html create mode 100644 account_banking_mandate_contact/tests/__init__.py create mode 100644 account_banking_mandate_contact/tests/test_account_payment_order.py create mode 100644 account_banking_mandate_contact/views/res_partner.xml create mode 100644 account_banking_mandate_sale/COPYRIGHT create mode 100644 account_banking_mandate_sale/LICENSE create mode 100644 account_banking_mandate_sale/README.rst create mode 100644 account_banking_mandate_sale/__init__.py create mode 100644 account_banking_mandate_sale/__manifest__.py create mode 100644 account_banking_mandate_sale/i18n/account_banking_mandate_sale.pot create mode 100644 account_banking_mandate_sale/i18n/ca.po create mode 100644 account_banking_mandate_sale/i18n/ca_ES.po create mode 100644 account_banking_mandate_sale/i18n/de.po create mode 100644 account_banking_mandate_sale/i18n/es.po create mode 100644 account_banking_mandate_sale/i18n/hr.po create mode 100644 account_banking_mandate_sale/i18n/it.po create mode 100644 account_banking_mandate_sale/i18n/nl.po create mode 100644 account_banking_mandate_sale/i18n/nl_NL.po create mode 100644 account_banking_mandate_sale/i18n/pt_BR.po create mode 100644 account_banking_mandate_sale/i18n/sl.po create mode 100644 account_banking_mandate_sale/models/__init__.py create mode 100644 account_banking_mandate_sale/models/sale_order.py create mode 100644 account_banking_mandate_sale/pyproject.toml create mode 100644 account_banking_mandate_sale/static/description/icon.png create mode 100644 account_banking_mandate_sale/static/description/index.html create mode 100644 account_banking_mandate_sale/views/sale_order.xml create mode 100644 account_banking_mandate_sale_contact/COPYRIGHT create mode 100644 account_banking_mandate_sale_contact/LICENSE create mode 100644 account_banking_mandate_sale_contact/README.rst create mode 100644 account_banking_mandate_sale_contact/__init__.py create mode 100644 account_banking_mandate_sale_contact/__manifest__.py create mode 100644 account_banking_mandate_sale_contact/i18n/account_banking_mandate_sale_contact.pot create mode 100644 account_banking_mandate_sale_contact/i18n/es.po create mode 100644 account_banking_mandate_sale_contact/i18n/it.po create mode 100644 account_banking_mandate_sale_contact/models/__init__.py create mode 100644 account_banking_mandate_sale_contact/models/res_company.py create mode 100644 account_banking_mandate_sale_contact/models/res_config_settings.py create mode 100644 account_banking_mandate_sale_contact/models/res_partner.py create mode 100644 account_banking_mandate_sale_contact/models/sale_order.py create mode 100644 account_banking_mandate_sale_contact/pyproject.toml create mode 100644 account_banking_mandate_sale_contact/static/description/icon.png create mode 100644 account_banking_mandate_sale_contact/static/description/icon.svg create mode 100644 account_banking_mandate_sale_contact/static/description/index.html create mode 100644 account_banking_mandate_sale_contact/tests/__init__.py create mode 100644 account_banking_mandate_sale_contact/tests/test_account_banking_mandate_sale_contact.py create mode 100644 account_banking_mandate_sale_contact/views/res_config_settings.xml create mode 100644 account_banking_mandate_sale_contact/views/res_partner.xml create mode 100644 account_payment_order/wizard/account_payment_update.py create mode 100644 account_payment_order/wizard/account_payment_update_views.xml create mode 100644 account_payment_order_grouped_output/COPYRIGHT create mode 100644 account_payment_order_grouped_output/LICENSE create mode 100644 account_payment_order_grouped_output/README.rst create mode 100644 account_payment_order_grouped_output/__init__.py create mode 100644 account_payment_order_grouped_output/__manifest__.py create mode 100644 account_payment_order_grouped_output/i18n/account_payment_order_grouped_output.pot create mode 100644 account_payment_order_grouped_output/i18n/es.po create mode 100644 account_payment_order_grouped_output/i18n/fr.po create mode 100644 account_payment_order_grouped_output/i18n/hr.po create mode 100644 account_payment_order_grouped_output/i18n/it.po create mode 100644 account_payment_order_grouped_output/models/__init__.py create mode 100644 account_payment_order_grouped_output/models/account_move.py create mode 100644 account_payment_order_grouped_output/models/account_payment_mode.py create mode 100644 account_payment_order_grouped_output/models/account_payment_order.py create mode 100644 account_payment_order_grouped_output/pyproject.toml create mode 100644 account_payment_order_grouped_output/static/description/icon.png create mode 100644 account_payment_order_grouped_output/static/description/index.html create mode 100644 account_payment_order_grouped_output/tests/__init__.py create mode 100644 account_payment_order_grouped_output/tests/test_payment_order_inbound_grouped.py create mode 100644 account_payment_order_grouped_output/tests/test_payment_order_outbound_grouped.py create mode 100644 account_payment_order_grouped_output/views/account_payment_mode_views.xml create mode 100644 account_payment_order_grouped_output/views/account_payment_order_views.xml create mode 100644 account_payment_order_notification/COPYRIGHT create mode 100644 account_payment_order_notification/LICENSE create mode 100644 account_payment_order_notification/README.rst create mode 100644 account_payment_order_notification/__init__.py create mode 100644 account_payment_order_notification/__manifest__.py create mode 100644 account_payment_order_notification/data/mail_template_data.xml create mode 100644 account_payment_order_notification/i18n/account_payment_order_notification.pot create mode 100644 account_payment_order_notification/i18n/es.po create mode 100644 account_payment_order_notification/i18n/fr.po create mode 100644 account_payment_order_notification/i18n/it.po create mode 100644 account_payment_order_notification/models/__init__.py create mode 100644 account_payment_order_notification/models/account_payment_order.py create mode 100644 account_payment_order_notification/models/account_payment_order_notification.py create mode 100644 account_payment_order_notification/pyproject.toml create mode 100644 account_payment_order_notification/security/ir.model.access.csv create mode 100644 account_payment_order_notification/static/description/icon.png create mode 100644 account_payment_order_notification/static/description/index.html create mode 100644 account_payment_order_notification/tests/__init__.py create mode 100644 account_payment_order_notification/tests/test_account_payment_order_notification.py create mode 100644 account_payment_order_notification/views/account_payment_order_notification_view.xml create mode 100644 account_payment_order_notification/views/account_payment_order_view.xml create mode 100644 account_payment_order_notification/wizard/__init__.py create mode 100644 account_payment_order_notification/wizard/wizard_account_payment_order_notification.py create mode 100644 account_payment_order_notification/wizard/wizard_account_payment_order_notification_views.xml create mode 100644 account_payment_purchase_stock/i18n/ca.po create mode 100644 account_vendor_bank_account_default/COPYRIGHT create mode 100644 account_vendor_bank_account_default/LICENSE create mode 100644 account_vendor_bank_account_default/README.rst create mode 100644 account_vendor_bank_account_default/__init__.py create mode 100644 account_vendor_bank_account_default/__manifest__.py create mode 100644 account_vendor_bank_account_default/i18n/account_vendor_bank_account_default.pot create mode 100644 account_vendor_bank_account_default/i18n/ca.po create mode 100644 account_vendor_bank_account_default/i18n/es.po create mode 100644 account_vendor_bank_account_default/i18n/it.po create mode 100644 account_vendor_bank_account_default/models/__init__.py create mode 100644 account_vendor_bank_account_default/models/account_move.py create mode 100644 account_vendor_bank_account_default/models/res_partner.py create mode 100644 account_vendor_bank_account_default/pyproject.toml create mode 100755 account_vendor_bank_account_default/static/description/icon.png create mode 100755 account_vendor_bank_account_default/static/description/icon.svg create mode 100644 account_vendor_bank_account_default/static/description/index.html create mode 100644 account_vendor_bank_account_default/tests/__init__.py create mode 100644 account_vendor_bank_account_default/tests/test_account_vendor_bank_account_default.py create mode 100644 account_vendor_bank_account_default/views/res_partner_views.xml create mode 100644 account_vendor_bank_account_default_purchase/COPYRIGHT create mode 100644 account_vendor_bank_account_default_purchase/LICENSE create mode 100644 account_vendor_bank_account_default_purchase/README.rst create mode 100644 account_vendor_bank_account_default_purchase/__init__.py create mode 100644 account_vendor_bank_account_default_purchase/__manifest__.py create mode 100644 account_vendor_bank_account_default_purchase/i18n/account_vendor_bank_account_default_purchase.pot create mode 100644 account_vendor_bank_account_default_purchase/i18n/ca.po create mode 100644 account_vendor_bank_account_default_purchase/i18n/es.po create mode 100644 account_vendor_bank_account_default_purchase/i18n/it.po create mode 100644 account_vendor_bank_account_default_purchase/models/__init__.py create mode 100644 account_vendor_bank_account_default_purchase/models/purchase_order.py create mode 100644 account_vendor_bank_account_default_purchase/pyproject.toml create mode 100755 account_vendor_bank_account_default_purchase/static/description/icon.png create mode 100755 account_vendor_bank_account_default_purchase/static/description/icon.svg create mode 100644 account_vendor_bank_account_default_purchase/static/description/index.html create mode 100644 account_vendor_bank_account_default_purchase/tests/__init__.py create mode 100644 account_vendor_bank_account_default_purchase/tests/test_account_vendor_bank_account_default.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f016ba6..633f951 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,22 +43,61 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init account_payment_purchase_stock,account_payment_mode,account_payment_sale,account_banking_mandate,account_banking_sepa_credit_transfer,account_banking_pain_base,account_payment_order,account_payment_purchase,account_payment_partner,account_banking_sepa_direct_debit + --init account_banking_mandate_contact,account_payment_purchase_stock,account_payment_mode,account_payment_order_notification,account_banking_mandate_sale_contact,account_payment_sale,account_banking_mandate,account_vendor_bank_account_default_purchase,account_banking_sepa_credit_transfer,account_banking_mandate_sale,account_banking_pain_base,account_payment_order,account_vendor_bank_account_default,account_payment_order_grouped_output,account_payment_purchase,account_payment_partner,account_banking_sepa_direct_debit --stop-after-init --log-level error + --log-handler flectra.addons.account_banking_mandate_contact:TEST --log-handler flectra.addons.account_payment_purchase_stock:TEST --log-handler flectra.addons.account_payment_mode:TEST + --log-handler flectra.addons.account_payment_order_notification:TEST + --log-handler flectra.addons.account_banking_mandate_sale_contact:TEST --log-handler flectra.addons.account_payment_sale:TEST --log-handler flectra.addons.account_banking_mandate:TEST + --log-handler flectra.addons.account_vendor_bank_account_default_purchase:TEST --log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST + --log-handler flectra.addons.account_banking_mandate_sale:TEST --log-handler flectra.addons.account_banking_pain_base:TEST --log-handler flectra.addons.account_payment_order:TEST + --log-handler flectra.addons.account_vendor_bank_account_default:TEST + --log-handler flectra.addons.account_payment_order_grouped_output:TEST --log-handler flectra.addons.account_payment_purchase:TEST --log-handler flectra.addons.account_payment_partner:TEST --log-handler flectra.addons.account_banking_sepa_direct_debit:TEST " +test_module_account_banking_mandate_contact: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate_contact + - psql -h psql -U flectra -d test_account_banking_mandate_contact -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate_contact + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate_contact + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_banking_mandate_contact + --test-enable -i account_banking_mandate_contact + --stop-after-init + --log-level error + --log-handler flectra.addons.account_banking_mandate_contact:TEST" + test_module_account_payment_purchase_stock: stage: testsingle when: on_failure @@ -123,6 +162,70 @@ test_module_account_payment_mode: --log-level error --log-handler flectra.addons.account_payment_mode:TEST" +test_module_account_payment_order_notification: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order_notification + - psql -h psql -U flectra -d test_account_payment_order_notification -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order_notification + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order_notification + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_payment_order_notification + --test-enable -i account_payment_order_notification + --stop-after-init + --log-level error + --log-handler flectra.addons.account_payment_order_notification:TEST" + +test_module_account_banking_mandate_sale_contact: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate_sale_contact + - psql -h psql -U flectra -d test_account_banking_mandate_sale_contact -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale_contact + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale_contact + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_banking_mandate_sale_contact + --test-enable -i account_banking_mandate_sale_contact + --stop-after-init + --log-level error + --log-handler flectra.addons.account_banking_mandate_sale_contact:TEST" + test_module_account_payment_sale: stage: testsingle when: on_failure @@ -187,6 +290,38 @@ test_module_account_banking_mandate: --log-level error --log-handler flectra.addons.account_banking_mandate:TEST" +test_module_account_vendor_bank_account_default_purchase: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_vendor_bank_account_default_purchase + - psql -h psql -U flectra -d test_account_vendor_bank_account_default_purchase -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_vendor_bank_account_default_purchase + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_vendor_bank_account_default_purchase + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_vendor_bank_account_default_purchase + --test-enable -i account_vendor_bank_account_default_purchase + --stop-after-init + --log-level error + --log-handler flectra.addons.account_vendor_bank_account_default_purchase:TEST" + test_module_account_banking_sepa_credit_transfer: stage: testsingle when: on_failure @@ -219,6 +354,38 @@ test_module_account_banking_sepa_credit_transfer: --log-level error --log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST" +test_module_account_banking_mandate_sale: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate_sale + - psql -h psql -U flectra -d test_account_banking_mandate_sale -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_banking_mandate_sale + --test-enable -i account_banking_mandate_sale + --stop-after-init + --log-level error + --log-handler flectra.addons.account_banking_mandate_sale:TEST" + test_module_account_banking_pain_base: stage: testsingle when: on_failure @@ -283,6 +450,70 @@ test_module_account_payment_order: --log-level error --log-handler flectra.addons.account_payment_order:TEST" +test_module_account_vendor_bank_account_default: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_vendor_bank_account_default + - psql -h psql -U flectra -d test_account_vendor_bank_account_default -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_vendor_bank_account_default + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_vendor_bank_account_default + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_vendor_bank_account_default + --test-enable -i account_vendor_bank_account_default + --stop-after-init + --log-level error + --log-handler flectra.addons.account_vendor_bank_account_default:TEST" + +test_module_account_payment_order_grouped_output: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order_grouped_output + - psql -h psql -U flectra -d test_account_payment_order_grouped_output -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order_grouped_output + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order_grouped_output + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_account_payment_order_grouped_output + --test-enable -i account_payment_order_grouped_output + --stop-after-init + --log-level error + --log-handler flectra.addons.account_payment_order_grouped_output:TEST" + test_module_account_payment_purchase: stage: testsingle when: on_failure diff --git a/README.md b/README.md index 441b2a8..ff6ca5e 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,22 @@ Available addons addon | version | summary --- | --- | --- +[account_banking_mandate_contact](account_banking_mandate_contact/) | 3.0.1.0.2| Assign specific banking mandates in contact level [account_payment_purchase_stock](account_payment_purchase_stock/) | 3.0.1.0.0| Integrate Account Payment Purchase with Stock -[account_payment_mode](account_payment_mode/) | 3.0.1.0.0| Account Payment Mode -[account_payment_sale](account_payment_sale/) | 3.0.1.0.0| Adds payment mode on sale orders -[account_banking_mandate](account_banking_mandate/) | 3.0.1.0.1| Banking mandates -[account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 3.0.1.0.0| Create SEPA XML files for Credit Transfers +[account_payment_mode](account_payment_mode/) | 3.0.1.0.2| Account Payment Mode +[account_payment_order_notification](account_payment_order_notification/) | 3.0.1.0.0| Account Payment Order Notification +[account_banking_mandate_sale_contact](account_banking_mandate_sale_contact/) | 3.0.1.0.0| Add a specific contact mandate to sale orders +[account_payment_sale](account_payment_sale/) | 3.0.1.0.2| Adds payment mode on sale orders +[account_banking_mandate](account_banking_mandate/) | 3.0.1.0.3| Banking mandates +[account_vendor_bank_account_default_purchase](account_vendor_bank_account_default_purchase/) | 3.0.1.0.0| Set a default bank account purchase orders +[account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 3.0.1.0.3| Create SEPA XML files for Credit Transfers +[account_banking_mandate_sale](account_banking_mandate_sale/) | 3.0.1.0.0| Adds mandates on sale orders [account_banking_pain_base](account_banking_pain_base/) | 3.0.1.0.0| Base module for PAIN file generation -[account_payment_order](account_payment_order/) | 3.0.1.1.0| Account Payment Order -[account_payment_purchase](account_payment_purchase/) | 3.0.1.1.0| Adds Bank Account and Payment Mode on Purchase Orders -[account_payment_partner](account_payment_partner/) | 3.0.1.0.0| Adds payment mode on partners and invoices -[account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 3.0.1.0.0| Create SEPA files for Direct Debit +[account_payment_order](account_payment_order/) | 3.0.1.4.4| Account Payment Order +[account_vendor_bank_account_default](account_vendor_bank_account_default/) | 3.0.1.0.0| Set a default bank account on partners for their vendor bills +[account_payment_order_grouped_output](account_payment_order_grouped_output/) | 3.0.1.0.0| Account Payment Order - Generate grouped moves +[account_payment_purchase](account_payment_purchase/) | 3.0.1.2.1| Adds Bank Account and Payment Mode on Purchase Orders +[account_payment_partner](account_payment_partner/) | 3.0.1.0.3| Adds payment mode on partners and invoices +[account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 3.0.1.2.2| Create SEPA files for Direct Debit diff --git a/account_banking_mandate/README.rst b/account_banking_mandate/README.rst index ea05af6..b6c4f30 100644 --- a/account_banking_mandate/README.rst +++ b/account_banking_mandate/README.rst @@ -7,7 +7,7 @@ Account Banking Mandate !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:98dfdf808d30b6ea26499f8730c46b110090f51a5327f914075e406fdeb94686 + !! source digest: sha256:1cc104e5cf02f85aa4287a93b2d8af0d419048ae8889b6145e23b40061a41771 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/account_banking_mandate/__manifest__.py b/account_banking_mandate/__manifest__.py index 3b613e7..905ad2a 100644 --- a/account_banking_mandate/__manifest__.py +++ b/account_banking_mandate/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Account Banking Mandate", "summary": "Banking mandates", - "version": "3.0.1.0.1", + "version": "3.0.1.0.3", "development_status": "Production/Stable", "license": "AGPL-3", "author": "Compassion CH, " diff --git a/account_banking_mandate/i18n/account_banking_mandate.pot b/account_banking_mandate/i18n/account_banking_mandate.pot index 32beb2a..4ed1935 100644 --- a/account_banking_mandate/i18n/account_banking_mandate.pot +++ b/account_banking_mandate/i18n/account_banking_mandate.pot @@ -274,7 +274,6 @@ msgstr "" #. module: account_banking_mandate #: model:ir.model.fields,help:account_banking_mandate.field_account_banking_mandate__message_has_error -#: model:ir.model.fields,help:account_banking_mandate.field_account_banking_mandate__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -467,11 +466,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__scan msgid "Scan of the Mandate" diff --git a/account_banking_mandate/i18n/am.po b/account_banking_mandate/i18n/am.po index f67c777..f945a6d 100644 --- a/account_banking_mandate/i18n/am.po +++ b/account_banking_mandate/i18n/am.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "Última actualización por" msgid "Last Updated on" msgstr "Última actualización en" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/ar.po b/account_banking_mandate/i18n/ar.po index 92333c2..35f5835 100644 --- a/account_banking_mandate/i18n/ar.po +++ b/account_banking_mandate/i18n/ar.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/ca.po b/account_banking_mandate/i18n/ca.po index e3aa443..dfb3464 100644 --- a/account_banking_mandate/i18n/ca.po +++ b/account_banking_mandate/i18n/ca.po @@ -9,15 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-09-10 16:15+0000\n" -"PO-Revision-Date: 2021-11-08 10:35+0000\n" -"Last-Translator: jabelchi \n" +"PO-Revision-Date: 2024-05-08 11:35+0000\n" +"Last-Translator: Jesarregui \n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_banking_mandate #: model_terms:ir.actions.act_window,help:account_banking_mandate.mandate_action @@ -264,7 +264,7 @@ msgstr "Agrupar per" #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__has_message msgid "Has Message" -msgstr "" +msgstr "Té un missatge" #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__id @@ -306,11 +306,6 @@ msgstr "Apunt comptable" msgid "Journal Item" msgstr "Apunt comptable" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Última modificació el" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -321,11 +316,6 @@ msgstr "Darrera actualització per" msgid "Last Updated on" msgstr "Darrera actualització el" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Adjunt principal" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -427,7 +417,7 @@ msgstr "Nombre d'errors" #. module: account_banking_mandate #: model:ir.model.fields,help:account_banking_mandate.field_account_banking_mandate__message_needaction_counter msgid "Number of messages requiring action" -msgstr "" +msgstr "Nombre de missatges que requereixen acció" #. module: account_banking_mandate #: model:ir.model.fields,help:account_banking_mandate.field_account_banking_mandate__message_has_error_counter @@ -632,6 +622,12 @@ msgstr "" "Només hauria de tornar un mandat a estat esborrany si va cancel·lar-lo per " "error. Desitja continuar?" +#~ msgid "Last Modified on" +#~ msgstr "Última modificació el" + +#~ msgid "Main Attachment" +#~ msgstr "Adjunt principal" + #~ msgid "SMS Delivery error" #~ msgstr "Error de lliurament de missatge SMS" diff --git a/account_banking_mandate/i18n/cs.po b/account_banking_mandate/i18n/cs.po index 2fc2923..87f7500 100644 --- a/account_banking_mandate/i18n/cs.po +++ b/account_banking_mandate/i18n/cs.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/da_DK.po b/account_banking_mandate/i18n/da_DK.po index ddd5a40..8b0179d 100644 --- a/account_banking_mandate/i18n/da_DK.po +++ b/account_banking_mandate/i18n/da_DK.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/de.po b/account_banking_mandate/i18n/de.po index 4310ae5..ca71aa4 100644 --- a/account_banking_mandate/i18n/de.po +++ b/account_banking_mandate/i18n/de.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "Logbuch Eintrag" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Zuletzt geändert am" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "Zuletzt aktualisiert von" msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -614,6 +604,9 @@ msgid "" "Do you want to continue?" msgstr "" +#~ msgid "Last Modified on" +#~ msgstr "Zuletzt geändert am" + #~ msgid "Bank Payment Lines" #~ msgstr "Bankzahlungszeilen" diff --git a/account_banking_mandate/i18n/el_GR.po b/account_banking_mandate/i18n/el_GR.po index 700c339..04b9d8c 100644 --- a/account_banking_mandate/i18n/el_GR.po +++ b/account_banking_mandate/i18n/el_GR.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "Τελευταία ενημέρωση από" msgid "Last Updated on" msgstr "Τελευταία ενημέρωση στις" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/es.po b/account_banking_mandate/i18n/es.po index 38cd5df..1cd37f8 100644 --- a/account_banking_mandate/i18n/es.po +++ b/account_banking_mandate/i18n/es.po @@ -306,11 +306,6 @@ msgstr "Asiento" msgid "Journal Item" msgstr "Apunte contable" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -321,11 +316,6 @@ msgstr "Última actualización por" msgid "Last Updated on" msgstr "Última actualización en" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Adjunto principal" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -637,6 +627,12 @@ msgstr "" "Debe establecer un mandato de vuelta a borrador sólo si lo cancelo por " "error. ¿Desea continuar?" +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" + +#~ msgid "Main Attachment" +#~ msgstr "Adjunto principal" + #~ msgid "SMS Delivery error" #~ msgstr "Error de entrega de SMS" diff --git a/account_banking_mandate/i18n/es_AR.po b/account_banking_mandate/i18n/es_AR.po index 869b385..6fea5df 100644 --- a/account_banking_mandate/i18n/es_AR.po +++ b/account_banking_mandate/i18n/es_AR.po @@ -303,11 +303,6 @@ msgstr "Asiento Contable" msgid "Journal Item" msgstr "Apunte Contable" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -318,11 +313,6 @@ msgstr "Última actualización por" msgid "Last Updated on" msgstr "Última actualización en" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Adjunto Principal" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -629,6 +619,12 @@ msgstr "" "Debería volver a poner un mandato en borrador solo si lo canceló por error. " "¿Desea continuar?" +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" + +#~ msgid "Main Attachment" +#~ msgstr "Adjunto Principal" + #~ msgid "SMS Delivery error" #~ msgstr "Error de entrega de SMS" diff --git a/account_banking_mandate/i18n/es_CR.po b/account_banking_mandate/i18n/es_CR.po index a860e3a..d1dbe6a 100644 --- a/account_banking_mandate/i18n/es_CR.po +++ b/account_banking_mandate/i18n/es_CR.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/es_EC.po b/account_banking_mandate/i18n/es_EC.po index 79acdfd..816dc30 100644 --- a/account_banking_mandate/i18n/es_EC.po +++ b/account_banking_mandate/i18n/es_EC.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/es_ES.po b/account_banking_mandate/i18n/es_ES.po index 1ebbb48..f4d8240 100644 --- a/account_banking_mandate/i18n/es_ES.po +++ b/account_banking_mandate/i18n/es_ES.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "Última actualización por" msgid "Last Updated on" msgstr "Última actualización en" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/es_MX.po b/account_banking_mandate/i18n/es_MX.po index fec74f6..673a0b6 100644 --- a/account_banking_mandate/i18n/es_MX.po +++ b/account_banking_mandate/i18n/es_MX.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/es_VE.po b/account_banking_mandate/i18n/es_VE.po index 0402ffd..22170e6 100644 --- a/account_banking_mandate/i18n/es_VE.po +++ b/account_banking_mandate/i18n/es_VE.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/et.po b/account_banking_mandate/i18n/et.po index 02a8cec..61fe5b8 100644 --- a/account_banking_mandate/i18n/et.po +++ b/account_banking_mandate/i18n/et.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/fi.po b/account_banking_mandate/i18n/fi.po index 92b87aa..5dfdf32 100644 --- a/account_banking_mandate/i18n/fi.po +++ b/account_banking_mandate/i18n/fi.po @@ -299,11 +299,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Viimeksi muokattu" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -314,11 +309,6 @@ msgstr "Viimeksi päivittänyt" msgid "Last Updated on" msgstr "Viimeksi päivitetty" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -612,3 +602,6 @@ msgid "" "You should set a mandate back to draft only if you cancelled it by mistake. " "Do you want to continue?" msgstr "" + +#~ msgid "Last Modified on" +#~ msgstr "Viimeksi muokattu" diff --git a/account_banking_mandate/i18n/fr.po b/account_banking_mandate/i18n/fr.po index 9d8b156..2c29f70 100644 --- a/account_banking_mandate/i18n/fr.po +++ b/account_banking_mandate/i18n/fr.po @@ -308,11 +308,6 @@ msgstr "Pièce comptable" msgid "Journal Item" msgstr "Écriture comptable" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Dernière modification le" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -323,11 +318,6 @@ msgstr "Mis à jour par" msgid "Last Updated on" msgstr "Mis à jour le" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Pièce jointe principale" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -634,6 +624,12 @@ msgstr "" "Vous ne devez remettre un mandat en brouillon que si vous l'avez annulé par " "erreur. Voulez-vous continuer ?" +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#~ msgid "Main Attachment" +#~ msgstr "Pièce jointe principale" + #~ msgid "SMS Delivery error" #~ msgstr "Erreur d'envoi SMS" diff --git a/account_banking_mandate/i18n/fr_FR.po b/account_banking_mandate/i18n/fr_FR.po index 0806fa6..0a92b17 100644 --- a/account_banking_mandate/i18n/fr_FR.po +++ b/account_banking_mandate/i18n/fr_FR.po @@ -304,11 +304,6 @@ msgstr "" msgid "Journal Item" msgstr "Pièce comptable" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Dernière modification le" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -319,11 +314,6 @@ msgstr "Dernière modification par" msgid "Last Updated on" msgstr "Modifié le" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -626,6 +616,9 @@ msgstr "" "Vous ne devez remettre un mandat en brouillon que si vous l'avez annulé par " "erreur. Voulez-vous continuer ?" +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + #~ msgid "SMS Delivery error" #~ msgstr "Erreur d'envoi de SMS" diff --git a/account_banking_mandate/i18n/gl.po b/account_banking_mandate/i18n/gl.po index 2e09421..997f2e1 100644 --- a/account_banking_mandate/i18n/gl.po +++ b/account_banking_mandate/i18n/gl.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "ültima actualización por" msgid "Last Updated on" msgstr "Última actualización en" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/hr.po b/account_banking_mandate/i18n/hr.po index dcd8c10..99a331a 100644 --- a/account_banking_mandate/i18n/hr.po +++ b/account_banking_mandate/i18n/hr.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_banking_mandate #: model_terms:ir.actions.act_window,help:account_banking_mandate.mandate_action @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/it.po b/account_banking_mandate/i18n/it.po index 016af64..874b2d3 100644 --- a/account_banking_mandate/i18n/it.po +++ b/account_banking_mandate/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: bank-payment (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-11-21 10:17+0000\n" -"PO-Revision-Date: 2024-03-08 00:07+0000\n" +"PO-Revision-Date: 2024-05-03 14:40+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (http://www.transifex.com/oca/OCA-bank-payment-10-0/" "language/it/)\n" @@ -54,8 +54,8 @@ msgid "" "Activate this option if this payment method requires your customer to sign a " "direct debit mandate with your company." msgstr "" -"Attiva questa opzione se questo metodo di pagamento richiede la firma di un " -"mandato di addebito diretto (SDD)." +"Attivare questa opzione se questo metodo di pagamento richiede che il " +"cliente firmi un mandato di addebito diretto (SDD) con la vostra azienda." #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__activity_ids @@ -307,11 +307,6 @@ msgstr "Registrazione contabile" msgid "Journal Item" msgstr "Movimento contabile" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Ultima modifica il" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -322,11 +317,6 @@ msgstr "Ultimo aggiornamento di" msgid "Last Updated on" msgstr "Ultimo aggiornamento il" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Allegato principale" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -638,6 +628,12 @@ msgstr "" "Dovresti reimpostare un mandato a bozza solo se lo hai cancellato per " "errore. vuoi continuare?" +#~ msgid "Last Modified on" +#~ msgstr "Ultima modifica il" + +#~ msgid "Main Attachment" +#~ msgstr "Allegato principale" + #~ msgid "SMS Delivery error" #~ msgstr "Errore consegna SMS" diff --git a/account_banking_mandate/i18n/lt.po b/account_banking_mandate/i18n/lt.po index 85d005a..fb896b6 100644 --- a/account_banking_mandate/i18n/lt.po +++ b/account_banking_mandate/i18n/lt.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"(n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_banking_mandate #: model_terms:ir.actions.act_window,help:account_banking_mandate.mandate_action @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/nb_NO.po b/account_banking_mandate/i18n/nb_NO.po index a0ea3b1..4de3cb7 100644 --- a/account_banking_mandate/i18n/nb_NO.po +++ b/account_banking_mandate/i18n/nb_NO.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "Journalgjenstand" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Sist modifisert den" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "Sist oppdatert av" msgid "Last Updated on" msgstr "Sist oppdatert den" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -612,6 +602,9 @@ msgid "" "Do you want to continue?" msgstr "" +#~ msgid "Last Modified on" +#~ msgstr "Sist modifisert den" + #, fuzzy #~ msgid "Journal Entries" #~ msgstr "Journalgjenstand" diff --git a/account_banking_mandate/i18n/nl.po b/account_banking_mandate/i18n/nl.po index 1d9e5fe..3234fe6 100644 --- a/account_banking_mandate/i18n/nl.po +++ b/account_banking_mandate/i18n/nl.po @@ -290,7 +290,8 @@ msgstr "Als deze optie is ingeschakeld, vereisen nieuwe berichten uw aandacht." #. module: account_banking_mandate #: model:ir.model.fields,help:account_banking_mandate.field_account_banking_mandate__message_has_error msgid "If checked, some messages have a delivery error." -msgstr "Als deze optie is aangevinkt, hebben sommige berichten een afleverfout." +msgstr "" +"Als deze optie is aangevinkt, hebben sommige berichten een afleverfout." #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_is_follower @@ -307,11 +308,6 @@ msgstr "Boeking" msgid "Journal Item" msgstr "Boekingsregel" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Laatst bijgewerkt op" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -322,11 +318,6 @@ msgstr "Laatst bijgewerkt door" msgid "Last Updated on" msgstr "Laatst bijgewerkt op" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "Hoofdbijlage" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -637,6 +628,12 @@ msgstr "" "Een mandaat moet alleen teruggezet worden naar concept wanneer u deze per " "ongeluk heeft geannuleerd. Wilt u verdergaan? " +#~ msgid "Last Modified on" +#~ msgstr "Laatst bijgewerkt op" + +#~ msgid "Main Attachment" +#~ msgstr "Hoofdbijlage" + #~ msgid "Bank Payment Lines" #~ msgstr "Bank betaalregels" diff --git a/account_banking_mandate/i18n/nl_BE.po b/account_banking_mandate/i18n/nl_BE.po index dcc1167..a01acd7 100644 --- a/account_banking_mandate/i18n/nl_BE.po +++ b/account_banking_mandate/i18n/nl_BE.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/pl.po b/account_banking_mandate/i18n/pl.po index 7a8c574..68ab379 100644 --- a/account_banking_mandate/i18n/pl.po +++ b/account_banking_mandate/i18n/pl.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/pt.po b/account_banking_mandate/i18n/pt.po index e720320..063527b 100644 --- a/account_banking_mandate/i18n/pt.po +++ b/account_banking_mandate/i18n/pt.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "Atualizado pela última vez por" msgid "Last Updated on" msgstr "Atualizado pela última vez em" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/pt_BR.po b/account_banking_mandate/i18n/pt_BR.po index 74bf13c..10acc5b 100644 --- a/account_banking_mandate/i18n/pt_BR.po +++ b/account_banking_mandate/i18n/pt_BR.po @@ -299,11 +299,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -314,11 +309,6 @@ msgstr "Última Atualização por" msgid "Last Updated on" msgstr "Última Atualização em" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/pt_PT.po b/account_banking_mandate/i18n/pt_PT.po index b4e8bb0..9eee22c 100644 --- a/account_banking_mandate/i18n/pt_PT.po +++ b/account_banking_mandate/i18n/pt_PT.po @@ -299,11 +299,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -314,11 +309,6 @@ msgstr "Atualizado pela última vez por" msgid "Last Updated on" msgstr "Atualizado pela última vez em" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/ro.po b/account_banking_mandate/i18n/ro.po index 089d374..a90f8ae 100644 --- a/account_banking_mandate/i18n/ro.po +++ b/account_banking_mandate/i18n/ro.po @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/ru.po b/account_banking_mandate/i18n/ru.po index 20349e5..04cd8fa 100644 --- a/account_banking_mandate/i18n/ru.po +++ b/account_banking_mandate/i18n/ru.po @@ -16,9 +16,9 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" -"%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " +"(n%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_banking_mandate #: model_terms:ir.actions.act_window,help:account_banking_mandate.mandate_action @@ -299,11 +299,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -314,11 +309,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/sl.po b/account_banking_mandate/i18n/sl.po index 88b4d83..992318c 100644 --- a/account_banking_mandate/i18n/sl.po +++ b/account_banking_mandate/i18n/sl.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3);\n" #. module: account_banking_mandate #: model_terms:ir.actions.act_window,help:account_banking_mandate.mandate_action @@ -298,11 +298,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "Zadnjič spremenjeno" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -313,11 +308,6 @@ msgstr "Zadnji posodobil" msgid "Last Updated on" msgstr "Zadnjič posodobljeno" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" @@ -618,6 +608,9 @@ msgstr "" "Mandat ponastavite v osnutek le, če ste ga pomotoma preklicali. Želite " "nadaljevati?" +#~ msgid "Last Modified on" +#~ msgstr "Zadnjič spremenjeno" + #~ msgid "Bank Payment Lines" #~ msgstr "Postavke bančnih plačil" diff --git a/account_banking_mandate/i18n/th.po b/account_banking_mandate/i18n/th.po index ee0956f..e7c989e 100644 --- a/account_banking_mandate/i18n/th.po +++ b/account_banking_mandate/i18n/th.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/tr.po b/account_banking_mandate/i18n/tr.po index 5cf5792..acee3bd 100644 --- a/account_banking_mandate/i18n/tr.po +++ b/account_banking_mandate/i18n/tr.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "Son güncelleyen" msgid "Last Updated on" msgstr "Son güncelleme" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/i18n/vi.po b/account_banking_mandate/i18n/vi.po index 53d5988..45c0e91 100644 --- a/account_banking_mandate/i18n/vi.po +++ b/account_banking_mandate/i18n/vi.po @@ -297,11 +297,6 @@ msgstr "" msgid "Journal Item" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate____last_update -msgid "Last Modified on" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__write_uid msgid "Last Updated by" @@ -312,11 +307,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: account_banking_mandate -#: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: account_banking_mandate #: model:ir.model.fields,field_description:account_banking_mandate.field_account_banking_mandate__format msgid "Mandate Format" diff --git a/account_banking_mandate/models/account_banking_mandate.py b/account_banking_mandate/models/account_banking_mandate.py index c1b5f5a..d64a41f 100644 --- a/account_banking_mandate/models/account_banking_mandate.py +++ b/account_banking_mandate/models/account_banking_mandate.py @@ -175,8 +175,7 @@ class AccountBankingMandate(models.Model): @api.model_create_multi def create(self, vals_list): for vals in vals_list: - unique_mandate_reference = vals.get("unique_mandate_reference", "/") - if unique_mandate_reference == "/": + if (vals.get("unique_mandate_reference") or "/") == "/": vals["unique_mandate_reference"] = ( self.env["ir.sequence"].next_by_code("account.banking.mandate") or "New" diff --git a/account_banking_mandate/models/account_payment_method.py b/account_banking_mandate/models/account_payment_method.py index f1ee708..a1d3d82 100644 --- a/account_banking_mandate/models/account_payment_method.py +++ b/account_banking_mandate/models/account_payment_method.py @@ -1,7 +1,7 @@ # Copyright 2016-2020 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from flectra import fields, models +from flectra import api, fields, models class AccountPaymentMethod(models.Model): @@ -11,3 +11,12 @@ class AccountPaymentMethod(models.Model): help="Activate this option if this payment method requires your " "customer to sign a direct debit mandate with your company.", ) + + @api.model + def _get_payment_method_information(self): + res = super()._get_payment_method_information() + res["sepa_direct_debit"] = { + "mode": "multi", + "domain": [("type", "=", "bank")], + } + return res diff --git a/account_banking_mandate/static/description/index.html b/account_banking_mandate/static/description/index.html index f682ec7..b4b08f4 100644 --- a/account_banking_mandate/static/description/index.html +++ b/account_banking_mandate/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:98dfdf808d30b6ea26499f8730c46b110090f51a5327f914075e406fdeb94686 +!! source digest: sha256:1cc104e5cf02f85aa4287a93b2d8af0d419048ae8889b6145e23b40061a41771 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds a generic model for banking mandates. These mandates @@ -437,7 +438,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_banking_mandate/tests/test_invoice_mandate.py b/account_banking_mandate/tests/test_invoice_mandate.py index 1832e71..1f3cabc 100644 --- a/account_banking_mandate/tests/test_invoice_mandate.py +++ b/account_banking_mandate/tests/test_invoice_mandate.py @@ -8,6 +8,7 @@ from flectra.exceptions import UserError from flectra.tests.common import TransactionCase from flectra.addons.account.models.account_payment_method import AccountPaymentMethod +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT class TestInvoiceMandate(TransactionCase): @@ -203,6 +204,7 @@ class TestInvoiceMandate(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.company = cls.env.ref("base.main_company") cls.partner = cls._create_res_partner("Peter with ACME Bank") diff --git a/account_banking_mandate/tests/test_mandate.py b/account_banking_mandate/tests/test_mandate.py index 35e0d49..d9460f6 100644 --- a/account_banking_mandate/tests/test_mandate.py +++ b/account_banking_mandate/tests/test_mandate.py @@ -7,13 +7,16 @@ from flectra import fields from flectra.exceptions import UserError, ValidationError from flectra.tests.common import TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestMandate(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() - cls.company = cls.env.company - cls.company_2 = cls.env["res.company"].create({"name": "company 2"}) + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) + cls.company = cls.env.ref("base.main_company") + cls.company_2 = cls.env["res.company"].create({"name": "Company 2"}) cls.company_2.partner_id.company_id = cls.company_2.id cls.bank_account = cls.env.ref("account_payment_mode.res_partner_12_iban") cls.bank_account.partner_id.company_id = cls.company.id @@ -171,3 +174,28 @@ class TestMandate(TransactionCase): } ) self.assertTrue(mandate.unique_mandate_reference) + + def test_mandate_reference_06(self): + """ + Test case: create a mandate with False as reference (empty with UX) + Expected result: the reference of the created mandate is not False + """ + bank_account = self.env.ref("account_payment_mode.res_partner_12_iban") + mandate_1 = self.env["account.banking.mandate"].create( + { + "partner_bank_id": bank_account.id, + "signature_date": "2015-01-01", + "company_id": self.company.id, + "unique_mandate_reference": False, + } + ) + self.assertTrue(mandate_1.unique_mandate_reference) + mandate_2 = self.env["account.banking.mandate"].create( + { + "partner_bank_id": bank_account.id, + "signature_date": "2015-01-01", + "company_id": self.company.id, + "unique_mandate_reference": "", + } + ) + self.assertTrue(mandate_2.unique_mandate_reference) diff --git a/account_banking_mandate_contact/COPYRIGHT b/account_banking_mandate_contact/COPYRIGHT new file mode 100644 index 0000000..fb80b26 --- /dev/null +++ b/account_banking_mandate_contact/COPYRIGHT @@ -0,0 +1,16 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2019 Tecnativa - Carlos Dauden + Copyright 2021 Tecnativa - Víctor Martínez + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/account_banking_mandate_contact/LICENSE b/account_banking_mandate_contact/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/account_banking_mandate_contact/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/account_banking_mandate_contact/README.rst b/account_banking_mandate_contact/README.rst new file mode 100644 index 0000000..c33c405 --- /dev/null +++ b/account_banking_mandate_contact/README.rst @@ -0,0 +1,105 @@ +=============================== +Account Banking Mandate Contact +=============================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:4464a9c69346ec9c1d87582479d4c66816c5b8c73313e8817214586ec58e3881 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/17.0/account_banking_mandate_contact + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_mandate_contact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to select a specific banking mandate (and thus, a +specific bank account) at contact level, so that when doing a debit +order, such mandate is used for the invoices issued to that contact. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +For selecting the mandate at contact level: + +1. Go to *Invoicing > Customers > Customers*. +2. Open or create one contact that has a parent. +3. On the "..." page, fill *Contact Mandate*. +4. That mandate will be populated in the debit order. + +Then the normal flow will be: + +1. Go to Invoicing > Customers > Customer invoices. +2. Create a new invoice for that contact. +3. Post the invoice. +4. Add it to a payment order, by any of the options that you can check + on the *account_payment_order* module. +5. The populated mandate will be the one on the contact. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Carlos Dauden + - Ernesto Tejeda + - Pedro M. Baeza + +- `Sygel `__: + + - Alberto Martínez + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/account_banking_mandate_contact/__init__.py b/account_banking_mandate_contact/__init__.py new file mode 100644 index 0000000..3275ac2 --- /dev/null +++ b/account_banking_mandate_contact/__init__.py @@ -0,0 +1,2 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import models diff --git a/account_banking_mandate_contact/__manifest__.py b/account_banking_mandate_contact/__manifest__.py new file mode 100644 index 0000000..4c9a712 --- /dev/null +++ b/account_banking_mandate_contact/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2019 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Account Banking Mandate Contact", + "summary": "Assign specific banking mandates in contact level", + "version": "3.0.1.0.2", + "development_status": "Production/Stable", + "category": "Banking addons", + "website": "https://gitlab.com/flectra-community/bank-payment", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["account_banking_mandate", "sale"], + "data": [ + "views/res_partner.xml", + ], +} diff --git a/account_banking_mandate_contact/i18n/account_banking_mandate_contact.pot b/account_banking_mandate_contact/i18n/account_banking_mandate_contact.pot new file mode 100644 index 0000000..af99a39 --- /dev/null +++ b/account_banking_mandate_contact/i18n/account_banking_mandate_contact.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_res_partner +msgid "Contact" +msgstr "" + +#. module: account_banking_mandate_contact +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_partner__contact_mandate_id +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_users__contact_mandate_id +msgid "Contact Mandate" +msgstr "" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_account_move_line +msgid "Journal Item" +msgstr "" diff --git a/account_banking_mandate_contact/i18n/es.po b/account_banking_mandate_contact/i18n/es.po new file mode 100644 index 0000000..3937562 --- /dev/null +++ b/account_banking_mandate_contact/i18n/es.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-02-21 12:57+0100\n" +"PO-Revision-Date: 2020-02-21 12:58+0100\n" +"Last-Translator: Carlos Dauden \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.7.1\n" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: account_banking_mandate_contact +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_partner__contact_mandate_id +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_users__contact_mandate_id +msgid "Contact Mandate" +msgstr "Mandato del contacto" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_account_move_line +msgid "Journal Item" +msgstr "Apunte contable" diff --git a/account_banking_mandate_contact/i18n/it.po b/account_banking_mandate_contact/i18n/it.po new file mode 100644 index 0000000..41464ed --- /dev/null +++ b/account_banking_mandate_contact/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-03 14:37+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: account_banking_mandate_contact +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_partner__contact_mandate_id +#: model:ir.model.fields,field_description:account_banking_mandate_contact.field_res_users__contact_mandate_id +msgid "Contact Mandate" +msgstr "Mandato contatto" + +#. module: account_banking_mandate_contact +#: model:ir.model,name:account_banking_mandate_contact.model_account_move_line +msgid "Journal Item" +msgstr "Movimento contabile" diff --git a/account_banking_mandate_contact/models/__init__.py b/account_banking_mandate_contact/models/__init__.py new file mode 100644 index 0000000..a9f523d --- /dev/null +++ b/account_banking_mandate_contact/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import account_move_line +from . import res_partner diff --git a/account_banking_mandate_contact/models/account_move_line.py b/account_banking_mandate_contact/models/account_move_line.py new file mode 100644 index 0000000..e47d177 --- /dev/null +++ b/account_banking_mandate_contact/models/account_move_line.py @@ -0,0 +1,27 @@ +# Copyright 2019 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + + +from flectra import models + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + # Extended to use partner_shipping_id mandate if it have set + def _prepare_payment_line_vals(self, payment_order): + vals = super()._prepare_payment_line_vals(payment_order) + if payment_order.payment_type != "inbound" or self.move_id.mandate_id: + return vals + mandate = ( + self.move_id.partner_shipping_id.valid_mandate_id + or self.move_id.partner_id.valid_mandate_id + ) + if mandate: + vals.update( + { + "mandate_id": mandate.id, + "partner_bank_id": mandate.partner_bank_id.id, + } + ) + return vals diff --git a/account_banking_mandate_contact/models/res_partner.py b/account_banking_mandate_contact/models/res_partner.py new file mode 100644 index 0000000..42b145f --- /dev/null +++ b/account_banking_mandate_contact/models/res_partner.py @@ -0,0 +1,21 @@ +# Copyright 2019 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from flectra import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + contact_mandate_id = fields.Many2one( + comodel_name="account.banking.mandate", + string="Contact Mandate", + ) + + def _compute_valid_mandate_id(self): + partners_to_process = self.filtered( + lambda x: x.contact_mandate_id.state == "valid" + ) + for partner in partners_to_process: + partner.valid_mandate_id = partner.contact_mandate_id + return super(ResPartner, self - partners_to_process)._compute_valid_mandate_id() diff --git a/account_banking_mandate_contact/pyproject.toml b/account_banking_mandate_contact/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/account_banking_mandate_contact/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_banking_mandate_contact/static/description/icon.png b/account_banking_mandate_contact/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/account_banking_mandate_contact/static/description/index.html b/account_banking_mandate_contact/static/description/index.html new file mode 100644 index 0000000..1f50351 --- /dev/null +++ b/account_banking_mandate_contact/static/description/index.html @@ -0,0 +1,454 @@ + + + + + +Account Banking Mandate Contact + + + +
+

Account Banking Mandate Contact

+ + +

Production/Stable License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This module allows to select a specific banking mandate (and thus, a +specific bank account) at contact level, so that when doing a debit +order, such mandate is used for the invoices issued to that contact.

+

Table of contents

+ +
+

Usage

+

For selecting the mandate at contact level:

+
    +
  1. Go to Invoicing > Customers > Customers.
  2. +
  3. Open or create one contact that has a parent.
  4. +
  5. On the “…” page, fill Contact Mandate.
  6. +
  7. That mandate will be populated in the debit order.
  8. +
+

Then the normal flow will be:

+
    +
  1. Go to Invoicing > Customers > Customer invoices.
  2. +
  3. Create a new invoice for that contact.
  4. +
  5. Post the invoice.
  6. +
  7. Add it to a payment order, by any of the options that you can check +on the account_payment_order module.
  8. +
  9. The populated mandate will be the one on the contact.
  10. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+
    +
  • Tecnativa:
      +
    • Carlos Dauden
    • +
    • Ernesto Tejeda
    • +
    • Pedro M. Baeza
    • +
    +
  • +
  • Sygel:
      +
    • Alberto Martínez
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_banking_mandate_contact/tests/__init__.py b/account_banking_mandate_contact/tests/__init__.py new file mode 100644 index 0000000..46e0b61 --- /dev/null +++ b/account_banking_mandate_contact/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl + +from . import test_account_payment_order diff --git a/account_banking_mandate_contact/tests/test_account_payment_order.py b/account_banking_mandate_contact/tests/test_account_payment_order.py new file mode 100644 index 0000000..71a0802 --- /dev/null +++ b/account_banking_mandate_contact/tests/test_account_payment_order.py @@ -0,0 +1,128 @@ +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl + +from flectra import fields +from flectra.tests.common import Form, TransactionCase + +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + + +class TestAccountPaymentOrder(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) + cls.partner = cls.env["res.partner"].create({"name": "Test Partner"}) + cls.product = cls.env["product.product"].create({"name": "Test product"}) + cls.partner_bank_core = cls._create_res_partner_bank("N-CORE") + cls.mandate_core = cls._create_mandate(cls.partner_bank_core, "CORE") + cls.partner_bank_b2b = cls._create_res_partner_bank("N-B2B") + cls.mandate_b2b = cls._create_mandate(cls.partner_bank_b2b, "B2B") + payment_method_vals = { + "name": "SEPA", + "code": "sepa_direct_debit", + "payment_type": "inbound", + "bank_account_required": True, + } + cls.method_sepa = cls.env["account.payment.method"].create(payment_method_vals) + cls.journal_bank = cls.env["account.journal"].create( + { + "name": "BANK", + "type": "bank", + "code": "bank", + } + ) + payment_form = Form(cls.env["account.payment.mode"]) + payment_form.name = "SEPA (CORE)" + payment_form.payment_method_id = cls.method_sepa + payment_form.bank_account_link = "fixed" + payment_form.fixed_journal_id = cls.journal_bank + payment_form.payment_order_ok = True + cls.payment_core = payment_form.save() + cls.payment_b2b = cls.payment_core.copy({"name": "SEPA B2B"}) + cls.partner.customer_payment_mode_id = cls.payment_core.id + cls.env["account.journal"].create( + {"name": "SALE", "type": "sale", "code": "sale"} + ) + cls.invoice = cls._create_invoice() + payment_order_form = Form( + cls.env["account.payment.order"].with_context( + default_payment_type="inbound" + ) + ) + payment_order_form.payment_mode_id = cls.payment_core + cls.payment_order = payment_order_form.save() + + @classmethod + def _create_res_partner_bank(cls, acc_number): + res_partner_bank_form = Form(cls.env["res.partner.bank"]) + res_partner_bank_form.partner_id = cls.partner + res_partner_bank_form.acc_number = acc_number + return res_partner_bank_form.save() + + @classmethod + def _create_mandate(cls, partner_bank, scheme): + mandate_form = Form(cls.env["account.banking.mandate"]) + mandate_form.partner_bank_id = partner_bank + mandate_form.signature_date = fields.Date.from_string("2021-01-01") + mandate = mandate_form.save() + mandate.validate() + return mandate + + @classmethod + def _create_invoice(cls): + invoice_form = Form( + cls.env["account.move"].with_context(default_move_type="out_invoice") + ) + invoice_form.partner_id = cls.partner + invoice_form.invoice_date = fields.Date.from_string("2021-01-01") + with invoice_form.invoice_line_ids.new() as line_form: + line_form.product_id = cls.product + line_form.quantity = 1 + line_form.price_unit = 30 + line_form.tax_ids.clear() + invoice = invoice_form.save() + invoice.action_post() + + return invoice + + def test_invoice_payment_mode(self): + self.assertEqual(self.invoice.state, "posted") + self.assertEqual(self.invoice.payment_mode_id, self.payment_core) + self.assertEqual(self.invoice.invoice_date_due, fields.Date.today()) + + def test_account_payment_order_core(self): + line_create_form = Form( + self.env["account.payment.line.create"].with_context( + active_model="account.payment.order", active_id=self.payment_order.id + ) + ) + line_create_form.date_type = "due" + line_create_form.due_date = fields.Date.today() + line_create = line_create_form.save() + line_create.populate() + line_create.create_payment_lines() + self.assertAlmostEqual(len(self.payment_order.payment_line_ids), 1) + payment_line = self.payment_order.payment_line_ids.filtered( + lambda x: x.partner_id == self.partner + ) + self.assertEqual(payment_line.partner_bank_id, self.partner_bank_core) + + def test_account_payment_order_core_extra(self): + self.partner.contact_mandate_id = self.mandate_b2b + line_create_form = Form( + self.env["account.payment.line.create"].with_context( + active_model="account.payment.order", active_id=self.payment_order.id + ) + ) + line_create_form.date_type = "due" + line_create_form.due_date = fields.Date.today() + line_create = line_create_form.save() + line_create.populate() + line_create.create_payment_lines() + self.assertAlmostEqual(len(self.payment_order.payment_line_ids), 1) + payment_line = self.payment_order.payment_line_ids.filtered( + lambda x: x.partner_id == self.partner + ) + self.assertEqual(payment_line.mandate_id, self.mandate_b2b) + self.assertEqual(payment_line.partner_bank_id, self.partner_bank_b2b) diff --git a/account_banking_mandate_contact/views/res_partner.xml b/account_banking_mandate_contact/views/res_partner.xml new file mode 100644 index 0000000..d0ecf4d --- /dev/null +++ b/account_banking_mandate_contact/views/res_partner.xml @@ -0,0 +1,21 @@ + + + + + res.partner + + + + + + + + + diff --git a/account_banking_mandate_sale/COPYRIGHT b/account_banking_mandate_sale/COPYRIGHT new file mode 100644 index 0000000..787ffe4 --- /dev/null +++ b/account_banking_mandate_sale/COPYRIGHT @@ -0,0 +1,16 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2014-2022 Akretion (Alexis de Lattre ) + Copyright 2016-2022 Akretion (Alexis de Lattre ) + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/account_banking_mandate_sale/LICENSE b/account_banking_mandate_sale/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/account_banking_mandate_sale/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/account_banking_mandate_sale/README.rst b/account_banking_mandate_sale/README.rst new file mode 100644 index 0000000..e57115d --- /dev/null +++ b/account_banking_mandate_sale/README.rst @@ -0,0 +1,93 @@ +============================ +Account Banking Mandate Sale +============================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8a6f72abaad2db6ddb741d0decc20315c3145e44596ddb1fc6260de06350ccb4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/17.0/account_banking_mandate_sale + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_mandate_sale + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This modules adds the field *Direct Debit Mandate* on sale orders. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +When you select a payment mode that requires mandate on a sale order, +Odoo will select by default the first valid mandate of this customer. + +The mandate will be copied from the sale order to the invoice. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Akretion + +Contributors +------------ + +- Alexis de Lattre +- Thomas Binsfeld + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/account_banking_mandate_sale/__init__.py b/account_banking_mandate_sale/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/account_banking_mandate_sale/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_banking_mandate_sale/__manifest__.py b/account_banking_mandate_sale/__manifest__.py new file mode 100644 index 0000000..d0e00c6 --- /dev/null +++ b/account_banking_mandate_sale/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2016-2022 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Banking Mandate Sale", + "version": "3.0.1.0.0", + "category": "Banking addons", + "license": "AGPL-3", + "summary": "Adds mandates on sale orders", + "author": "Odoo Community Association (OCA), Akretion", + "maintainers": ["alexis-via"], + "website": "https://gitlab.com/flectra-community/bank-payment", + "depends": [ + "account_payment_sale", + "account_banking_mandate", + ], + "data": ["views/sale_order.xml"], + "installable": True, +} diff --git a/account_banking_mandate_sale/i18n/account_banking_mandate_sale.pot b/account_banking_mandate_sale/i18n/account_banking_mandate_sale.pot new file mode 100644 index 0000000..9b9129f --- /dev/null +++ b/account_banking_mandate_sale/i18n/account_banking_mandate_sale.pot @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a" +" direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" diff --git a/account_banking_mandate_sale/i18n/ca.po b/account_banking_mandate_sale/i18n/ca.po new file mode 100644 index 0000000..2d274ff --- /dev/null +++ b/account_banking_mandate_sale/i18n/ca.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-11-08 10:35+0000\n" +"Last-Translator: jabelchi \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" +"Activeu aquesta opció si aquest mètode de pagament requereix que el client " +"signi un mandat amb la vostra empresa." + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Mandat de càrrec directe" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "Es requereix mandat" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "Comanda de venda" + +#~ msgid "Display Name" +#~ msgstr "Nom a mostrar" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Darrera modificació el" diff --git a/account_banking_mandate_sale/i18n/ca_ES.po b/account_banking_mandate_sale/i18n/ca_ES.po new file mode 100644 index 0000000..7d303e7 --- /dev/null +++ b/account_banking_mandate_sale/i18n/ca_ES.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: ca_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" diff --git a/account_banking_mandate_sale/i18n/de.po b/account_banking_mandate_sale/i18n/de.po new file mode 100644 index 0000000..017389c --- /dev/null +++ b/account_banking_mandate_sale/i18n/de.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +# Niki Waibel, 2016 +msgid "" +msgstr "" +"Project-Id-Version: bank-payment (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-21 10:17+0000\n" +"PO-Revision-Date: 2020-08-20 10:00+0000\n" +"Last-Translator: André Volksdorf \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-bank-payment-10-0/" +"language/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" +"Aktivieren Sie diese Option, wenn diese Zahlungsmethode erfordert, dass Ihr " +"Kunde eine Einzugsermächtigung mit Ihrem Unternehmen unterzeichnet." + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Lastschrift Mandat" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "Mandat erforderlich" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#~ msgid "Sales Advance Payment Invoice" +#~ msgstr "Verkaufsanzahlungsrechnung" + +#~ msgid "Commercial Entity" +#~ msgstr "Gewerbliche Instanz" + +#~ msgid "Sale Order" +#~ msgstr "Kundenauftrag" diff --git a/account_banking_mandate_sale/i18n/es.po b/account_banking_mandate_sale/i18n/es.po new file mode 100644 index 0000000..826f34f --- /dev/null +++ b/account_banking_mandate_sale/i18n/es.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +# OCA Transbot , 2016 +# Pedro M. Baeza , 2016 +msgid "" +msgstr "" +"Project-Id-Version: bank-payment (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-24 00:21+0000\n" +"PO-Revision-Date: 2023-09-02 18:08+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-bank-payment-10-0/" +"language/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" +"Active esta opción si este método de pago requiere que su cliente firme un " +"mandato de domiciliación bancaria con su compañía." + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Mandato de adeudo directo" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "Facturación de la entidad comercial" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "Mandato requerido" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "Órdenes de venta" + +#~ msgid "Sales Advance Payment Invoice" +#~ msgstr "Ventas. Anticipo pago factura" + +#~ msgid "Commercial Entity" +#~ msgstr "Entidad comercial" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedido de venta" diff --git a/account_banking_mandate_sale/i18n/hr.po b/account_banking_mandate_sale/i18n/hr.po new file mode 100644 index 0000000..ec4ceec --- /dev/null +++ b/account_banking_mandate_sale/i18n/hr.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: bank-payment (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-20 01:40+0000\n" +"PO-Revision-Date: 2016-10-19 23:45+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-bank-payment-10-0/" +"language/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Ponuda" diff --git a/account_banking_mandate_sale/i18n/it.po b/account_banking_mandate_sale/i18n/it.po new file mode 100644 index 0000000..80ae6f2 --- /dev/null +++ b/account_banking_mandate_sale/i18n/it.po @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 09:36+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a" +" direct debit mandate with your company." +msgstr "" +"Attivare questa opzione se questo metodo di pagamento richiede che il " +"cliente firmi un mandato di addebito diretto (SDD) con la vostra azienda." + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Mandato addebito diretto" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "Entità commerciale fatturazione" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "Mandato richiesto" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" diff --git a/account_banking_mandate_sale/i18n/nl.po b/account_banking_mandate_sale/i18n/nl.po new file mode 100644 index 0000000..a08fc3f --- /dev/null +++ b/account_banking_mandate_sale/i18n/nl.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +# Erwin van der Ploeg , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-22 23:52+0000\n" +"PO-Revision-Date: 2016-07-22 23:52+0000\n" +"Last-Translator: Erwin van der Ploeg , 2016\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Incasso mandaat" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#~ msgid "Sales Advance Payment Invoice" +#~ msgstr "Verkoop Incassofactuur" + +#~ msgid "Commercial Entity" +#~ msgstr "Commerciële Entiteit" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Verkooporder" diff --git a/account_banking_mandate_sale/i18n/nl_NL.po b/account_banking_mandate_sale/i18n/nl_NL.po new file mode 100644 index 0000000..b717a68 --- /dev/null +++ b/account_banking_mandate_sale/i18n/nl_NL.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: bank-payment (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-18 00:42+0000\n" +"PO-Revision-Date: 2016-10-19 23:45+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-bank-" +"payment-10-0/language/nl_NL/)\n" +"Language: nl_NL\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Verkooporder" diff --git a/account_banking_mandate_sale/i18n/pt_BR.po b/account_banking_mandate_sale/i18n/pt_BR.po new file mode 100644 index 0000000..d07b1af --- /dev/null +++ b/account_banking_mandate_sale/i18n/pt_BR.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-01 19:28+0000\n" +"PO-Revision-Date: 2019-09-03 03:24+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Mandato de débito direto" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#~ msgid "Commercial Entity" +#~ msgstr "Entidade Comercial" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedido de Venda" + +#~ msgid "Sales Advance Payment Invoice" +#~ msgstr "Fatura de pagamento antecipado de vendas" diff --git a/account_banking_mandate_sale/i18n/sl.po b/account_banking_mandate_sale/i18n/sl.po new file mode 100644 index 0000000..ba354d1 --- /dev/null +++ b/account_banking_mandate_sale/i18n/sl.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_mandate_sale +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-01 19:28+0000\n" +"PO-Revision-Date: 2020-03-21 14:13+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,help:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "" +"Activate this option if this payment method requires your customer to sign a " +"direct debit mandate with your company." +msgstr "" +"Aktivirajte to opcijo, če ta plačilna metoda zahteva strankin podpis za " +"direkten debetni mandat vaši družbi." + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_id +msgid "Direct Debit Mandate" +msgstr "Mandat za direktne obremenitve" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__commercial_invoice_partner_id +msgid "Invoicing Commercial Entity" +msgstr "" + +#. module: account_banking_mandate_sale +#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order__mandate_required +msgid "Mandate Required" +msgstr "Zahteva se mandat" + +#. module: account_banking_mandate_sale +#: model:ir.model,name:account_banking_mandate_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#~ msgid "Commercial Entity" +#~ msgstr "Gospodarski subjekt" + +#~ msgid "Sale Order" +#~ msgstr "Prodajni nalog" + +#~ msgid "Sales Advance Payment Invoice" +#~ msgstr "Prodajni račun za plačilo avansa" diff --git a/account_banking_mandate_sale/models/__init__.py b/account_banking_mandate_sale/models/__init__.py new file mode 100644 index 0000000..6aacb75 --- /dev/null +++ b/account_banking_mandate_sale/models/__init__.py @@ -0,0 +1 @@ +from . import sale_order diff --git a/account_banking_mandate_sale/models/sale_order.py b/account_banking_mandate_sale/models/sale_order.py new file mode 100644 index 0000000..8594140 --- /dev/null +++ b/account_banking_mandate_sale/models/sale_order.py @@ -0,0 +1,62 @@ +# Copyright 2014-2022 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import api, fields, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + commercial_invoice_partner_id = fields.Many2one( + related="partner_invoice_id.commercial_partner_id", + string="Invoicing Commercial Entity", + store=True, + ) + mandate_id = fields.Many2one( + "account.banking.mandate", + compute="_compute_mandate_id", + string="Direct Debit Mandate", + ondelete="restrict", + check_company=True, + readonly=False, + store=True, + domain="[('partner_id', '=', commercial_invoice_partner_id), " + "('state', 'in', ('draft', 'valid')), " + "('company_id', '=', company_id)]", + ) + mandate_required = fields.Boolean( + related="payment_mode_id.payment_method_id.mandate_required", + ) + + def _prepare_invoice(self): + """Copy mandate from sale order to invoice""" + vals = super()._prepare_invoice() + if self.mandate_id: + vals["mandate_id"] = self.mandate_id.id + return vals + + @api.depends("partner_invoice_id", "payment_mode_id") + def _compute_mandate_id(self): + """Select by default the first valid mandate of the invoicing partner""" + abm_obj = self.env["account.banking.mandate"] + for order in self: + if ( + order.partner_invoice_id + and order.payment_mode_id + and order.payment_mode_id.payment_method_id.mandate_required + ): + mandate = abm_obj.search( + [ + ("state", "=", "valid"), + ( + "partner_id", + "=", + order.partner_invoice_id.commercial_partner_id.id, + ), + ("company_id", "=", order.company_id.id), + ], + limit=1, + ) + order.mandate_id = mandate or False + else: + order.mandate_id = False diff --git a/account_banking_mandate_sale/pyproject.toml b/account_banking_mandate_sale/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/account_banking_mandate_sale/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_banking_mandate_sale/static/description/icon.png b/account_banking_mandate_sale/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/account_banking_mandate_sale/static/description/index.html b/account_banking_mandate_sale/static/description/index.html new file mode 100644 index 0000000..9c40662 --- /dev/null +++ b/account_banking_mandate_sale/static/description/index.html @@ -0,0 +1,430 @@ + + + + + +Account Banking Mandate Sale + + + +
+

Account Banking Mandate Sale

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This modules adds the field Direct Debit Mandate on sale orders.

+

Table of contents

+ +
+

Usage

+

When you select a payment mode that requires mandate on a sale order, +Odoo will select by default the first valid mandate of this customer.

+

The mandate will be copied from the sale order to the invoice.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

alexis-via

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_banking_mandate_sale/views/sale_order.xml b/account_banking_mandate_sale/views/sale_order.xml new file mode 100644 index 0000000..27c6ef8 --- /dev/null +++ b/account_banking_mandate_sale/views/sale_order.xml @@ -0,0 +1,21 @@ + + + + + + account_banking_mandate_sale.sale_order.form + sale.order + + + + + + + + + + + diff --git a/account_banking_mandate_sale_contact/COPYRIGHT b/account_banking_mandate_sale_contact/COPYRIGHT new file mode 100644 index 0000000..f237619 --- /dev/null +++ b/account_banking_mandate_sale_contact/COPYRIGHT @@ -0,0 +1,16 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/account_banking_mandate_sale_contact/static/description/index.html b/account_banking_mandate_sale_contact/static/description/index.html new file mode 100644 index 0000000..4cae53c --- /dev/null +++ b/account_banking_mandate_sale_contact/static/description/index.html @@ -0,0 +1,453 @@ + + + + + +Account Banking Mandate Sale Contact + + + +
+

Account Banking Mandate Sale Contact

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This module combines the functionality of account_banking_mandate_sale +with account_banking_mandate_contact and to allows you to add a specific +contact mandate to sale orders.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Settings/Sales/Invoicing and select the Default Mandates +option. This allows you to choose if you want the mandate of the sale +partner, invoice address or delivery address.
  2. +
  3. If you want to specifically change the default mandate for a +customer, you can go to the “Sales & Purchase” tab of his contact +form.
  4. +
+
+
+

Usage

+

For selecting the mandate at contact level:

+
    +
  1. Go to Invoicing > Customers > Customers.
  2. +
  3. Open or create one contact.
  4. +
  5. On the “Sales & Purchase” page, fill Contact Mandate.
  6. +
+

Then, when you select a payment mode that requires mandate on a sale +order, Odoo will choose the mandate selected at contact level. That +mandate will be copied from the sale order to the invoice.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Alberto Martínez
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

tisho99

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_banking_mandate_sale_contact/tests/__init__.py b/account_banking_mandate_sale_contact/tests/__init__.py new file mode 100644 index 0000000..bde3166 --- /dev/null +++ b/account_banking_mandate_sale_contact/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_account_banking_mandate_sale_contact diff --git a/account_banking_mandate_sale_contact/tests/test_account_banking_mandate_sale_contact.py b/account_banking_mandate_sale_contact/tests/test_account_banking_mandate_sale_contact.py new file mode 100644 index 0000000..4514879 --- /dev/null +++ b/account_banking_mandate_sale_contact/tests/test_account_banking_mandate_sale_contact.py @@ -0,0 +1,154 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from unittest.mock import patch + +from flectra import fields +from flectra.tests.common import Form, TransactionCase + +from flectra.addons.account.models.account_payment_method import AccountPaymentMethod + + +class TestAccountBankingMandateSaleContact(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.partner_company = cls.env["res.partner"].create( + { + "name": "Test Partner Company", + "company_type": "company", + } + ) + cls.partner_invoice = cls.env["res.partner"].create( + { + "name": "Test Partner Invoice Address", + "company_type": "person", + "type": "invoice", + "parent_id": cls.partner_company.id, + } + ) + cls.partner_delivery = cls.env["res.partner"].create( + { + "name": "Test Partner Delivery Address", + "company_type": "person", + "type": "delivery", + "parent_id": cls.partner_company.id, + } + ) + + cls.partner_bank = cls._create_res_partner_bank( + cls.partner_company, "Test Bank" + ) + cls.mandate_first = cls._create_mandate(cls.partner_bank, "Test Mandate") + cls.mandate_company = cls._create_mandate( + cls.partner_bank, "Test Company Mandate" + ) + cls.mandate_invoice = cls._create_mandate( + cls.partner_bank, "Test Invoice Mandate" + ) + cls.mandate_delivery = cls._create_mandate( + cls.partner_bank, "Test Delivery Mandate" + ) + cls.payment_method = cls._create_payment_method( + { + "name": "Test Payment Method", + "code": "test_payment_method", + "payment_type": "inbound", + "bank_account_required": True, + "mandate_required": True, + } + ) + cls.journal_bank = cls.env["account.journal"].create( + {"name": "Test Journal", "type": "bank", "code": "bank"} + ) + payment_form = Form(cls.env["account.payment.mode"]) + payment_form.name = "Test Payment Mode" + payment_form.payment_method_id = cls.payment_method + payment_form.bank_account_link = "fixed" + payment_form.fixed_journal_id = cls.journal_bank + payment_form.payment_order_ok = True + cls.payment_mode = payment_form.save() + cls.partner_company.update( + { + "customer_payment_mode_id": cls.payment_mode.id, + "contact_mandate_id": cls.mandate_company.id, + } + ) + cls.partner_invoice.contact_mandate_id = cls.mandate_invoice + cls.partner_delivery.contact_mandate_id = cls.mandate_delivery + + @classmethod + def _create_res_partner_bank(cls, partner_id, acc_number): + res_partner_bank_form = Form(cls.env["res.partner.bank"]) + res_partner_bank_form.partner_id = partner_id + res_partner_bank_form.acc_number = acc_number + return res_partner_bank_form.save() + + @classmethod + def _create_mandate(cls, partner_bank, scheme): + mandate_form = Form(cls.env["account.banking.mandate"]) + mandate_form.partner_bank_id = partner_bank + mandate_form.signature_date = fields.Date.from_string("2021-01-01") + mandate = mandate_form.save() + mandate.validate() + return mandate + + @classmethod + def _create_payment_method(cls, payment_method_vals): + method_get_payment_method_information = ( + AccountPaymentMethod._get_payment_method_information + ) + + def _get_payment_method_information(cls): + res = method_get_payment_method_information(cls) + res[payment_method_vals["code"]] = { + "mode": "multi", + "domain": [("type", "=", "bank")], + } + return res + + with patch.object( + AccountPaymentMethod, + "_get_payment_method_information", + _get_payment_method_information, + ): + return cls.env["account.payment.method"].create(payment_method_vals) + + def test_sale_mandate(self): + """Tests the computed sale mandate with the default company configuration""" + sale_form = Form(self.env["sale.order"].with_context()) + sale_form.partner_id = self.partner_company + sale = sale_form.save() + self.assertEqual(sale.mandate_id, self.mandate_company) + + def test_sale_mandate_before(self): + """Tests the default sale mendate before this module, the first mandate found""" + self.env.user.company_id.sale_default_mandate_contact = False + sale_form = Form(self.env["sale.order"].with_context()) + sale_form.partner_id = self.partner_company + sale = sale_form.save() + self.assertEqual(sale.mandate_id, self.mandate_first) + + def test_sale_mandate_invoice_address(self): + """Tests the computed sale mendate with a config based on invoice address""" + self.partner_company.sale_default_mandate_contact = "partner_invoice_id" + sale_form = Form(self.env["sale.order"].with_context()) + sale_form.partner_id = self.partner_company + sale = sale_form.save() + self.assertEqual(sale.mandate_id, self.mandate_invoice) + + def test_sale_mandate_delivery_address(self): + """Tests the computed sale mendate with a config based on delivery address""" + self.partner_company.sale_default_mandate_contact = "partner_shipping_id" + sale_form = Form(self.env["sale.order"].with_context()) + sale_form.partner_id = self.partner_company + sale = sale_form.save() + self.assertEqual(sale.mandate_id, self.mandate_delivery) + + def test_sale_mandate_commercial_partner(self): + """Tests the computed sale mendate with a config based on delivery address""" + self.partner_company.sale_default_mandate_contact = "commercial_partner_id" + sale_form = Form(self.env["sale.order"].with_context()) + sale_form.partner_id = self.partner_invoice + sale = sale_form.save() + self.assertEqual(sale.mandate_id, self.mandate_company) diff --git a/account_banking_mandate_sale_contact/views/res_config_settings.xml b/account_banking_mandate_sale_contact/views/res_config_settings.xml new file mode 100644 index 0000000..b20c565 --- /dev/null +++ b/account_banking_mandate_sale_contact/views/res_config_settings.xml @@ -0,0 +1,27 @@ + + + + + settings.view.form.inherit.sale.default.mandates + res.config.settings + + + + + + + + + + diff --git a/account_banking_mandate_sale_contact/views/res_partner.xml b/account_banking_mandate_sale_contact/views/res_partner.xml new file mode 100644 index 0000000..67c3ff7 --- /dev/null +++ b/account_banking_mandate_sale_contact/views/res_partner.xml @@ -0,0 +1,21 @@ + + + + + res.partner + + + + + + + + + diff --git a/account_banking_pain_base/i18n/it.po b/account_banking_pain_base/i18n/it.po index 84ee8f8..4639136 100644 --- a/account_banking_pain_base/i18n/it.po +++ b/account_banking_pain_base/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-04-19 12:34+0000\n" +"PO-Revision-Date: 2024-07-16 11:58+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.6.2\n" #. module: account_banking_pain_base #: model:ir.model.constraint,message:account_banking_pain_base.constraint_account_payment_method_code_payment_type_unique @@ -591,7 +591,7 @@ msgstr "Identificativi multipli" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nett msgid "Netting" -msgstr "Rete" +msgstr "Netto" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nwch diff --git a/account_banking_pain_base/i18n/sv.po b/account_banking_pain_base/i18n/sv.po index c3aeb6c..f3bb947 100644 --- a/account_banking_pain_base/i18n/sv.po +++ b/account_banking_pain_base/i18n/sv.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-02-14 10:16+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_banking_pain_base #: model:ir.model.constraint,message:account_banking_pain_base.constraint_account_payment_method_code_payment_type_unique @@ -27,115 +27,115 @@ msgstr "" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__acct msgid "Account Management" -msgstr "" +msgstr "Kontohantering" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__adva msgid "Advance Payment" -msgstr "" +msgstr "Förskottsbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__agrt msgid "Agricultural Transfer" -msgstr "" +msgstr "Jordbruksöverföring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__airb msgid "Air" -msgstr "" +msgstr "Luft" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__almy msgid "Alimony Payment" -msgstr "" +msgstr "Betalning av underhållsbidrag" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ants msgid "Anesthesia Services" -msgstr "" +msgstr "Anestesitjänster" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__anni msgid "Annuity" -msgstr "" +msgstr "Livränta" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_res_bank msgid "Bank" -msgstr "" +msgstr "Bank" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__batch_booking msgid "Batch Booking" -msgstr "" +msgstr "Batch-bokning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__bonu msgid "Bonus Payment" -msgstr "" +msgstr "Bonusutbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__bonu msgid "Bonus Payment." -msgstr "" +msgstr "Bonusbetalning." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__cred msgid "Borne by Creditor" -msgstr "" +msgstr "Borgenärens ansvar" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__debt msgid "Borne by Debtor" -msgstr "" +msgstr "Bära av gäldenären" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__busb msgid "Bus" -msgstr "" +msgstr "Buss" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__bexp msgid "Business Expenses" -msgstr "" +msgstr "Kostnader för verksamheten" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cbtv msgid "Cable TV Bill" -msgstr "" +msgstr "Kabel-TV-räkning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cfee msgid "Cancellation Fee" -msgstr "" +msgstr "Avbokningsavgift" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Cannot compute the field '{field_name}'." -msgstr "" +msgstr "Det går inte att beräkna fältet '{field_name}'." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__clpr msgid "Car Loan Principal Repayment" -msgstr "" +msgstr "Återbetalning av billån" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__cblk msgid "Card Bulk Clearing" -msgstr "" +msgstr "Clearing av kort-massa" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__cash #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cash msgid "Cash Management Transfer" -msgstr "" +msgstr "Överföring av kontanthantering" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__category_purpose msgid "Category Purpose" -msgstr "" +msgstr "Kategori Syfte" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__charge_bearer @@ -145,94 +145,94 @@ msgstr "Avgiftsbärare" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__char msgid "Charity Payment" -msgstr "" +msgstr "Betalning för välgörenhet" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__bech msgid "Child Benefit" -msgstr "" +msgstr "Barnbidrag" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__coll msgid "Collection Payment" -msgstr "" +msgstr "Inkassobetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__comc msgid "Commercial Payment" -msgstr "" +msgstr "Kommersiell betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__comm msgid "Commission" -msgstr "" +msgstr "Kommissionen" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cmdt msgid "Commodity Transfer" -msgstr "" +msgstr "Överföring av råvaror" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__communication msgid "Communication" -msgstr "" +msgstr "Kommunikation" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__communication_type msgid "Communication Type" -msgstr "" +msgstr "Typ av kommunikation" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_res_company msgid "Companies" -msgstr "" +msgstr "Företag" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_res_config_settings msgid "Config Settings" -msgstr "" +msgstr "Konfigureringsinställningar" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__comt msgid "Consumer Third Party Consolidated Payment" -msgstr "" +msgstr "Konsument Tredje part Konsoliderad betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cvcf msgid "Convalescent Care Facility" -msgstr "" +msgstr "Anläggning för konvalescentvård" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method__convert_to_ascii msgid "Convert to ASCII" -msgstr "" +msgstr "Konvertera till ASCII" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cpyr msgid "Copyright" -msgstr "" +msgstr "Upphovsrätt" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__cost msgid "Costs" -msgstr "" +msgstr "Kostnader" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__ccrd msgid "Credit Card Payment" -msgstr "" +msgstr "Betalning med kreditkort" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ccrd msgid "Credit Card Payment " -msgstr "" +msgstr "Betalning med kreditkort " #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Creditor name" -msgstr "" +msgstr "Borgenärens namn" #. module: account_banking_pain_base #. odoo-python @@ -243,54 +243,57 @@ msgid "" "\tcontext: {eval_ctx}\n" "\tfield path: {field_value}" msgstr "" +"Data för utvärdering:\n" +"\tsammanhang: {eval_ctx}\n" +"\tfält sökväg: {field_value}" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__dcrd msgid "Debit Card Payment" -msgstr "" +msgstr "Betalning med betalkort" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__dcrd msgid "Debit Card Payment" -msgstr "" +msgstr "Betalning med betalkort" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Debtor name" -msgstr "" +msgstr "Gäldenärens namn" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__dvpm msgid "Deliver Against Payment" -msgstr "" +msgstr "Leverans mot betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__dnts msgid "Dental Services" -msgstr "" +msgstr "Tandvårdstjänster" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__deri msgid "Derivatives" -msgstr "" +msgstr "Derivatinstrument" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__divi #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__divd msgid "Dividend" -msgstr "" +msgstr "Utdelning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__dmeq msgid "Durable Medicale Equipment" -msgstr "" +msgstr "Hållbar medicinsk utrustning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__elec msgid "Electricity Bill" -msgstr "" +msgstr "Elräkning" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_res_config_settings__group_pain_multiple_identifier @@ -298,31 +301,33 @@ msgid "" "Enable this option if your country requires several SEPA/PAIN identifiers " "like in Spain." msgstr "" +"Aktivera det här alternativet om ditt land kräver flera SEPA/PAIN-" +"identifierare, som i Spanien." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__enrg msgid "Energies" -msgstr "" +msgstr "Energier" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__estx msgid "Estate Tax" -msgstr "" +msgstr "Skatt på dödsbo" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__fcol msgid "Fee Collection" -msgstr "" +msgstr "Uppbörd av avgifter" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ferb msgid "Ferry" -msgstr "" +msgstr "Färja" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__slev msgid "Following Service Level" -msgstr "" +msgstr "Följa servicenivån" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_order__charge_bearer @@ -335,68 +340,75 @@ msgid "" "the creditor. Borne by debtor : all transaction charges are to be borne by " "the debtor." msgstr "" +"Following service level : transaktionsavgifter ska tillämpas enligt de " +"regler som överenskommits i servicenivån och/eller systemet (SEPA Core-" +"meddelanden måste använda detta). Delad : transaktionsavgifter på " +"gäldenärssidan ska bäras av gäldenären, transaktionsavgifter på " +"borgenärssidan ska bäras av borgenären. Borne by creditor : alla " +"transaktionskostnader ska bäras av borgenären. Bärs av gäldenären: alla " +"transaktionskostnader ska bäras av gäldenären." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__frex msgid "Foreign Exchange" -msgstr "" +msgstr "Utländsk valuta" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__gasb msgid "Gas Bill" -msgstr "" +msgstr "Gasräkning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__govi msgid "Government Insurance" -msgstr "" +msgstr "Statlig försäkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__govt #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__govt msgid "Government Payment" -msgstr "" +msgstr "Betalning till staten" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hlti msgid "Health Insurance" -msgstr "" +msgstr "Sjukförsäkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__hedg #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hedg msgid "Hedging" -msgstr "" +msgstr "Säkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__priority__high msgid "High" -msgstr "" +msgstr "Hög" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hltc msgid "Home Health Care" -msgstr "" +msgstr "Hemsjukvård" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hspc msgid "Hospital Care" -msgstr "" +msgstr "Sjukhusvård" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hlrp msgid "Housing Loan Repayment" -msgstr "" +msgstr "Återbetalning av bostadslån" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__hstx msgid "Housing Tax" -msgstr "" +msgstr "Skatt på bostäder" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__communication_type__iso msgid "ISO" -msgstr "" +msgstr "ISO" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_method__convert_to_ascii @@ -405,6 +417,9 @@ msgid "" "unaccented character, so that only ASCII characters are used in the " "generated PAIN file." msgstr "" +"Om den är aktiv kommer Odoo att konvertera varje accentuerat tecken till " +"motsvarande oaccentuerat tecken, så att endast ASCII-tecken används i den " +"genererade PAIN-filen." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_line__category_purpose @@ -413,6 +428,8 @@ msgid "" "If neither your bank nor your local regulations oblige you to set the " "category purpose, leave the field empty." msgstr "" +"Om varken din bank eller dina lokala bestämmelser tvingar dig att ange " +"kategorins syfte, lämna fältet tomt." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_order__batch_booking @@ -421,129 +438,132 @@ msgid "" "wire transfers of the SEPA XML file ; if false, the bank statement will " "display one debit line per wire transfer of the SEPA XML file." msgstr "" +"Om Sant, kommer kontoutdraget att visa endast en debetrad för alla " +"banköverföringar i SEPA XML-filen; om Falsk, kommer kontoutdraget att visa " +"en debetrad per banköverföring i SEPA XML-filen." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__intx msgid "Income Tax" -msgstr "" +msgstr "Inkomstskatt" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode__initiating_party_identifier #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company__initiating_party_identifier #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__initiating_party_identifier msgid "Initiating Party Identifier" -msgstr "" +msgstr "Initierande parts identifierare" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode__initiating_party_issuer #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company__initiating_party_issuer #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__initiating_party_issuer msgid "Initiating Party Issuer" -msgstr "" +msgstr "Initierande part Emittent" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode__initiating_party_scheme #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company__initiating_party_scheme #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__initiating_party_scheme msgid "Initiating Party Scheme" -msgstr "" +msgstr "Initierande part Ordning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__insm msgid "Installment" -msgstr "" +msgstr "Avbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ihrp msgid "Instalment Hire Purchase Agreement" -msgstr "" +msgstr "Avbetalningsköpavtal med avbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__insu msgid "Insurance Premium" -msgstr "" +msgstr "Försäkringspremie" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__inte #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__inte msgid "Interest" -msgstr "" +msgstr "Intresse" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__icrf msgid "Intermediate Care Facility" -msgstr "" +msgstr "Anläggning för mellanvård" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__intc msgid "Intra Company Payment" -msgstr "" +msgstr "Betalning inom företaget" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__intc msgid "Intra-Company Payment" -msgstr "" +msgstr "Betalning inom företaget" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__iccp msgid "Irrevocable Credit Card Payment" -msgstr "" +msgstr "Oåterkallelig kreditkortsbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__idcp msgid "Irrevocable Debit Card Payment" -msgstr "" +msgstr "Oåterkallelig betalning med betalkort" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_line__communication msgid "Label of the payment that will be seen by the destinee" -msgstr "" +msgstr "Etikett för betalningen som kommer att ses av mottagaren" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__lbri msgid "Labor Insurance" -msgstr "" +msgstr "Arbetsförsäkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__licf msgid "License Fee" -msgstr "" +msgstr "Licensavgift" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__lifi msgid "Life Insurance" -msgstr "" +msgstr "Livförsäkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__lima msgid "Liquidity Management" -msgstr "" +msgstr "Likviditetshantering" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__loan #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__loan msgid "Loan" -msgstr "" +msgstr "Låna" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__loar msgid "Loan Repayment" -msgstr "" +msgstr "Återbetalning av lån" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__local_instrument msgid "Local Instrument" -msgstr "" +msgstr "Lokalt instrument" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ltcf msgid "Long Term Care Facility" -msgstr "" +msgstr "Anläggning för långtidsvård" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__mdcs msgid "Medical Services" -msgstr "" +msgstr "Medicinsk service" #. module: account_banking_pain_base #. odoo-python @@ -553,195 +573,197 @@ msgid "" "Missing 'Initiating Party Issuer' and/or 'Initiating Party Identifier' for " "the company '%s'. Both fields must have a value." msgstr "" +"Saknar 'Initiating Party Issuer' och/eller 'Initiating Party Identifier' för " +"företaget '%s'. Båda fälten måste ha ett värde." #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__msvc msgid "Multiple Service Types" -msgstr "" +msgstr "Flera typer av tjänster" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__group_pain_multiple_identifier msgid "Multiple identifiers" -msgstr "" +msgstr "Flera identifierare" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nett msgid "Netting" -msgstr "" +msgstr "Nettning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nwch msgid "Network Charge" -msgstr "" +msgstr "Nätverksavgift" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nwcm msgid "Network Communication" -msgstr "" +msgstr "Nätverkskommunikation" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_method.py:0 #, python-format msgid "No XSD file path found for payment method '%s'" -msgstr "" +msgstr "Ingen XSD-filsökväg hittades för betalningsmetod '%s'" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__priority__norm msgid "Normal" -msgstr "" +msgstr "Normal" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__nows msgid "Not Otherwise Specified" -msgstr "" +msgstr "Ej specificerad på annat sätt" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ofee msgid "Opening Fee" -msgstr "" +msgstr "Öppningsavgift" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__othr msgid "Other" -msgstr "" +msgstr "Övriga" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__othr msgid "Other Payment" -msgstr "" +msgstr "Övrig betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__otlc msgid "Other Telecom Related Bill" -msgstr "" +msgstr "Andra telekomrelaterade lagförslag" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method__pain_version msgid "PAIN Version" -msgstr "" +msgstr "Smärta version" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Partner name" -msgstr "" +msgstr "Partnerns namn" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Partner's bank account is '%s'." -msgstr "" +msgstr "Partnerns bankkonto är \"%s\"." #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "Payment Line has reference '%s'." -msgstr "" +msgstr "Betalningsrad har referens \"%s\"." #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_account_payment_line msgid "Payment Lines" -msgstr "" +msgstr "Betalningslinjer" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_account_payment_method msgid "Payment Methods" -msgstr "" +msgstr "Betalningsmetoder" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_account_payment_mode msgid "Payment Modes" -msgstr "" +msgstr "Betalningssätt" #. module: account_banking_pain_base #: model:ir.model,name:account_banking_pain_base.model_account_payment_order msgid "Payment Order" -msgstr "" +msgstr "Betalningsorder" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ptsp msgid "Payment Terms" -msgstr "" +msgstr "Betalningsvillkor" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__pens #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__pens msgid "Pension Payment" -msgstr "" +msgstr "Pensionsutbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__padd msgid "Preauthorized debit" -msgstr "" +msgstr "Förhandsauktoriserad debitering" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__prme msgid "Precious Metal" -msgstr "" +msgstr "Ädelmetall" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__prcp msgid "Price Payment" -msgstr "" +msgstr "Pris Betalning" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__priority msgid "Priority" -msgstr "" +msgstr "Prioritet" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ppti msgid "Property Insurance" -msgstr "" +msgstr "Egendomsförsäkring" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__gdds msgid "Purchase Sale Of Goods" -msgstr "" +msgstr "Inköp Försäljning av varor" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__scve msgid "Purchase Sale Of Services" -msgstr "" +msgstr "Inköp Försäljning av tjänster" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__purpose msgid "Purpose" -msgstr "" +msgstr "Syfte" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__rlwy msgid "Railway" -msgstr "" +msgstr "Järnväg" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__rcpt msgid "Receipt Payment" -msgstr "" +msgstr "Kvitto Betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__rvpm msgid "Receive Against Payment" -msgstr "" +msgstr "Ta emot mot betalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__rinp msgid "Recurring Installment Payment" -msgstr "" +msgstr "Återkommande delbetalning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__rent msgid "Rent" -msgstr "" +msgstr "Hyra" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__roya msgid "Royalties" -msgstr "" +msgstr "Royalties" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__sepa @@ -751,12 +773,12 @@ msgstr "SEPA-betalning" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__sepa_payment_method msgid "SEPA Payment Method" -msgstr "" +msgstr "SEPA betalningsmetod" #. module: account_banking_pain_base #: model_terms:ir.ui.view,arch_db:account_banking_pain_base.account_payment_order_form msgid "SEPA zone" -msgstr "" +msgstr "SEPA-områden" #. module: account_banking_pain_base #: model_terms:ir.ui.view,arch_db:account_banking_pain_base.view_account_config_settings @@ -772,68 +794,68 @@ msgstr "SEPA/PAIN-identifierare på betalningssätt" #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__sala #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__sala msgid "Salary Payment" -msgstr "" +msgstr "Utbetalning av lön" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__savg msgid "Savings" -msgstr "" +msgstr "Besparingar" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__secu #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__secu msgid "Securities" -msgstr "" +msgstr "Värdepapper" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__shar msgid "Shared" -msgstr "" +msgstr "Delad" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__show_warning_not_sepa msgid "Show Warning Not Sepa" -msgstr "" +msgstr "Visa Varning Inte Sepa" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__ssbe #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__ssbe msgid "Social Security Benefit" -msgstr "" +msgstr "Socialförsäkringsförmåner" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__stdy msgid "Study" -msgstr "" +msgstr "Studie" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__subs msgid "Subscription" -msgstr "" +msgstr "Prenumeration" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__supp #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__supp msgid "Supplier Payment" -msgstr "" +msgstr "Betalning till leverantör" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__taxs #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__taxs msgid "Tax Payment" -msgstr "" +msgstr "Betalning av skatt" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__phon msgid "Telephone Bill" -msgstr "" +msgstr "Telefonräkning" #. module: account_banking_pain_base #. odoo-python #: code:addons/account_banking_pain_base/models/account_payment_order.py:0 #, python-format msgid "The '%s' is empty or 0. It should have a non-null value." -msgstr "" +msgstr "'%s' är tomt eller 0. Det bör ha ett värde som inte är tomt." #. module: account_banking_pain_base #. odoo-python @@ -845,6 +867,11 @@ msgid "" "\n" "SEPA pattern: {sepa_pattern}" msgstr "" +"Följande bankidentifieringskoder (BIC) överensstämmer inte med SEPA-mönstret:" +"\n" +"{bic_list}\n" +"\n" +"SEPA-mönster: {sepa_pattern}" #. module: account_banking_pain_base #. odoo-python @@ -856,6 +883,10 @@ msgid "" "the server logs. Here is the error, which may give you an idea on the cause " "of the problem : %s" msgstr "" +"Den genererade XML-filen är inte giltig mot den officiella XML Schema " +"Definition. Den genererade XML-filen och det fullständiga felet har skrivits " +"i serverloggarna. Här är felet, som kan ge dig en uppfattning om orsaken " +"till problemet : %s" #. module: account_banking_pain_base #. odoo-python @@ -865,12 +896,16 @@ msgid "" "The type of the field '%(field)s' is %(value)s. It should be a string or " "unicode." msgstr "" +"Typen för fältet \"%(field)s\" är %(value)s. Det ska vara en sträng eller " +"unicode." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_line__priority msgid "" "This field will be used as 'Instruction Priority' in the generated PAIN file." msgstr "" +"Detta fält kommer att användas som \"Instruction Priority\" i den genererade " +"PAIN-filen." #. module: account_banking_pain_base #: model_terms:ir.ui.view,arch_db:account_banking_pain_base.account_payment_order_form @@ -879,6 +914,9 @@ msgid "" "payment lines are in € and that all bank accounts are valid IBANs with a " "country prefix in the" msgstr "" +"Denna betalningsorder är inte SEPA. Om det inte är avsikten, " +"kontrollera att alla betalningsrader är i euro och att alla bankkonton är " +"giltiga IBAN med ett landsprefix i" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_res_company__initiating_party_identifier @@ -887,6 +925,8 @@ msgid "" "This will be used as the 'Initiating Party Identifier' in the PAIN files " "generated by Odoo." msgstr "" +"Detta kommer att användas som \"Initiating Party Identifier\" i de PAIN-" +"filer som genereras av Odoo." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_mode__initiating_party_identifier @@ -899,6 +939,13 @@ msgid "" "- Company idenfier (N, VAT)\n" "- Service suffix (N, issued by bank)" msgstr "" +"Detta kommer att användas som \"Initiating Party Identifier\" i de PAIN-" +"filer som genereras av Odoo. Om den inte definieras kommer Initiating Party " +"Identifier från företaget att användas.\n" +"Gemensamt format (13):\n" +"- Landskod (2, valfritt)\n" +"- Företagsidentifierare (N, moms)\n" +"- Service suffix (N, utfärdas av bank)" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_res_company__initiating_party_issuer @@ -907,6 +954,8 @@ msgid "" "This will be used as the 'Initiating Party Issuer' in the PAIN files " "generated by Odoo." msgstr "" +"Detta kommer att användas som \"Initiating Party Issuer\" i de PAIN-filer " +"som genereras av Odoo." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_mode__initiating_party_issuer @@ -919,6 +968,13 @@ msgid "" "- Company idenfier (N, VAT)\n" "- Service suffix (N, issued by bank)" msgstr "" +"Detta kommer att användas som \"Initiating Party Issuer\" i de PAIN-filer " +"som genereras av Odoo. Om den inte definieras kommer Initiating Party Issuer " +"från företaget att användas.\n" +"Gemensamt format (13):\n" +"- Landskod (2, valfritt)\n" +"- Företagsidentifierare (N, moms)\n" +"- Service suffix (N, utfärdat av bank)" #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_res_company__initiating_party_scheme @@ -927,6 +983,8 @@ msgid "" "This will be used as the 'Initiating Party Scheme Name' in the PAIN files " "generated by Odoo." msgstr "" +"Detta kommer att användas som \"Initiating Party Scheme Name\" i de PAIN-" +"filer som genereras av Odoo." #. module: account_banking_pain_base #: model:ir.model.fields,help:account_banking_pain_base.field_account_payment_mode__initiating_party_scheme @@ -935,69 +993,73 @@ msgid "" "generated by Odoo. This value is determined by the financial institution " "that will process the file. If not defined, no scheme will be used.\n" msgstr "" +"Detta kommer att användas som \"Initiating Party Scheme Name\" i de PAIN-" +"filer som genereras av Odoo. Detta värde bestäms av det finansinstitut som " +"kommer att behandla filen. Om det inte definieras kommer inget schema att " +"användas.\n" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__trad msgid "Trade" -msgstr "" +msgstr "Handel" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__trad msgid "Trade Services" -msgstr "" +msgstr "Handelstjänster" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__cort msgid "Trade Settlement Payment" -msgstr "" +msgstr "Betalning av handelsavveckling" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__trea #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__trea msgid "Treasury Payment" -msgstr "" +msgstr "Betalning till statskassan" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__trfd msgid "Trust Fund" -msgstr "" +msgstr "Förvaltningsfond" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__bene msgid "Unemployment Disability Benefit" -msgstr "" +msgstr "Arbetslöshet Invaliditetsförmån" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__vatx msgid "VAT Payment" -msgstr "" +msgstr "Betalning av moms" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__vatx msgid "Value Added Tax Payment" -msgstr "" +msgstr "Betalning av mervärdesskatt" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__view msgid "Vision Care" -msgstr "" +msgstr "Synvård" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method__warn_not_sepa msgid "Warn If Not SEPA" -msgstr "" +msgstr "Varna om inte SEPA" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__wter msgid "Water Bill" -msgstr "" +msgstr "Vattenräkning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__whld msgid "WithHolding" -msgstr "" +msgstr "MedHållning" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__epay msgid "ePayment" -msgstr "" +msgstr "ePayment" diff --git a/account_banking_sepa_credit_transfer/README.rst b/account_banking_sepa_credit_transfer/README.rst index c979ea2..84370c8 100644 --- a/account_banking_sepa_credit_transfer/README.rst +++ b/account_banking_sepa_credit_transfer/README.rst @@ -7,7 +7,7 @@ Account Banking SEPA Credit Transfer !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:078adeb6a76fe5211c2bf7470ef988b086f20bc9e9b9d7d8e7599452e0c57b99 + !! source digest: sha256:5723ca661f54719cc094defd4befccedb8e54b1d60c1a93d0ed524c78aaecaf7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/account_banking_sepa_credit_transfer/__manifest__.py b/account_banking_sepa_credit_transfer/__manifest__.py index 602280e..0a5d596 100644 --- a/account_banking_sepa_credit_transfer/__manifest__.py +++ b/account_banking_sepa_credit_transfer/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Account Banking SEPA Credit Transfer", "summary": "Create SEPA XML files for Credit Transfers", - "version": "3.0.1.0.0", + "version": "3.0.1.0.3", "license": "AGPL-3", "author": "Akretion, Tecnativa, Odoo Community Association (OCA)", "website": "https://gitlab.com/flectra-community/bank-payment", diff --git a/account_banking_sepa_credit_transfer/i18n/sv.po b/account_banking_sepa_credit_transfer/i18n/sv.po index 751b1b9..7fb48d7 100644 --- a/account_banking_sepa_credit_transfer/i18n/sv.po +++ b/account_banking_sepa_credit_transfer/i18n/sv.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-02-10 18:22+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_banking_sepa_credit_transfer #. odoo-python @@ -24,6 +24,8 @@ msgid "" "Bank account is missing on the bank payment line of partner " "'{partner}' (reference '{reference}')." msgstr "" +"Bankkonto saknas på bankbetalningsraden för partner \"{partner}\" (referens " +"\"{reference}\")." #. module: account_banking_sepa_credit_transfer #: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst @@ -91,7 +93,7 @@ msgstr "pain.001.001.05" #. module: account_banking_sepa_credit_transfer #: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 msgid "pain.001.003.03" -msgstr "" +msgstr "smärta.001.003.03" #, python-format #~ msgid "" diff --git a/account_banking_sepa_credit_transfer/models/account_payment_order.py b/account_banking_sepa_credit_transfer/models/account_payment_order.py index bf223e5..c04e97a 100644 --- a/account_banking_sepa_credit_transfer/models/account_payment_order.py +++ b/account_banking_sepa_credit_transfer/models/account_payment_order.py @@ -83,11 +83,8 @@ class AccountPaymentOrder(models.Model): priority = payment_line.priority local_instrument = payment_line.local_instrument categ_purpose = payment_line.category_purpose - # The field line.date is the requested payment date - # taking into account the 'date_prefered' setting - # cf account_banking_payment_export/models/account_payment.py - # in the inherit of action_open() - key = (line.date, priority, local_instrument, categ_purpose) + # The field line.payment_line_date is the requested payment date + key = (line.payment_line_date, priority, local_instrument, categ_purpose) if key in lines_per_group: lines_per_group[key].append(line) else: diff --git a/account_banking_sepa_credit_transfer/static/description/index.html b/account_banking_sepa_credit_transfer/static/description/index.html index 975b67d..e794b94 100644 --- a/account_banking_sepa_credit_transfer/static/description/index.html +++ b/account_banking_sepa_credit_transfer/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:078adeb6a76fe5211c2bf7470ef988b086f20bc9e9b9d7d8e7599452e0c57b99 +!! source digest: sha256:5723ca661f54719cc094defd4befccedb8e54b1d60c1a93d0ed524c78aaecaf7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

Module to export payment orders in SEPA XML file format.

@@ -476,7 +477,9 @@ by Camptocamp

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_banking_sepa_credit_transfer/tests/test_sct.py b/account_banking_sepa_credit_transfer/tests/test_sct.py index 4c6b177..5dfb1ac 100644 --- a/account_banking_sepa_credit_transfer/tests/test_sct.py +++ b/account_banking_sepa_credit_transfer/tests/test_sct.py @@ -11,11 +11,14 @@ from lxml import etree from flectra.exceptions import UserError from flectra.tests.common import TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestSCT(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.account_model = cls.env["account.account"] cls.move_model = cls.env["account.move"] cls.journal_model = cls.env["account.journal"] @@ -256,6 +259,9 @@ class TestSCT(TransactionCase): return def test_usd_currency_sct(self): + # Set a currency_exchange_journal on the company to avoid an exception + # due to the use of a foreign currency + self.main_company.write({"currency_exchange_journal_id": self.bank_journal.id}) invoice1 = self.create_invoice( self.partner_asus.id, "account_payment_mode.res_partner_2_iban", diff --git a/account_banking_sepa_direct_debit/README.rst b/account_banking_sepa_direct_debit/README.rst index 2cab791..43c6134 100644 --- a/account_banking_sepa_direct_debit/README.rst +++ b/account_banking_sepa_direct_debit/README.rst @@ -7,7 +7,7 @@ Account Banking SEPA Direct Debit !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:4649f6ba9491ff0cbc494f6c1cd03f80b300902d9782a202619be9894a2128a5 + !! source digest: sha256:717255b967ccc2eb3672f5e701b0dd274e71c4cc9b386028fbf0ca283771a851 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/account_banking_sepa_direct_debit/__manifest__.py b/account_banking_sepa_direct_debit/__manifest__.py index c35ab21..c807b98 100644 --- a/account_banking_sepa_direct_debit/__manifest__.py +++ b/account_banking_sepa_direct_debit/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Account Banking SEPA Direct Debit", "summary": "Create SEPA files for Direct Debit", - "version": "3.0.1.0.0", + "version": "3.0.1.2.2", "license": "AGPL-3", "author": "Akretion, Tecnativa, Odoo Community Association (OCA)", "website": "https://gitlab.com/flectra-community/bank-payment", diff --git a/account_banking_sepa_direct_debit/models/account_payment_order.py b/account_banking_sepa_direct_debit/models/account_payment_order.py index f486be3..eb1fe95 100644 --- a/account_banking_sepa_direct_debit/models/account_payment_order.py +++ b/account_banking_sepa_direct_debit/models/account_payment_order.py @@ -93,11 +93,8 @@ class AccountPaymentOrder(models.Model): ) % payment_line.mandate_id.unique_mandate_reference ) - # The field line.date is the requested payment date - # taking into account the 'date_preferred' setting - # cf account_banking_payment_export/models/account_payment.py - # in the inherit of action_open() - key = (line.date, priority, categ_purpose, seq_type, scheme) + # The field line.payment_line_date is the requested payment date + key = (line.payment_line_date, priority, categ_purpose, seq_type, scheme) if key in lines_per_group: lines_per_group[key].append(line) else: diff --git a/account_banking_sepa_direct_debit/static/description/index.html b/account_banking_sepa_direct_debit/static/description/index.html index 2ad8695..c5374f4 100644 --- a/account_banking_sepa_direct_debit/static/description/index.html +++ b/account_banking_sepa_direct_debit/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:4649f6ba9491ff0cbc494f6c1cd03f80b300902d9782a202619be9894a2128a5 +!! source digest: sha256:717255b967ccc2eb3672f5e701b0dd274e71c4cc9b386028fbf0ca283771a851 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

Create SEPA files for Direct Debit

@@ -483,7 +484,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_banking_sepa_direct_debit/tests/test_mandate.py b/account_banking_sepa_direct_debit/tests/test_mandate.py index c56bb2f..0674dec 100644 --- a/account_banking_sepa_direct_debit/tests/test_mandate.py +++ b/account_banking_sepa_direct_debit/tests/test_mandate.py @@ -48,11 +48,22 @@ class TestMandate(TransactionCase): self.assertEqual(self.mandate.state, "draft") self.assertTrue(self.mandate.is_sent) - def setUp(self): - res = super().setUp() - self.partner = self.env.ref("base.res_partner_12") - bank_account = self.env.ref("account_payment_mode.res_partner_12_iban") - self.mandate = self.env["account.banking.mandate"].create( + @classmethod + def setUpClass(cls): + res = super().setUpClass() + cls.env = cls.env( + context=dict( + cls.env.context, + mail_create_nolog=True, + mail_create_nosubscribe=True, + mail_notrack=True, + no_reset_password=True, + tracking_disable=True, + ) + ) + cls.partner = cls.env.ref("base.res_partner_12") + bank_account = cls.env.ref("account_payment_mode.res_partner_12_iban") + cls.mandate = cls.env["account.banking.mandate"].create( { "partner_bank_id": bank_account.id, "format": "sepa", diff --git a/account_banking_sepa_direct_debit/tests/test_sdd.py b/account_banking_sepa_direct_debit/tests/test_sdd.py index b5b9bd6..272be0e 100644 --- a/account_banking_sepa_direct_debit/tests/test_sdd.py +++ b/account_banking_sepa_direct_debit/tests/test_sdd.py @@ -10,11 +10,14 @@ from flectra import fields from flectra.tests.common import TransactionCase from flectra.tools import float_compare +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestSDDBase(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.company_B = cls.env["res.company"].create({"name": "Company B"}) cls.account_payable_company_B = cls.env["account.account"].create( { @@ -104,6 +107,10 @@ class TestSDDBase(TransactionCase): ], } ) + # Set a currency_exchange_journal on the company to avoid an exception + # due to the use of a foreign currency + cls.main_company.write({"currency_exchange_journal_id": cls.bank_journal.id}) + cls.company_B.write({"currency_exchange_journal_id": cls.bank_journal.id}) # update payment mode cls.payment_mode = cls.env.ref( "account_banking_sepa_direct_debit.payment_mode_inbound_sepa_dd1" @@ -309,8 +316,6 @@ class TestSDDBase(TransactionCase): ) payment_order.generated2uploaded() self.assertEqual(payment_order.state, "uploaded") - for inv in [invoice1, invoice2]: - self.assertEqual(inv.payment_state, "paid") self.assertEqual(self.mandate2.recurrent_sequence_type, "recurring") return diff --git a/account_banking_sepa_direct_debit/views/report_sepa_direct_debit_mandate.xml b/account_banking_sepa_direct_debit/views/report_sepa_direct_debit_mandate.xml index 3ec3579..d8c9465 100644 --- a/account_banking_sepa_direct_debit/views/report_sepa_direct_debit_mandate.xml +++ b/account_banking_sepa_direct_debit/views/report_sepa_direct_debit_mandate.xml @@ -341,7 +341,7 @@ />
-
+
diff --git a/account_payment_mode/README.rst b/account_payment_mode/README.rst index 805e89b..d6a6759 100644 --- a/account_payment_mode/README.rst +++ b/account_payment_mode/README.rst @@ -7,7 +7,7 @@ Account Payment Mode !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:7d93e706e41adc5927cf0e5dd2b3959fb63309f873d40d092a9e406282aa9dcc + !! source digest: sha256:05b51bb50a6ce795b9c709cb7f50965bb1c89dd6f96469da94ad4b7520ba3330 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/account_payment_mode/__manifest__.py b/account_payment_mode/__manifest__.py index b4a7ebd..41b6a2f 100644 --- a/account_payment_mode/__manifest__.py +++ b/account_payment_mode/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Payment Mode", - "version": "3.0.1.0.0", + "version": "3.0.1.0.2", "development_status": "Mature", "license": "AGPL-3", "author": "Akretion,Odoo Community Association (OCA)", diff --git a/account_payment_mode/i18n/it.po b/account_payment_mode/i18n/it.po index 1320446..4db3502 100644 --- a/account_payment_mode/i18n/it.po +++ b/account_payment_mode/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-09-10 16:15+0000\n" -"PO-Revision-Date: 2024-03-01 08:37+0000\n" +"PO-Revision-Date: 2024-08-31 12:06+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.6.2\n" #. module: account_payment_mode #: model:ir.model.fields,help:account_payment_mode.field_account_payment_method__bank_account_required @@ -117,14 +117,14 @@ msgid "" "will select the bank account on the payment order. If your company only has " "one bank account, you should always select 'Fixed'." msgstr "" -"Per le modalità di pagamento che sono sempre collegate allo stesso conto " -"bancario della tua azienda (come bonifico bancario dai clienti o addebito " -"diretto SEPA dai fornitori), seleziona \"Fisso\". Per le modalità di " -"pagamento che non sono sempre collegate allo stesso conto bancario (ad " -"esempio addebito diretto SEPA per clienti, bonifico a fornitori), è " -"necessario selezionare \"Variabile\", il che significa che si selezionerà il " -"conto bancario nell'ordine di pagamento. Se la tua azienda ha un solo conto " -"bancario, dovresti sempre selezionare \"Fisso\"." +"Per modi di pagamento che sono sempre collegati allo stesso conto bancario " +"dell'azienda (come il bonifico bancario dai clienti o addebito diretto SEPA " +"dai fornitori), selezionare 'FIsso'. Per modi di pagamento che non sono " +"sempre collegati allo stesso conto bancario (come un addebito diretto SEPA " +"dei clienti, bonifico bancario ai fornitori), bisogna selezionare " +"'Variabile', che significa che il conto bancario verrà selezionato " +"nell'ordine di pagamento. Se l'azienda ha un solo conto bancario, bisogna " +"sempre selezionare 'Fisso'." #. module: account_payment_mode #: model_terms:ir.ui.view,arch_db:account_payment_mode.account_payment_method_search diff --git a/account_payment_mode/i18n/sv.po b/account_payment_mode/i18n/sv.po index 1df771b..305114c 100644 --- a/account_payment_mode/i18n/sv.po +++ b/account_payment_mode/i18n/sv.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-11-12 16:36+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_mode #: model:ir.model.fields,help:account_payment_mode.field_account_payment_method__bank_account_required @@ -34,7 +34,7 @@ msgstr "Aktiv" #. module: account_payment_mode #: model:ir.model.fields,field_description:account_payment_mode.field_account_payment_mode__variable_journal_ids msgid "Allowed Bank Journals" -msgstr "Tillåtna bankjournaler" +msgstr "Tillåtna bankverifikat" #. module: account_payment_mode #: model_terms:ir.ui.view,arch_db:account_payment_mode.account_payment_method_form @@ -101,7 +101,7 @@ msgstr "Fast" #. module: account_payment_mode #: model:ir.model.fields,field_description:account_payment_mode.field_account_payment_mode__fixed_journal_id msgid "Fixed Bank Journal" -msgstr "Fast bankjournal" +msgstr "Fast bankverifikat" #. module: account_payment_mode #: model:ir.model.fields,help:account_payment_mode.field_account_payment_mode__bank_account_link @@ -193,6 +193,8 @@ msgid "" "On the payment mode %(name)s, the bank account link is 'Fixed' but the fixed " "bank journal is not set" msgstr "" +"På betalningsläget %(name)s är bankkontolänken \"Fast\" men den fasta " +"bankjournalen är inte inställd" #. module: account_payment_mode #. odoo-python @@ -203,6 +205,9 @@ msgid "" "in fact a debit method), but this debit method is not part of the debit " "methods of the fixed bank journal %(journal)s" msgstr "" +"På betalningsläget %(paymode)s är betalningsmetoden %(paymethod)s (det är i " +"själva verket en debiteringsmetod), men denna debiteringsmetod är inte en " +"del av debiteringsmetoderna för den fasta bankjournalen %(journal)s" #. module: account_payment_mode #. odoo-python @@ -213,6 +218,9 @@ msgid "" "this payment method is not part of the payment methods of the fixed bank " "journal %(journal)s" msgstr "" +"På betalningsläget %(paymode)s är betalningsmetoden %(paymethod)s, men denna " +"betalningsmetod är inte en del av betalningsmetoderna för den fasta " +"bankjournalen %(journal)s" #. module: account_payment_mode #: model_terms:ir.ui.view,arch_db:account_payment_mode.account_payment_method_search @@ -270,7 +278,7 @@ msgstr "Sök betalningssätt" #. module: account_payment_mode #: model:ir.model.fields,field_description:account_payment_mode.field_account_payment_mode__sequence msgid "Sequence" -msgstr "" +msgstr "Sekvens" #. module: account_payment_mode #. odoo-python @@ -281,6 +289,8 @@ msgid "" "the payment mode %(paymode)s where it is being used in the Allowed Bank " "Journals." msgstr "" +"Företaget för journalen %(journal)s stämmer inte överens med företaget för " +"betalningssättet %(paymode)s där det används i de tillåtna bankjournalerna." #. module: account_payment_mode #. odoo-python @@ -290,6 +300,8 @@ msgid "" "The company of the journal %(journal)s does not match with the company of " "the payment mode %(paymode)s where it is being used as Fixed Bank Journal." msgstr "" +"Företaget för journalen %(journal)s stämmer inte överens med företaget för " +"betalningsläget %(paymode)s där den används som Fixed Bank Journal." #. module: account_payment_mode #. odoo-python @@ -299,6 +311,8 @@ msgid "" "The company of the payment mode %(paymode)s, does not match with one of the " "Allowed Bank Journals." msgstr "" +"Företaget för betalningssättet %(paymode)s, stämmer inte överens med någon " +"av de tillåtna bankjournalerna." #. module: account_payment_mode #: model:ir.model.fields,help:account_payment_mode.field_account_payment_method__code diff --git a/account_payment_mode/models/account_journal.py b/account_payment_mode/models/account_journal.py index 16765b9..1f6ab0b 100644 --- a/account_payment_mode/models/account_journal.py +++ b/account_payment_mode/models/account_journal.py @@ -19,8 +19,13 @@ class AccountJournal(models.Model): method_info = self.env[ "account.payment.method" ]._get_payment_method_information() + allowed_modes = ["unique"] + if "payment_provider_id" in self.env["account.payment.method.line"]._fields: + allowed_modes.append("electronic") unique_codes = tuple( - code for code, info in method_info.items() if info.get("mode") == "unique" + code + for code, info in method_info.items() + if info.get("mode") in allowed_modes ) all_in = self.env["account.payment.method"].search( [ diff --git a/account_payment_mode/static/description/index.html b/account_payment_mode/static/description/index.html index 674535b..2fc13a9 100644 --- a/account_payment_mode/static/description/index.html +++ b/account_payment_mode/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:7d93e706e41adc5927cf0e5dd2b3959fb63309f873d40d092a9e406282aa9dcc +!! source digest: sha256:05b51bb50a6ce795b9c709cb7f50965bb1c89dd6f96469da94ad4b7520ba3330 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds a new object account.payment.mode, that is used to @@ -426,7 +426,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_payment_mode/tests/test_account_payment_mode.py b/account_payment_mode/tests/test_account_payment_mode.py index cbdbb77..1d9538b 100644 --- a/account_payment_mode/tests/test_account_payment_mode.py +++ b/account_payment_mode/tests/test_account_payment_mode.py @@ -4,12 +4,14 @@ from flectra.exceptions import UserError, ValidationError from flectra.tests.common import TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestAccountPaymentMode(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.res_users_model = cls.env["res.users"] cls.journal_model = cls.env["account.journal"] diff --git a/account_payment_order/COPYRIGHT b/account_payment_order/COPYRIGHT index fa55f9e..ec7f790 100644 --- a/account_payment_order/COPYRIGHT +++ b/account_payment_order/COPYRIGHT @@ -2,8 +2,8 @@ Most of the files are :Copyright: This stylesheet has been placed in the public domain. + Copyright 2009-2023 Noviat Copyright 2015-2016 Akretion - Alexis de Lattre Copyright 2016-2022 Tecnativa - Pedro M. Baeza Copyright 2017 Camptocamp SA @@ -11,6 +11,8 @@ Most of the files are Copyright 2019 ACSONE SA/NV Copyright 2019-2022 Tecnativa - Pedro M. Baeza Copyright 2022 Tecnativa - Pedro M. Baeza + Copyright 2023 Noviat + Copyright 2024 Tecnativa - Víctor Martínez © 2009 EduSense BV () © 2011-2013 Therp BV () © 2013-2014 ACSONE SA (). @@ -20,7 +22,6 @@ Most of the files are © 2016 Akretion (). © 2016 Akretion (Alexis de Lattre ) © 2016 Akretion (https://www.akretion.com/) - © 2017 Acsone SA/NV () © 2017 Creu Blanca Copyright 2018 Flectra Community diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index 7432a06..5779d4e 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -7,7 +7,7 @@ Account Payment Order !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:ef69b414923510a1c477b1118ce824a04e73d903abaaf2335a0d249b099750d2 + !! source digest: sha256:196afa2e536865ee1643cc5d8f33a45696659a90d0bdd11ae3a6ab87a961bbd2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index 3462b70..bdf1374 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -9,7 +9,7 @@ { "name": "Account Payment Order", - "version": "3.0.1.1.0", + "version": "3.0.1.4.4", "license": "AGPL-3", "author": "ACSONE SA/NV, " "Therp BV, " @@ -26,6 +26,7 @@ "security/ir.model.access.csv", "wizard/account_payment_line_create_view.xml", "wizard/account_invoice_payment_line_multi_view.xml", + "wizard/account_payment_update_views.xml", "views/account_payment_mode.xml", "views/account_payment_views.xml", "views/account_payment_order.xml", diff --git a/account_payment_order/i18n/account_payment_order.pot b/account_payment_order/i18n/account_payment_order.pot index a721e89..b5be39e 100644 --- a/account_payment_order/i18n/account_payment_order.pot +++ b/account_payment_order/i18n/account_payment_order.pot @@ -230,6 +230,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -325,6 +326,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -334,6 +336,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -380,6 +383,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -510,6 +514,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -530,7 +535,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -628,6 +632,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -636,6 +641,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -874,6 +880,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -934,6 +945,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -944,6 +960,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -992,11 +1009,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1068,6 +1080,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1197,6 +1214,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/am.po b/account_payment_order/i18n/am.po index 8389c8b..a5df2a3 100644 --- a/account_payment_order/i18n/am.po +++ b/account_payment_order/i18n/am.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -339,6 +341,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Última actualización por" @@ -643,6 +648,7 @@ msgstr "Última actualización por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última actualización en" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/ar.po b/account_payment_order/i18n/ar.po index b8180e1..5141f21 100644 --- a/account_payment_order/i18n/ar.po +++ b/account_payment_order/i18n/ar.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "إلغاء" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/ca.po b/account_payment_order/i18n/ca.po index 030fe17..1191146 100644 --- a/account_payment_order/i18n/ca.po +++ b/account_payment_order/i18n/ca.po @@ -240,6 +240,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancel·la" @@ -339,6 +340,7 @@ msgstr "Crea línia de pagament des de la vista de llista de les factures" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creat per" @@ -348,6 +350,7 @@ msgstr "Creat per" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creat el" @@ -394,6 +397,7 @@ msgstr "No permetis el dèbit abans de la data de venciment" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nom de visualització" @@ -531,6 +535,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -551,7 +556,6 @@ msgstr "Si està marca, els missatges nous requereixen la vostra atenció." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si està marcat, alguns missatges tenen un error de lliurament." @@ -663,6 +667,7 @@ msgstr "Etiqueta del pagament que veurà el destinatari" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Darrera Actualització per" @@ -671,6 +676,7 @@ msgstr "Darrera Actualització per" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Darrera Actualització el" @@ -911,6 +917,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -971,6 +982,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Ordre de pagament correcte" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -981,6 +997,7 @@ msgstr "Ordres de pagament" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Referència de pagament" @@ -1029,11 +1046,6 @@ msgstr "Referència lliure" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Error d'enviament de missatge" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1107,6 +1119,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1241,6 +1258,16 @@ msgstr "Filtre de tipus de data" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1294,6 +1321,9 @@ msgstr "" "altrament, es crearan ordres de pagament noves (una per cada mode de " "pagament)." +#~ msgid "SMS Delivery error" +#~ msgstr "Error d'enviament de missatge" + #~ msgid "Last Modified on" #~ msgstr "Darrera modificació el" diff --git a/account_payment_order/i18n/ca_ES.po b/account_payment_order/i18n/ca_ES.po index 278b0cc..620e2f2 100644 --- a/account_payment_order/i18n/ca_ES.po +++ b/account_payment_order/i18n/ca_ES.po @@ -231,6 +231,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -326,6 +327,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -335,6 +337,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -381,6 +384,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -511,6 +515,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -531,7 +536,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -631,6 +635,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -639,6 +644,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -877,6 +883,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -937,6 +948,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -947,6 +963,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -995,11 +1012,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1071,6 +1083,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1200,6 +1217,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/cs.po b/account_payment_order/i18n/cs.po index 26e10cf..081bd76 100644 --- a/account_payment_order/i18n/cs.po +++ b/account_payment_order/i18n/cs.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Zrušit" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -339,6 +341,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -643,6 +648,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/da_DK.po b/account_payment_order/i18n/da_DK.po index b4d4f9c..f7a86a5 100644 --- a/account_payment_order/i18n/da_DK.po +++ b/account_payment_order/i18n/da_DK.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -387,6 +390,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -517,6 +521,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -537,7 +542,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -638,6 +642,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -646,6 +651,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -886,6 +892,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -947,6 +958,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -957,6 +973,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1005,11 +1022,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1081,6 +1093,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1210,6 +1227,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/de.po b/account_payment_order/i18n/de.po index 6d71acb..1584b84 100644 --- a/account_payment_order/i18n/de.po +++ b/account_payment_order/i18n/de.po @@ -238,6 +238,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Abbruch" @@ -333,6 +334,7 @@ msgstr "Zahlungszeilen aus Rechnungsbaumansicht erstellen" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Erstellt von" @@ -342,6 +344,7 @@ msgstr "Erstellt von" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Erstellt am:" @@ -388,6 +391,7 @@ msgstr "Lastschrift vor Fälligkeitsdatum nicht zulassen" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Anzeigename" @@ -518,6 +522,7 @@ msgstr "Hat Nachricht" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -538,7 +543,6 @@ msgstr "Wenn aktiviert, erfordern neue Nachrichten Ihre Aufmerksamkeit." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" "Wenn diese Option aktiviert ist, weisen einige Nachrichten einen " @@ -640,6 +644,7 @@ msgstr "Etikett der Zahlung, das der Empfänger sehen wird" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Zuletzt aktualisiert von" @@ -648,6 +653,7 @@ msgstr "Zuletzt aktualisiert von" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" @@ -886,6 +892,11 @@ msgstr "Zahlungszeile" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -946,6 +957,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Zahlungsauftrag Ok" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -956,6 +972,7 @@ msgstr "Zahlungsaufträge" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Zahlungsreferenz" @@ -1004,11 +1021,6 @@ msgstr "Zahlungsreferenz" msgid "Responsible User" msgstr "Verantwortlicher Benutzer" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1080,6 +1092,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1210,6 +1227,16 @@ msgstr "Art des Datumsfilters" msgid "Type of the exception activity on record." msgstr "Typ der aufgezeichneten Ausnahmeaktivität." +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/el_GR.po b/account_payment_order/i18n/el_GR.po index d96988e..7431180 100644 --- a/account_payment_order/i18n/el_GR.po +++ b/account_payment_order/i18n/el_GR.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Δημιουργήθηκε από " @@ -340,6 +342,7 @@ msgstr "Δημιουργήθηκε από " #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Δημιουργήθηκε στις" @@ -387,6 +390,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -517,6 +521,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "Κωδικός" @@ -537,7 +542,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -637,6 +641,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Τελευταία ενημέρωση από" @@ -645,6 +650,7 @@ msgstr "Τελευταία ενημέρωση από" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Τελευταία ενημέρωση στις" @@ -883,6 +889,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -943,6 +954,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -953,6 +969,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1001,11 +1018,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1077,6 +1089,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1206,6 +1223,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/es.po b/account_payment_order/i18n/es.po index c657f9d..ab28b80 100644 --- a/account_payment_order/i18n/es.po +++ b/account_payment_order/i18n/es.po @@ -247,6 +247,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -345,6 +346,7 @@ msgstr "Crear líneas de pago desde la factura" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -354,6 +356,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -400,6 +403,7 @@ msgstr "No permitir el adeudo antes de la fecha de vencimiento" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -538,6 +542,7 @@ msgstr "Tiene mensaje" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -558,7 +563,6 @@ msgstr "Si está marcado hay nuevos mensajes que requieren su atención." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si se encuentra marcado, algunos mensajes tienen error de envío." @@ -671,6 +675,7 @@ msgstr "Etiqueta del pago que será vista por el beneficiario" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Última actualización por" @@ -679,6 +684,7 @@ msgstr "Última actualización por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última actualización en" @@ -923,6 +929,11 @@ msgstr "Línea de pago" msgid "Payment Line Count" msgstr "Recuento de la Línea de Pago" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -983,6 +994,11 @@ msgstr "Líneas de Orden de Pago" msgid "Payment Order Ok" msgstr "Orden de Pago correcta" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -993,6 +1009,7 @@ msgstr "Órdenes de pago" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Referencia de pago" @@ -1041,11 +1058,6 @@ msgstr "Tipo de Referencia" msgid "Responsible User" msgstr "Usuario responsable" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Error de entrega del SMS" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1123,6 +1135,11 @@ msgstr "" "Hoy: La fecha límite de la actividad es hoy\n" "Futuras: Actividades futuras." +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1265,6 +1282,16 @@ msgstr "Filtro de tipo de fecha" msgid "Type of the exception activity on record." msgstr "Tipo de actividad de excepción en el registro." +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1316,249 +1343,5 @@ msgid "otherwise, new payment orders will be created (one per payment mode)." msgstr "" "En caso contrario, se crearán nuevas órdenes (una por cada modo de pago)." -#~ msgid "Last Modified on" -#~ msgstr "Última modificación en" - -#~ msgid "Main Attachment" -#~ msgstr "Adjunto Principal" - -#~ msgid "Number of messages which requires an action" -#~ msgstr "Número de mensajes que requieren una acción" - -#, python-format -#~ msgid "" -#~ "No Payment Line created for invoice %s because it already exists or " -#~ "because this invoice is already paid." -#~ msgstr "" -#~ "No se ha creado línea de pago para la factura %s porque ya existe o " -#~ "porque la factura ya está pagada." - -#~ msgid "Accounting Entries Options" -#~ msgstr "Opciones de asientos contables" - -#~ msgid "Bank Payment Line" -#~ msgstr "Línea de pago bancario" - -#~ msgid "Bank Payment Line Ref" -#~ msgstr "Ref. de la línea de pago bancario" - -#~ msgid "Bank Payment Lines" -#~ msgstr "Líneas de pago bancario" - -#, python-format -#~ msgid "Debit bank line %s" -#~ msgstr "Línea de adeudo de banco %s" - -#, python-format -#~ msgid "Debit order %s" -#~ msgstr "Orden de cobro %s" - -#~ msgid "Generate Accounting Entries On File Upload" -#~ msgstr "Generar asientos contables al subir el archivo" - -#~ msgid "Move Option" -#~ msgstr "Opciones de asiento" - -#~ msgid "Number of unread messages" -#~ msgstr "Número de mensajes sin leer" - -#, python-format -#~ msgid "" -#~ "On the payment mode '%s', you must choose an option for the 'Move Option' " -#~ "parameter." -#~ msgstr "" -#~ "En el modo de pago '%s', debe escoger una opción para las 'Opciones de " -#~ "asiento'." - -#~ msgid "One move per payment date" -#~ msgstr "Un asiento por fecha de pago" - -#~ msgid "One move per payment line" -#~ msgstr "Un asiento por línea de pago" - -#~ msgid "Order" -#~ msgstr "Orden" - -#, python-format -#~ msgid "Payment bank line %s" -#~ msgstr "Línea de pago bancario %s" - -#, python-format -#~ msgid "Payment order %s" -#~ msgstr "Orden %s" - -#~ msgid "Post Move" -#~ msgstr "Publicar movimiento" - -#~ msgid "Related Payment Lines" -#~ msgstr "Líneas de pago relacionadas" - -#~ msgid "Search Bank Payment Lines" -#~ msgstr "Buscar líneas de pago bancario" - -#~ msgid "" -#~ "The bank payment lines are used to generate the payment file. They are " -#~ "automatically created from transaction lines upon confirmation of the " -#~ "payment order: one bank payment line can group several transaction lines " -#~ "if the option 'Group Transactions in Payment Orders' is active on the " -#~ "payment mode." -#~ msgstr "" -#~ "Las líneas de pago bancarias se usan para generar el archivo de pago. Se " -#~ "crean automáticamente de las líneas de transacciones en la confirmación " -#~ "de la orden: una línea de pago bancario puede agrupar varias líneas de " -#~ "transacción si la opción 'Agrupar transacciones en las órdenes' está " -#~ "activada en el modo de pago." - -#~ msgid "Total Amount" -#~ msgstr "Importe total" - -#~ msgid "Unread Messages" -#~ msgstr "Mensajes sin leer" - -#~ msgid "Unread Messages Counter" -#~ msgstr "Contador de mensajes sin leer" - -#~ msgid "%d payment lines added to the existing draft payment order %s." -#~ msgstr "%d líneas de pago añadidas a la orden de pago en borrador %s." - -#~ msgid "" -#~ "%d payment lines added to the new draft payment order %s which has been " -#~ "automatically created." -#~ msgstr "" -#~ "%d líneas de pago añadidas a una nueva orden de pago en borrador %s que " -#~ "ha sido creada automáticamente." - -#~ msgid "" -#~ "A valid BIC contains 8 or 11 characters. The BIC '%s' contains %d " -#~ "characters, so it is not valid." -#~ msgstr "" -#~ "Un BIC válido contiene 8 u 11 caracteres. El BIC '%s' contiene %d " -#~ "caracteres, por lo que no es válido." - -#~ msgid "Can not reconcile: no move line for payment line %s of partner '%s'." -#~ msgstr "" -#~ "No se puede conciliar: no hay apunte para la línea de pago %s de la " -#~ "empresa '%s'." - -#~ msgid "" -#~ "Cannot delete a payment order line whose payment order is in state '%s'. " -#~ "You need to cancel it first." -#~ msgstr "" -#~ "No se puede eliminar una línea de una orden de pago cuyo estado es '%s'. " -#~ "Primero debes cancelarla." - -#~ msgid "Followers (Channels)" -#~ msgstr "Seguidores (Canales)" - -#~ msgid "" -#~ "For partner '%s', the account of the account move line to pay (%s) is " -#~ "different from the account of of the transit move line (%s)." -#~ msgstr "" -#~ "Para la empresa '%s', la cuenta del apunte a pagar (%s) es diferente de " -#~ "la cuenta del apunte de tránsito (%s)." - -#~ msgid "Move line '%s' of partner '%s' has already been reconciled" -#~ msgstr "El apunte '%s' de la empresa '%s' ya ha sido conciliado" - -#~ msgid "On payment order %s, the Payment Execution Date is in the past (%s)." -#~ msgstr "En la orden %s, la fecha de ejecución es anterior a la actual (%s)." - -#~ msgid "The amount for Partner '%s' is negative or null (%.2f) !" -#~ msgstr "El importe para el empresa '%s' es negativo o nulo (%.2f) !" - -#~ msgid "" -#~ "The payment mode '%s' has the option 'Disallow Debit Before Maturity " -#~ "Date'. The payment line %s has a maturity date %s which is after the " -#~ "computed payment date %s." -#~ msgstr "" -#~ "El modo de pago '%s' tiene la opción 'No permitir adeudo antes de la " -#~ "fecha de vencimiento'. La línea de pago %s tiene una fecha de vencimiento " -#~ "%s que es después de la fecha de pago calculada %s." - -#~ msgid "" -#~ "The payment type (%s) is not the same as the payment type of the payment " -#~ "mode (%s)" -#~ msgstr "" -#~ "El tipo de pago (%s) no es el mismo que el tipo de pago del modo de pago " -#~ "(%s)" - -#~ msgid "Done" -#~ msgstr "Realizado" - -#~ msgid "Done Date" -#~ msgstr "Fecha de realización" - -#~ msgid "" -#~ "Journal to write payment entries when confirming payment/debit orders of " -#~ "this mode" -#~ msgstr "" -#~ "Diario al que escribir los asientos contables cuando se confirme la orden " -#~ "de cobro/pago de este modo" - -#~ msgid "Number of Bank Lines" -#~ msgstr "Número de líneas bancarias" - -#~ msgid "Offsetting Account" -#~ msgstr "Cuenta de compensación" - -#~ msgid "" -#~ "On the payment mode '%s', you must select a value for the 'Transfer " -#~ "Account'." -#~ msgstr "" -#~ "En el modo de pago '%s', debe seleccionar un valor para la 'Cuenta de " -#~ "transferencia'." - -#~ msgid "" -#~ "On the payment mode '%s', you must select a value for the 'Transfer " -#~ "Journal'." -#~ msgstr "" -#~ "En el modo de pago '%s', debe seleccionar un valor para el 'Diario de " -#~ "transferencia'." - -#~ msgid "" -#~ "On the payment mode '%s', you must select an option for the 'Offsetting " -#~ "Account' parameter" -#~ msgstr "" -#~ "En el modo de pago '%s', debe seleccionar una opción para el parámetro " -#~ "'Cuenta de compensación'" - -#~ msgid "" -#~ "Pay off lines in 'file uploaded' payment orders with a move on this " -#~ "account. You can only select accounts that are marked for reconciliation" -#~ msgstr "" -#~ "Las líneas de pago de la orden se conciliarán en la 'subida de archivo' " -#~ "con un apunte a esta cuenta. Sólo puede seleccionar las cuentas que están " -#~ "marcadas para conciliación" - -#~ msgid "Transaction Lines" -#~ msgstr "Líneas de transacción" - -#~ msgid "Transfer Account" -#~ msgstr "Cuenta de transferencia" - -#~ msgid "Transfer Journal" -#~ msgstr "Diario de transferencia" - -#~ msgid "Transfer Journal Entries" -#~ msgstr "Asientos de transferencia" - -#~ msgid "Due date" -#~ msgstr "Fecha de vencimiento" - -#~ msgid "ISO" -#~ msgstr "ISO" - -#~ msgid "Invoice" -#~ msgstr "Factura" - -#~ msgid "No Journal Entry on invoice %s" -#~ msgstr "No se ha encontrado asiento en la factura %s" - -#~ msgid "Payment Order / Payment" -#~ msgstr "Orden de Pago / Pago" - -#~ msgid "Account Entry" -#~ msgstr "Asiento contable" - -#~ msgid "report.account_payment_order.print_account_payment_order_main" -#~ msgstr "report.account_payment_order.print_account_payment_order_main" +#~ msgid "SMS Delivery error" +#~ msgstr "Error de entrega del SMS" diff --git a/account_payment_order/i18n/es_AR.po b/account_payment_order/i18n/es_AR.po index ac11e3c..1594811 100644 --- a/account_payment_order/i18n/es_AR.po +++ b/account_payment_order/i18n/es_AR.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -333,6 +334,7 @@ msgstr "Crear líneas de pago desde la factura" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -342,6 +344,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -388,6 +391,7 @@ msgstr "No permitir el adeudo antes de la fecha de vencimiento" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Mostrar Nombre" @@ -526,6 +530,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -546,7 +551,6 @@ msgstr "Si está marcado, los mensajes nuevos requieren su atención." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si está marcado, algunos mensajes tienen un error de entrega." @@ -659,6 +663,7 @@ msgstr "Etiqueta del pago que verá el destinatario" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Última actualización por" @@ -667,6 +672,7 @@ msgstr "Última actualización por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última actualización en" @@ -907,6 +913,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -967,6 +978,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Orden de Pago correcta" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -977,6 +993,7 @@ msgstr "Órdenes de pago" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Referencia de pago" @@ -1025,11 +1042,6 @@ msgstr "Tipo de Referencia" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Error de entrega de SMS" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1103,6 +1115,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1237,6 +1254,16 @@ msgstr "Tipo de Filtro de Fecha" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1288,6 +1315,9 @@ msgid "otherwise, new payment orders will be created (one per payment mode)." msgstr "" "En caso contrario, se crearán nuevas órdenes (una por cada modo de pago)." +#~ msgid "SMS Delivery error" +#~ msgstr "Error de entrega de SMS" + #~ msgid "Last Modified on" #~ msgstr "Última modificación en" diff --git a/account_payment_order/i18n/es_CL.po b/account_payment_order/i18n/es_CL.po index 615fc14..6cdfe1a 100644 --- a/account_payment_order/i18n/es_CL.po +++ b/account_payment_order/i18n/es_CL.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -334,6 +335,7 @@ msgstr "Crear líneas de pago desde la vista de árbol de facturas" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -343,6 +345,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -389,6 +392,7 @@ msgstr "Rechazar débito antes de la fecha de vencimiento" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nombre Mostrado" @@ -527,6 +531,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -547,7 +552,6 @@ msgstr "Si está marcado, los mensajes nuevos requieren su atención." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si está marcado, algunos mensajes tienen un error de entrega." @@ -660,6 +664,7 @@ msgstr "Etiqueta del pago que verá el destinatario" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Actualizado por última vez por" @@ -668,6 +673,7 @@ msgstr "Actualizado por última vez por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Ultima actualización en" @@ -908,6 +914,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -968,6 +979,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Pago de Nómina Ok" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -978,6 +994,7 @@ msgstr "Pagos de Nómina" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Referencia de Pago" @@ -1026,11 +1043,6 @@ msgstr "Tipo de Referencia" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Error de entrega de SMS" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1104,6 +1116,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1237,6 +1254,16 @@ msgstr "Tipo de filtro de fecha" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1288,6 +1315,9 @@ msgid "otherwise, new payment orders will be created (one per payment mode)." msgstr "" "de lo contrario, se crearán nuevos pagos de nómina (una por modo de pago)." +#~ msgid "SMS Delivery error" +#~ msgstr "Error de entrega de SMS" + #~ msgid "Last Modified on" #~ msgstr "Última modificación el" diff --git a/account_payment_order/i18n/es_CR.po b/account_payment_order/i18n/es_CR.po index 7c97974..941d147 100644 --- a/account_payment_order/i18n/es_CR.po +++ b/account_payment_order/i18n/es_CR.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/es_EC.po b/account_payment_order/i18n/es_EC.po index a64aaa4..136a972 100644 --- a/account_payment_order/i18n/es_EC.po +++ b/account_payment_order/i18n/es_EC.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/es_ES.po b/account_payment_order/i18n/es_ES.po index 4a7e9a2..e7b401c 100644 --- a/account_payment_order/i18n/es_ES.po +++ b/account_payment_order/i18n/es_ES.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -340,6 +342,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Última actualización por" @@ -644,6 +649,7 @@ msgstr "Última actualización por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última actualización en" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/es_MX.po b/account_payment_order/i18n/es_MX.po index abae03d..2341c0a 100644 --- a/account_payment_order/i18n/es_MX.po +++ b/account_payment_order/i18n/es_MX.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/es_VE.po b/account_payment_order/i18n/es_VE.po index b246fda..4c7e2d5 100644 --- a/account_payment_order/i18n/es_VE.po +++ b/account_payment_order/i18n/es_VE.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/et.po b/account_payment_order/i18n/et.po index e2cf046..ad44966 100644 --- a/account_payment_order/i18n/et.po +++ b/account_payment_order/i18n/et.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Loobu" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -339,6 +341,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -643,6 +648,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/fi.po b/account_payment_order/i18n/fi.po index f83c888..ab4473a 100644 --- a/account_payment_order/i18n/fi.po +++ b/account_payment_order/i18n/fi.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Luonut" @@ -339,6 +341,7 @@ msgstr "Luonut" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Luotu" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nimi" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Viimeksi päivittänyt" @@ -643,6 +648,7 @@ msgstr "Viimeksi päivittänyt" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Viimeksi päivitetty" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/fr.po b/account_payment_order/i18n/fr.po index 2c6f17a..e07a192 100644 --- a/account_payment_order/i18n/fr.po +++ b/account_payment_order/i18n/fr.po @@ -28,8 +28,8 @@ msgid "" "data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s." msgstr "" "%(count)d lignes de paiement ajoutées à l'ordre de paiement brouillon " -"existant %(name)s." +"existant %(name)s." #. module: account_payment_order #. odoo-python @@ -41,8 +41,8 @@ msgid "" "has been automatically created." msgstr "" "%(count)d lignes de paiement ajoutées au nouvel ordre de paiement en " -"brouillon%(name)s, qui a été automatiquement créé." +"brouillon%(name)s, qui a été automatiquement créé." #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document @@ -247,6 +247,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Annuler" @@ -346,6 +347,7 @@ msgstr "Créer les lignes de paiement à partir de la liste des factures" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Créé par" @@ -355,6 +357,7 @@ msgstr "Créé par" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Créé le" @@ -401,6 +404,7 @@ msgstr "Interdire le prélèvement avant la date d'échéance" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nom affiché" @@ -539,6 +543,7 @@ msgstr "A un message" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -559,7 +564,6 @@ msgstr "Si coché, de nouveaux messages demandent votre attention." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si coché, certains messages ont une erreur de livraison." @@ -673,6 +677,7 @@ msgstr "Nom du paiement qui sera vu par le destinataire" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Mis à jour par" @@ -681,6 +686,7 @@ msgstr "Mis à jour par" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Mis à jour le" @@ -923,6 +929,11 @@ msgstr "Ligne de paiement" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -983,6 +994,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Ordre de paiement Ok" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -993,6 +1009,7 @@ msgstr "Ordres de paiement" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Référence du paiement" @@ -1041,11 +1058,6 @@ msgstr "Type de Référence" msgid "Responsible User" msgstr "Utilisateur responsable" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Erreur d'envoi SMS" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1123,6 +1135,11 @@ msgstr "" "Aujourd'hui : la date d'activité est aujourd'hui\n" "Planifiée : activités futures." +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1264,6 +1281,16 @@ msgstr "Type du filtre sur la date" msgid "Type of the exception activity on record." msgstr "Type de l'activité-alerte sur l'enregistrement." +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1315,6 +1342,9 @@ msgid "otherwise, new payment orders will be created (one per payment mode)." msgstr "" "Sinon, de nouveaux ordres de paiement seront créés (un par mode de paiement)." +#~ msgid "SMS Delivery error" +#~ msgstr "Erreur d'envoi SMS" + #~ msgid "Last Modified on" #~ msgstr "Dernière modification le" diff --git a/account_payment_order/i18n/fr_FR.po b/account_payment_order/i18n/fr_FR.po index 16d9330..9ad1dc4 100644 --- a/account_payment_order/i18n/fr_FR.po +++ b/account_payment_order/i18n/fr_FR.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Annuler" @@ -335,6 +336,7 @@ msgstr "Créer les lignes de paiement à partir de la liste des factures" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Créée par" @@ -344,6 +346,7 @@ msgstr "Créée par" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Créée le" @@ -390,6 +393,7 @@ msgstr "Interdire le prélèvement avant la date d'échéance" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nom à afficher" @@ -528,6 +532,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -548,7 +553,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -662,6 +666,7 @@ msgstr "Libellé du paiement qui sera vu par le destinataire" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Dernière modification par" @@ -670,6 +675,7 @@ msgstr "Dernière modification par" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Modifié le" @@ -910,6 +916,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -970,6 +981,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Ordre de paiement OK" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -980,6 +996,7 @@ msgstr "Ordre de paiements" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Référence du paiement" @@ -1028,11 +1045,6 @@ msgstr "Type de Référence" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1106,6 +1118,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1240,6 +1257,16 @@ msgstr "Type du filtre sur la date" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/gl.po b/account_payment_order/i18n/gl.po index 128daab..31ad172 100644 --- a/account_payment_order/i18n/gl.po +++ b/account_payment_order/i18n/gl.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creado por" @@ -339,6 +341,7 @@ msgstr "Creado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creado en" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "ültima actualización por" @@ -643,6 +648,7 @@ msgstr "ültima actualización por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última actualización en" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/hr.po b/account_payment_order/i18n/hr.po index 3b123d1..0bf587a 100644 --- a/account_payment_order/i18n/hr.po +++ b/account_payment_order/i18n/hr.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_payment_order #. odoo-python @@ -237,6 +237,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -332,6 +333,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Kreirao" @@ -341,6 +343,7 @@ msgstr "Kreirao" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Kreirano" @@ -388,6 +391,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Naziv" @@ -518,6 +522,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -538,7 +543,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -640,6 +644,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -648,6 +653,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -888,6 +894,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -950,6 +961,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Nalog za plaćanje" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -960,6 +976,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1009,11 +1026,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1085,6 +1097,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1214,6 +1231,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/it.po b/account_payment_order/i18n/it.po index 3994642..8548ae6 100644 --- a/account_payment_order/i18n/it.po +++ b/account_payment_order/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-23 03:38+0000\n" -"PO-Revision-Date: 2024-04-16 16:42+0000\n" +"PO-Revision-Date: 2024-08-16 09:58+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.6.2\n" #. module: account_payment_order #. odoo-python @@ -28,8 +28,8 @@ msgid "" "data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s." msgstr "" "%(count)d righe di pagamento aggiunte all'ordine di pagamento esistente in " -"bozza " -"%(name)s." +"bozza %(name)s." #. module: account_payment_order #. odoo-python @@ -41,8 +41,8 @@ msgid "" "has been automatically created." msgstr "" "%(count)d righe di pagamento aggiunte al nuovo ordine di pagamento in bozza " -"" -"%(name)s che è stato creato automaticamente." +"%(name)s che è stato creato automaticamente." #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document @@ -248,6 +248,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Annulla" @@ -347,6 +348,7 @@ msgstr "Crea righe di pagamento da fattura in vista albero" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Creato da" @@ -356,6 +358,7 @@ msgstr "Creato da" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Creato il" @@ -402,6 +405,7 @@ msgstr "Non consentire l'addebito prima della scadenza" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Nome visualizzato" @@ -540,6 +544,7 @@ msgstr "Ha un messaggio" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -560,7 +565,6 @@ msgstr "Se selezionata, nuovi messaggi richiedono attenzione." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Se selezionata, alcuni messaggi hanno un errore di consegna." @@ -674,6 +678,7 @@ msgstr "Etichetta del pagamento che sarà vista dal destinatario" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Ultimo aggiornamento di" @@ -682,6 +687,7 @@ msgstr "Ultimo aggiornamento di" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Ultimo aggiornamento il" @@ -926,6 +932,11 @@ msgstr "Riga di pagamento" msgid "Payment Line Count" msgstr "Conteggio righe pagamento" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "Data riga pagamento" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -986,6 +997,11 @@ msgstr "Righe ordine di pagamento" msgid "Payment Order Ok" msgstr "Ordine di pagamento ok" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "Stato ordine pgamento" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -996,6 +1012,7 @@ msgstr "Ordini di pagamento" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Riferimento pagamento" @@ -1044,11 +1061,6 @@ msgstr "Tipo riferimento" msgid "Responsible User" msgstr "Utente responsabile" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Errore consegna SMS" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1126,6 +1138,11 @@ msgstr "" "Oggi: la data attività è oggi\n" "Pianificato: attività future." +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "Strutturato" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1269,6 +1286,16 @@ msgstr "Tipo di filtro data" msgid "Type of the exception activity on record." msgstr "Tipo di attività eccezione sul record." +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "Aggiorna riferimento pagamento" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" @@ -1320,6 +1347,9 @@ msgstr "" "altrimenti, nuovi ordini di pagamento verranno creati (uno per modalità di " "pagamento)." +#~ msgid "SMS Delivery error" +#~ msgstr "Errore consegna SMS" + #~ msgid "Last Modified on" #~ msgstr "Ultima modifica il" diff --git a/account_payment_order/i18n/lt.po b/account_payment_order/i18n/lt.po index 4d24873..ce4e38b 100644 --- a/account_payment_order/i18n/lt.po +++ b/account_payment_order/i18n/lt.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"(n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_payment_order #. odoo-python @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Atšaukti" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/nb_NO.po b/account_payment_order/i18n/nb_NO.po index 0a1e550..eca2400 100644 --- a/account_payment_order/i18n/nb_NO.po +++ b/account_payment_order/i18n/nb_NO.po @@ -239,6 +239,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Lukk" @@ -334,6 +335,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Laget av" @@ -343,6 +345,7 @@ msgstr "Laget av" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Laget den" @@ -390,6 +393,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Vis navn" @@ -521,6 +525,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -541,7 +546,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -643,6 +647,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" @@ -651,6 +656,7 @@ msgstr "Sist oppdatert av" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Sist oppdatert den" @@ -894,6 +900,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -956,6 +967,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Betalingsordre" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -966,6 +982,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Betalingsreferanse" @@ -1016,11 +1033,6 @@ msgstr "Betalingsreferanse" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1092,6 +1104,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1221,6 +1238,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/nl.po b/account_payment_order/i18n/nl.po index 4f67bab..6d82054 100644 --- a/account_payment_order/i18n/nl.po +++ b/account_payment_order/i18n/nl.po @@ -240,6 +240,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Annuleren" @@ -339,6 +340,7 @@ msgstr "Aanmaken betaalregels van factuur lijstweergave" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Aangemaakt door" @@ -348,6 +350,7 @@ msgstr "Aangemaakt door" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Aangemaakt op" @@ -395,6 +398,7 @@ msgstr "Sta geen debit toe voor vervaldatum" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Weergave naam" @@ -526,6 +530,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -546,7 +551,6 @@ msgstr "Indien aangevinkt, vereisen nieuwe berichten uw aandacht." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -659,6 +663,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" @@ -667,6 +672,7 @@ msgstr "Laatst bijgewerkt door" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" @@ -910,6 +916,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -971,6 +982,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -981,6 +997,7 @@ msgstr "Uitgaande Betaalopdrachten" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Betaalreferentie" @@ -1030,11 +1047,6 @@ msgstr "Betaalreferentie" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1106,6 +1118,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1235,6 +1252,16 @@ msgstr "Soort datumfilter" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/nl_BE.po b/account_payment_order/i18n/nl_BE.po index f357f3c..2e1cf9d 100644 --- a/account_payment_order/i18n/nl_BE.po +++ b/account_payment_order/i18n/nl_BE.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Annuleren" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/nl_NL.po b/account_payment_order/i18n/nl_NL.po index 4679add..15481d9 100644 --- a/account_payment_order/i18n/nl_NL.po +++ b/account_payment_order/i18n/nl_NL.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -387,6 +390,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -517,6 +521,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -537,7 +542,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -637,6 +641,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -645,6 +650,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -883,6 +889,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -943,6 +954,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -953,6 +969,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1001,11 +1018,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1077,6 +1089,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1206,6 +1223,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/pl.po b/account_payment_order/i18n/pl.po index 4c23f61..1216ed4 100644 --- a/account_payment_order/i18n/pl.po +++ b/account_payment_order/i18n/pl.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Anuluj" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/pt.po b/account_payment_order/i18n/pt.po index 67dfea4..0bcfea5 100644 --- a/account_payment_order/i18n/pt.po +++ b/account_payment_order/i18n/pt.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Criado por" @@ -339,6 +341,7 @@ msgstr "Criado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Criado em" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" @@ -643,6 +648,7 @@ msgstr "Atualizado pela última vez por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/pt_BR.po b/account_payment_order/i18n/pt_BR.po index 8d3b0d3..8bdf215 100644 --- a/account_payment_order/i18n/pt_BR.po +++ b/account_payment_order/i18n/pt_BR.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Criado por" @@ -340,6 +342,7 @@ msgstr "Criado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Criado em" @@ -387,6 +390,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -518,6 +522,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -538,7 +543,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -641,6 +645,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Última Atualização por" @@ -649,6 +654,7 @@ msgstr "Última Atualização por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Última Atualização em" @@ -890,6 +896,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -951,6 +962,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -961,6 +977,7 @@ msgstr "Ordens de Pagamento" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1010,11 +1027,6 @@ msgstr "Referência estruturada" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1086,6 +1098,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1215,6 +1232,16 @@ msgstr "Tipo de filtro de data" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/pt_PT.po b/account_payment_order/i18n/pt_PT.po index c3a2252..51cf115 100644 --- a/account_payment_order/i18n/pt_PT.po +++ b/account_payment_order/i18n/pt_PT.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Cancelar" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Criado por" @@ -340,6 +342,7 @@ msgstr "Criado por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Criado em" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" @@ -644,6 +649,7 @@ msgstr "Atualizado pela última vez por" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/ro.po b/account_payment_order/i18n/ro.po index 9e0fda8..55ead36 100644 --- a/account_payment_order/i18n/ro.po +++ b/account_payment_order/i18n/ro.po @@ -236,6 +236,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Anuleaza" @@ -331,6 +332,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -340,6 +342,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -386,6 +389,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -516,6 +520,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -536,7 +541,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -636,6 +640,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -644,6 +649,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -882,6 +888,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -942,6 +953,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -952,6 +968,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1000,11 +1017,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1076,6 +1088,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1205,6 +1222,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/ru.po b/account_payment_order/i18n/ru.po index a1d3d5f..a1ccca0 100644 --- a/account_payment_order/i18n/ru.po +++ b/account_payment_order/i18n/ru.po @@ -16,9 +16,9 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" -"%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " +"(n%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_payment_order #. odoo-python @@ -237,6 +237,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Отменена" @@ -332,6 +333,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -341,6 +343,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -387,6 +390,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -517,6 +521,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -537,7 +542,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -637,6 +641,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -645,6 +650,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -883,6 +889,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -943,6 +954,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -953,6 +969,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1001,11 +1018,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1077,6 +1089,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1206,6 +1223,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/sl.po b/account_payment_order/i18n/sl.po index cd19fcb..d5d6da7 100644 --- a/account_payment_order/i18n/sl.po +++ b/account_payment_order/i18n/sl.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3;\n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" "X-Generator: Weblate 4.14.1\n" #. module: account_payment_order @@ -237,6 +237,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Preklic" @@ -332,6 +333,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Ustvaril" @@ -341,6 +343,7 @@ msgstr "Ustvaril" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Ustvarjeno" @@ -388,6 +391,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Prikazani naziv" @@ -519,6 +523,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -539,7 +544,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -642,6 +646,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Zadnji posodobil" @@ -650,6 +655,7 @@ msgstr "Zadnji posodobil" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Zadnjič posodobljeno" @@ -891,6 +897,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -952,6 +963,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -962,6 +978,7 @@ msgstr "Plačilni nalogi" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -1011,11 +1028,6 @@ msgstr "Strukturiran sklic" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1087,6 +1099,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1216,6 +1233,16 @@ msgstr "Tip datumskega filtra" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/sv.po b/account_payment_order/i18n/sv.po index d967141..b97cc13 100644 --- a/account_payment_order/i18n/sv.po +++ b/account_payment_order/i18n/sv.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-11-06 10:38+0000\n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" "Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" @@ -24,6 +24,9 @@ msgid "" "%(count)d payment lines added to the existing draft payment order %(name)s." msgstr "" +"%(count)d betalningsrader som läggs till i det befintliga utkastet till " +"betalningsorder %(name)s." #. module: account_payment_order #. odoo-python @@ -34,6 +37,9 @@ msgid "" "oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s, which " "has been automatically created." msgstr "" +"%(count)d betalningsrader läggs till i det nya utkastet till betalningsorder " +"%(name)s, som har skapats automatiskt." #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document @@ -43,7 +49,7 @@ msgstr "Bolagets valuta:" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Execution:" -msgstr "" +msgstr "Utförande:" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document @@ -68,7 +74,7 @@ msgstr "Använt konto:" #. module: account_payment_order #: model:ir.model.constraint,message:account_payment_order.constraint_account_payment_line_name_company_unique msgid "A payment line already exists with this reference in the same company!" -msgstr "" +msgstr "En betalningslinje finns redan med denna referens i samma företag!" #. module: account_payment_order #. odoo-python @@ -78,6 +84,8 @@ msgid "" "A valid BIC contains 8 or 11 characters. The BIC '%(bic)s' contains %(num)d " "characters, so it is not valid." msgstr "" +"En giltig BIC innehåller 8 eller 11 tecken. BIC-koden \"%(bic)s\" innehåller " +"%(num)d tecken, så den är inte giltig." #. module: account_payment_order #: model:res.groups,name:account_payment_order.group_account_payment @@ -106,22 +114,22 @@ msgstr "Aktiviteter" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Aktivitet Undantag Dekoration" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_state msgid "Activity State" -msgstr "" +msgstr "Aktivitet Stat" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Aktivitetstyp Ikon" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Add All Move Lines" -msgstr "" +msgstr "Lägg till alla flyttlinjer" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.view_move_form @@ -154,7 +162,7 @@ msgstr "Alla bokförda poster" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__allow_blocked msgid "Allow Litigation Move Lines" -msgstr "" +msgstr "Tillåt processföring Flytta linjer" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids @@ -212,7 +220,7 @@ msgstr "Bankkonto krävs" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__partner_bank_acc_type msgid "Bank Account Type" -msgstr "" +msgstr "Typ av bankkonto" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__journal_id @@ -229,12 +237,13 @@ msgstr "Bankkonto som leverantören ska betalas på" #: model:ir.model.fields,help:account_payment_order.field_account_payment_line__partner_bank_acc_type msgid "" "Bank account type: Normal or IBAN. Inferred from the bank account number." -msgstr "" +msgstr "Typ av bankkonto: Normal eller IBAN. Härleds från bankkontonumret." #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Avbryt" @@ -246,7 +255,7 @@ msgstr "Avbryt betalningar" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Choose Move Lines Filter Options" -msgstr "" +msgstr "Välj filteralternativ för Flytta linjer" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form @@ -255,6 +264,9 @@ msgid "" "criteria or click on Add an item to manually select the move lines filtered " "by the above criteria." msgstr "" +"Klicka på Add All Move Lines för att automatiskt välja de flyttrader som " +"matchar ovanstående kriterier eller klicka på Add an item för att manuellt " +"välja de flyttrader som filtrerats enligt ovanstående kriterier." #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__communication @@ -271,7 +283,7 @@ msgstr "Kommunikationstyp" #: code:addons/account_payment_order/models/account_payment_line.py:0 #, python-format msgid "Communication is empty on payment line %s." -msgstr "" +msgstr "Meddelandet är tomt på betalningsraden %s." #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__company_id @@ -303,12 +315,12 @@ msgstr "Skapa" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form msgid "Create Payment Lines" -msgstr "" +msgstr "Skapa betalningsrader" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_form msgid "Create Payment Lines from Journal Items" -msgstr "" +msgstr "Skapa betalningsrader från journalposter" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form @@ -318,18 +330,19 @@ msgstr "Skapa transaktioner" #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_create_action msgid "Create Transactions from Move Lines" -msgstr "" +msgstr "Skapa transaktioner från flyttrader" #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_invoice_payment_line_multi msgid "Create payment lines from invoice tree view" -msgstr "" +msgstr "Skapa betalningsrader från fakturans trädvy" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_invoice_payment_line_multi__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Skapad av" @@ -339,6 +352,7 @@ msgstr "Skapad av" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Skapad den" @@ -378,13 +392,14 @@ msgstr "Beskrivning" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_mode__no_debit_before_maturity msgid "Disallow Debit Before Maturity Date" -msgstr "" +msgstr "Tillåt inte debitering före förfallodagen" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_invoice_payment_line_multi__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "Visningsnamn" @@ -397,7 +412,7 @@ msgstr "Utkast" #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_date_type__due msgid "Due" -msgstr "" +msgstr "Förfallodag" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__ml_maturity_date @@ -456,7 +471,7 @@ msgstr "Följare (Partners)" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__activity_type_icon msgid "Font awesome icon e.g. fa-tasks" -msgstr "" +msgstr "Font awesome-ikon, t.ex. fa-tasks" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__bank_account_link @@ -469,6 +484,13 @@ msgid "" "will select the bank account on the payment order. If your company only has " "one bank account, you should always select 'Fixed'." msgstr "" +"För betalningssätt som alltid är kopplade till samma bankkonto i ditt " +"företag (t.ex. banköverföring från kunder eller SEPA-autogiro från " +"leverantörer) ska du välja \"Fast\". För betalningssätt som inte alltid är " +"kopplade till samma bankkonto (t.ex. SEPA-autogiro för kunder, " +"banköverföring till leverantörer) ska du välja \"Variabel\", vilket innebär " +"att du väljer bankkonto på betalningsordern. Om ditt företag bara har ett " +"bankkonto ska du alltid välja \"Fast\"." #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__normal @@ -508,25 +530,26 @@ msgstr "Gruppera transaktioner i betalningsordrar" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__has_message msgid "Has Message" -msgstr "" +msgstr "Har meddelande" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_invoice_payment_line_multi__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "Ikon" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__activity_exception_icon msgid "Icon to indicate an exception activity." -msgstr "" +msgstr "Ikon för att indikera en undantagsaktivitet." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction @@ -535,7 +558,6 @@ msgstr "Om den är ikryssad behöver nya meddelanden din uppmärksamhet." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Om den är ikryssad har vissa meddelanden ett leveransfel." @@ -552,6 +574,15 @@ msgid "" "and if the 'Communication Type' is 'Free'\n" "(other modules can set additional fields to restrict the grouping.)" msgstr "" +"Om denna markering är markerad kommer betalningsorderns transaktionsrader " +"att grupperas vid bekräftelse av betalningsordern. Grupperingen kommer " +"endast att göras om följande fält stämmer överens:\n" +"* Partner\n" +"* Valuta\n" +"* Destinationens bankkonto\n" +"* Betalningsdatum\n" +"och om \"Kommunikationstyp\" är \"Gratis\n" +"(andra moduler kan ställa in ytterligare fält för att begränsa grupperingen)." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_mode__no_debit_before_maturity @@ -560,6 +591,9 @@ msgid "" "error message when you confirm a debit order that has a payment line with a " "payment date before the maturity date." msgstr "" +"Om du aktiverar detta alternativ för ett Inkommande betalningsläge kommer du " +"att få ett felmeddelande när du bekräftar en debiteringsorder som har en " +"betalningsrad med en betalningsdag före förfallodagen." #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_date_prefered__now @@ -585,12 +619,12 @@ msgstr "Fakturans referens" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_is_follower msgid "Is Follower" -msgstr "" +msgstr "Är följare" #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_journal msgid "Journal" -msgstr "Journal" +msgstr "Verifikat" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__move_ids @@ -607,7 +641,7 @@ msgstr "Verifikat" #: model:ir.model,name:account_payment_order.model_account_move_line #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__move_line_id msgid "Journal Item" -msgstr "" +msgstr "Tidskriftsartikel" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__journal_ids @@ -635,6 +669,7 @@ msgstr "Betalningens etikett som kommer att ses av mottagaren" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Senast uppdaterad av" @@ -643,6 +678,7 @@ msgstr "Senast uppdaterad av" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Senast uppdaterad den" @@ -679,7 +715,7 @@ msgstr "Bankjournal saknas på betalningsorder %s." #: code:addons/account_payment_order/models/account_payment_line.py:0 #, python-format msgid "Missing Partner Bank Account on payment line %s" -msgstr "" +msgstr "Saknar partnerbankkonto på betalningsraden %s" #. module: account_payment_order #. odoo-python @@ -691,28 +727,28 @@ msgstr "Bankkonto saknas på bankjournal '%s'." #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_date_type__move msgid "Move" -msgstr "" +msgstr "Flytta" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__move_date #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__date_type__move msgid "Move Date" -msgstr "" +msgstr "Datum för flytt" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__move_line_domain msgid "Move Line Domain" -msgstr "" +msgstr "Move Line Domän" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__move_line_ids msgid "Move Lines" -msgstr "" +msgstr "Flytta linjer" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__my_activity_date_deadline msgid "My Activity Deadline" -msgstr "" +msgstr "Min aktivitet Deadline" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_search @@ -722,17 +758,17 @@ msgstr "Namn eller beskrivning" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_date_deadline msgid "Next Activity Deadline" -msgstr "" +msgstr "Deadline för nästa aktivitet" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_summary msgid "Next Activity Summary" -msgstr "" +msgstr "Nästa Aktivitet Sammanfattning" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_type_id msgid "Next Activity Type" -msgstr "" +msgstr "Nästa aktivitetstyp" #. module: account_payment_order #. odoo-python @@ -742,6 +778,8 @@ msgid "" "No Payment Line created for invoice %s because its payment mode is not " "intended for payment orders." msgstr "" +"Ingen Betalningsrad skapad för fakturan %s eftersom dess betalningssätt inte " +"är avsett för betalningsorder." #. module: account_payment_order #. odoo-python @@ -758,18 +796,20 @@ msgid "" "No handler for this payment method. Maybe you haven't installed the related " "Odoo module." msgstr "" +"Ingen hanterare för den här betalningsmetoden. Kanske har du inte " +"installerat den relaterade Odoo-modulen." #. module: account_payment_order #. odoo-python #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "No pending AR/AP lines to add on %s" -msgstr "" +msgstr "Inga pågående AR/AP-rader att lägga till på %s" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name msgid "Number" -msgstr "" +msgstr "Antal" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_needaction_counter @@ -784,7 +824,7 @@ msgstr "Antal verifikat" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__payment_count msgid "Number of Payment Transactions" -msgstr "" +msgstr "Antal betalningstransaktioner" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_error_counter @@ -794,7 +834,7 @@ msgstr "Antal fel" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter msgid "Number of messages requiring action" -msgstr "" +msgstr "Antal meddelanden som kräver åtgärder" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter @@ -809,6 +849,8 @@ msgid "" "On payment order %(porder)s, the Payment Execution Date is in the past " "(%(exedate)s)." msgstr "" +"För betalningsorder %(porder)s ligger Betalningens genomförandedag i det " +"förflutna (%(exedate)s)." #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_method__payment_order_only @@ -860,7 +902,7 @@ msgstr "Datum för genomförande av betalning" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__date_prefered msgid "Payment Execution Date Type" -msgstr "" +msgstr "Datum för genomförande av betalning Typ" #. module: account_payment_order #. odoo-python @@ -872,13 +914,18 @@ msgstr "Betalfil" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_ids msgid "Payment Line" -msgstr "" +msgstr "Betalningslinje" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_bank_statement_line__payment_line_count #: model:ir.model.fields,field_description:account_payment_order.field_account_move__payment_line_count #: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_count msgid "Payment Line Count" +msgstr "Antal betalningsrader" + +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" msgstr "" #. module: account_payment_order @@ -932,7 +979,7 @@ msgstr "Betalningsorder" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.view_move_form msgid "Payment Order Lines" -msgstr "" +msgstr "Betalningsorderrader" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_bank_statement_line__payment_order_ok @@ -941,6 +988,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "Betalningsorder ok" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,20 +1003,21 @@ msgstr "Betalningsordrar" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "Betalningsreferens" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_form msgid "Payment Transaction" -msgstr "" +msgstr "Betalningstransaktion" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__payment_ids #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_tree msgid "Payment Transactions" -msgstr "" +msgstr "Betalningstransaktioner" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__payment_type @@ -975,12 +1028,12 @@ msgstr "Betalningstyp" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_move_line__payment_line_ids msgid "Payment lines" -msgstr "" +msgstr "Betalningslinjer" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__payment_ids msgid "Payment transaction" -msgstr "" +msgstr "Betalningstransaktion" #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_payment @@ -997,12 +1050,7 @@ msgstr "Referenstyp" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__activity_user_id msgid "Responsible User" -msgstr "" - -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Fel vid leverans av SMS" +msgstr "Ansvarig användare" #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same @@ -1030,12 +1078,12 @@ msgstr "Sök betalningsordrar" #: code:addons/account_payment_order/wizard/account_payment_line_create.py:0 #, python-format msgid "Select Move Lines to Create Transactions" -msgstr "" +msgstr "Välj Flytta rader för att skapa transaktioner" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_mode_form msgid "Select Move Lines to Pay - Default Values" -msgstr "" +msgstr "Välj Flytta rader till betalning - standardvärden" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__date_scheduled @@ -1043,6 +1091,8 @@ msgid "" "Select a requested date of execution if you selected 'Due Date' as the " "Payment Execution Date Type." msgstr "" +"Välj ett önskat datum för genomförande om du har valt \"Förfallodag\" som " +"Typ av datum för genomförande av betalning." #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_mode__payment_order_ok @@ -1053,13 +1103,13 @@ msgstr "Valbar i betalningsordrar" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Selected Move Lines to Create Transactions" -msgstr "" +msgstr "Selected Flytta rader för att skapa transaktioner" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__state #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_search msgid "State" -msgstr "" +msgstr "Stat" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__state @@ -1074,6 +1124,15 @@ msgid "" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" +"Status baserad på aktiviteter\n" +"Försenad: Förfallodatumet har redan passerats\n" +"Idag: Aktivitetsdatumet är idag\n" +"Planerad: Framtida aktiviteter." + +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured @@ -1084,12 +1143,12 @@ msgstr "Strukturerad referens" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__target_move #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_mode__default_target_move msgid "Target Moves" -msgstr "" +msgstr "Målrörelser" #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_report_account_payment_order_print_account_payment_order_main msgid "Technical model for printing payment order" -msgstr "" +msgstr "Teknisk modell för utskrift av betalningsorder" #. module: account_payment_order #. odoo-python @@ -1098,6 +1157,7 @@ msgstr "" msgid "" "The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !" msgstr "" +"Beloppet för partnern \"%(partner)s\" är negativt eller noll (%(amount).2f) !" #. module: account_payment_order #. odoo-python @@ -1106,13 +1166,15 @@ msgstr "" msgid "" "The invoice %(move)s is already added in the payment order(s) %(order)s." msgstr "" +"Fakturan %(move)s är redan tillagd i betalningsordern/betalningsordrarna " +"%(order)s." #. module: account_payment_order #. odoo-python #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "The invoice %s is not in Posted state" -msgstr "" +msgstr "Fakturan %s är inte i bokfört tillstånd" #. module: account_payment_order #. odoo-python @@ -1123,6 +1185,9 @@ msgid "" "Date'. The payment line %(pline)s has a maturity date %(mdate)s which is " "after the computed payment date %(pdate)s." msgstr "" +"Betalningssättet \"%(pmode)s\" har alternativet \"Avvisa debitering före " +"förfallodagen\". Betalningsraden %(pline)s har en förfallodag %(mdate)s som " +"ligger efter den beräknade betalningsdagen %(pdate)s." #. module: account_payment_order #. odoo-python @@ -1132,20 +1197,22 @@ msgid "" "The payment type (%(ptype)s) is not the same as the payment type of the " "payment mode (%(pmode)s)" msgstr "" +"Betalningstypen (%(ptype)s) är inte densamma som betalningstypen för " +"betalningssättet (%(pmode)s)" #. module: account_payment_order #. odoo-python #: code:addons/account_payment_order/models/account_payment_order.py:0 #, python-format msgid "There are no transactions on payment order %s." -msgstr "" +msgstr "Det finns inga transaktioner på betalningsorder %s." #. module: account_payment_order #. odoo-python #: code:addons/account_payment_order/models/account_payment_order.py:0 #, python-format msgid "There's at least one validation error:\n" -msgstr "" +msgstr "Det finns minst ett valideringsfel:\n" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_line__ml_maturity_date @@ -1153,6 +1220,8 @@ msgid "" "This field is used for payable and receivable journal entries. You can put " "the limit date for the payment of this line." msgstr "" +"Detta fält används för verifikat för skulder och fordringar. Du kan ange " +"gränsdatum för betalning av denna rad." #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_method__payment_order_only @@ -1160,11 +1229,13 @@ msgid "" "This option helps enforcing the use of payment orders for some payment " "methods." msgstr "" +"Detta alternativ hjälper till att genomdriva användningen av betalningsorder " +"för vissa betalningsmetoder." #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form msgid "This wizard will create payment lines for the selected invoices:" -msgstr "" +msgstr "Denna guide skapar betalningsrader för de valda fakturorna:" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document @@ -1175,17 +1246,17 @@ msgstr "Totalt (valuta)" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__total_company_currency #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_tree msgid "Total Company Currency" -msgstr "" +msgstr "Summa Företagets valuta" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Total Residual" -msgstr "" +msgstr "Totalt återstående" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree msgid "Total in Company Currency" -msgstr "" +msgstr "Totalt i företagets valuta" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__payment_line_ids @@ -1202,27 +1273,37 @@ msgstr "Typ av datumfilter" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__activity_exception_decoration msgid "Type of the exception activity on record." +msgstr "Typ av undantagsaktivitet som registreras." + +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" msgstr "" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" -msgstr "" +msgstr "Datum för värde" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" -msgstr "" +msgstr "Webbplatsmeddelanden" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__website_message_ids msgid "Website communication history" -msgstr "" +msgstr "Webbplatsens kommunikationshistorik" #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_payment_line_create msgid "Wizard to create payment lines" -msgstr "" +msgstr "Guide för att skapa betalningsrader" #. module: account_payment_order #. odoo-python @@ -1241,16 +1322,24 @@ msgid "" "if there are existing draft payment orders for the payment modes of the " "invoices, the payment lines will be added to those payment orders" msgstr "" +"om det finns befintliga utkast till betalningsorder för fakturornas " +"betalningssätt kommer betalningsraderna att läggas till i dessa " +"betalningsorder" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "on" -msgstr "" +msgstr "på" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form msgid "otherwise, new payment orders will be created (one per payment mode)." msgstr "" +"i annat fall kommer nya betalningsuppdrag att skapas (ett per " +"betalningssätt)." + +#~ msgid "SMS Delivery error" +#~ msgstr "Fel vid leverans av SMS" #~ msgid "Last Modified on" #~ msgstr "Senast modifierad den" diff --git a/account_payment_order/i18n/th.po b/account_payment_order/i18n/th.po index 44180dd..7e23534 100644 --- a/account_payment_order/i18n/th.po +++ b/account_payment_order/i18n/th.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "ยกเลิก" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -339,6 +341,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -643,6 +648,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/tr.po b/account_payment_order/i18n/tr.po index 1ce5b1b..3c87ab5 100644 --- a/account_payment_order/i18n/tr.po +++ b/account_payment_order/i18n/tr.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Vazgeç" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "Oluşturan" @@ -339,6 +341,7 @@ msgstr "Oluşturan" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "Oluşturuldu" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "ID" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "Son güncelleyen" @@ -643,6 +648,7 @@ msgstr "Son güncelleyen" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "Son güncelleme" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/i18n/vi.po b/account_payment_order/i18n/vi.po index ee9a6d7..9faf4e8 100644 --- a/account_payment_order/i18n/vi.po +++ b/account_payment_order/i18n/vi.po @@ -235,6 +235,7 @@ msgstr "" #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__cancel #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form msgid "Cancel" msgstr "Hủy bỏ" @@ -330,6 +331,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_uid #: model_terms:ir.ui.view,arch_db:account_payment_order.view_attachment_simplified_form msgid "Created by" msgstr "" @@ -339,6 +341,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__create_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__create_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__create_date msgid "Created on" msgstr "" @@ -385,6 +388,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__display_name msgid "Display Name" msgstr "" @@ -515,6 +519,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__id #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__id +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__id msgid "ID" msgstr "" @@ -535,7 +540,6 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error -#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -635,6 +639,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_uid #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_uid +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_uid msgid "Last Updated by" msgstr "" @@ -643,6 +648,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__write_date #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__write_date +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__write_date msgid "Last Updated on" msgstr "" @@ -881,6 +887,11 @@ msgstr "" msgid "Payment Line Count" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__payment_line_date +msgid "Payment Line Date" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_line_action #: model:ir.model,name:account_payment_order.model_account_payment_line @@ -941,6 +952,11 @@ msgstr "" msgid "Payment Order Ok" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state +msgid "Payment Order State" +msgstr "" + #. module: account_payment_order #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action #: model:ir.ui.menu,name:account_payment_order.account_payment_order_outbound_menu @@ -951,6 +967,7 @@ msgstr "" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__name +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_update__payment_reference msgid "Payment Reference" msgstr "" @@ -999,11 +1016,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: account_payment_order -#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line_create__payment_mode__same #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_mode__default_payment_mode__same @@ -1075,6 +1087,11 @@ msgid "" "Planned: Future activities." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_line__communication_type__structured +msgid "Structured" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_move__reference_type__structured msgid "Structured Reference" @@ -1204,6 +1221,16 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: account_payment_order +#. odoo-python +#: code:addons/account_payment_order/models/account_payment.py:0 +#: model:ir.model,name:account_payment_order.model_account_payment_update +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_update_view_form +#: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order +#, python-format +msgid "Update Payment Reference" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document msgid "Value Date" diff --git a/account_payment_order/models/account_move.py b/account_payment_order/models/account_move.py index a330232..10ee812 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -50,9 +50,7 @@ class AccountMove(models.Model): """Retrieve the communication string for this direct item.""" communication = self.payment_reference or self.ref or self.name if self.is_invoice(): - if (self.reference_type or "none") != "none": - communication = self.ref - elif self.is_purchase_document(): + if self.is_purchase_document(): communication = self.ref or self.payment_reference else: communication = self.payment_reference or self.name @@ -234,3 +232,12 @@ class AccountMove(models.Model): } ) return action + + @api.model + def _get_invoice_in_payment_state(self): + """Called from _compute_payment_state method. + Consider in_payment all the moves that are included in a payment order. + """ + if self.line_ids.payment_line_ids: + return "in_payment" + return super()._get_invoice_in_payment_state() diff --git a/account_payment_order/models/account_payment.py b/account_payment_order/models/account_payment.py index f4c68cb..24e11f0 100644 --- a/account_payment_order/models/account_payment.py +++ b/account_payment_order/models/account_payment.py @@ -1,8 +1,10 @@ # Copyright 2019 ACSONE SA/NV # Copyright 2022 Tecnativa - Pedro M. Baeza +# Copyright 2023 Noviat +# Copyright 2024 Tecnativa - Víctor Martínez # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from flectra import api, fields, models +from flectra import _, api, fields, models class AccountPayment(models.Model): @@ -10,6 +12,10 @@ class AccountPayment(models.Model): payment_order_id = fields.Many2one(comodel_name="account.payment.order") payment_line_ids = fields.Many2many(comodel_name="account.payment.line") + order_state = fields.Selection( + related="payment_order_id.state", string="Payment Order State" + ) + payment_line_date = fields.Date(compute="_compute_payment_line_date") @api.depends("payment_type", "journal_id") def _compute_payment_method_line_fields(self): @@ -33,3 +39,47 @@ class AccountPayment(models.Model): ) ) return res + + @api.depends("payment_line_ids", "payment_line_ids.date") + def _compute_payment_line_date(self): + for item in self: + item.payment_line_date = item.payment_line_ids[:1].date + + @api.depends("payment_line_ids") + def _compute_partner_bank_id(self): + # Force the payment line bank account. The grouping function has already + # assured that there's no more than one bank account in the group + order_pays = self.filtered("payment_line_ids") + for pay in order_pays: + pay.partner_bank_id = pay.payment_line_ids.partner_bank_id + return super(AccountPayment, self - order_pays)._compute_partner_bank_id() + + def update_payment_reference(self): + view = self.env.ref("account_payment_order.account_payment_update_view_form") + return { + "name": _("Update Payment Reference"), + "view_type": "form", + "view_mode": "form", + "res_model": "account.payment.update", + "view_id": view.id, + "target": "new", + "type": "ir.actions.act_window", + "context": dict( + self.env.context, default_payment_reference=self.payment_reference + ), + } + + def _prepare_move_line_default_vals( + self, write_off_line_vals=None, force_balance=None + ): + """Overwrite date_maturity of the move_lines that are generated when related + to a payment order. + """ + vals_list = super()._prepare_move_line_default_vals( + write_off_line_vals=write_off_line_vals, force_balance=force_balance + ) + if not self.payment_order_id: + return vals_list + for vals in vals_list: + vals["date_maturity"] = self.payment_line_ids[0].date + return vals_list diff --git a/account_payment_order/models/account_payment_line.py b/account_payment_order/models/account_payment_line.py index 782ba0f..59ca0ab 100644 --- a/account_payment_order/models/account_payment_line.py +++ b/account_payment_order/models/account_payment_line.py @@ -78,7 +78,9 @@ class AccountPaymentLine(models.Model): required=False, help="Label of the payment that will be seen by the destinee" ) communication_type = fields.Selection( - selection=[("normal", "Free")], required=True, default="normal" + selection=[("normal", "Free"), ("structured", "Structured")], + required=True, + default="normal", ) payment_ids = fields.Many2many( comodel_name="account.payment", @@ -186,13 +188,14 @@ class AccountPaymentLine(models.Model): payment lines. """ journal = self.order_id.journal_id + payment_mode = self.order_id.payment_mode_id vals = { "payment_type": self.order_id.payment_type, "partner_id": self.partner_id.id, "destination_account_id": self.move_line_id.account_id.id, "company_id": self.order_id.company_id.id, "amount": sum(self.mapped("amount_currency")), - "date": self[:1].date, + "date": fields.Date.today(), "currency_id": self.currency_id.id, "ref": self.order_id.name, # Put the name as the wildcard for forcing a unique name. If not, Flectra gets @@ -207,11 +210,7 @@ class AccountPaymentLine(models.Model): # Determine payment method line according payment method and journal line = self.env["account.payment.method.line"].search( [ - ( - "payment_method_id", - "=", - self.order_id.payment_mode_id.payment_method_id.id, - ), + ("payment_method_id", "=", payment_mode.payment_method_id.id), ("journal_id", "=", journal.id), ], limit=1, diff --git a/account_payment_order/security/ir.model.access.csv b/account_payment_order/security/ir.model.access.csv index d23d69a..2a50d11 100644 --- a/account_payment_order/security/ir.model.access.csv +++ b/account_payment_order/security/ir.model.access.csv @@ -6,3 +6,4 @@ base.access_res_partner_bank_group_partner_manager,Full access on res.partner.ba base.access_res_bank_group_partner_manager,Full access on res.bank to Account Payment group,base.model_res_bank,group_account_payment,1,1,1,1 access_account_payment_line_create,access_account_payment_line_create,model_account_payment_line_create,group_account_payment,1,1,1,1 access_account_invoice_payment_line_multi,access_account_invoice_payment_line_multi,model_account_invoice_payment_line_multi,group_account_payment,1,1,1,1 +access_account_payment_update,access_account_payment_update,model_account_payment_update,group_account_payment,1,1,1,1 diff --git a/account_payment_order/static/description/index.html b/account_payment_order/static/description/index.html index 55ceb9d..02d0549 100644 --- a/account_payment_order/static/description/index.html +++ b/account_payment_order/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:ef69b414923510a1c477b1118ce824a04e73d903abaaf2335a0d249b099750d2 +!! source digest: sha256:196afa2e536865ee1643cc5d8f33a45696659a90d0bdd11ae3a6ab87a961bbd2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds support for payment orders and debit orders.

@@ -472,7 +473,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_payment_order/tests/test_bank.py b/account_payment_order/tests/test_bank.py index e022011..3d9abd0 100644 --- a/account_payment_order/tests/test_bank.py +++ b/account_payment_order/tests/test_bank.py @@ -4,8 +4,15 @@ from flectra.exceptions import ValidationError from flectra.tests.common import TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestBank(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) + def test_bank(self): bank = self.env["res.bank"].search([], limit=1) self.assertTrue(bank) diff --git a/account_payment_order/tests/test_payment_mode.py b/account_payment_order/tests/test_payment_mode.py index 2067a9e..507a3d1 100644 --- a/account_payment_order/tests/test_payment_mode.py +++ b/account_payment_order/tests/test_payment_mode.py @@ -18,8 +18,8 @@ class TestPaymentMode(TransactionCase): AccountPaymentMethod._get_payment_method_information ) - def _get_payment_method_information(self): - res = Method_get_payment_method_information(self) + def _get_payment_method_information(cls): + res = Method_get_payment_method_information(cls) res["IN"] = {"mode": "multi", "domain": [("type", "=", "bank")]} res["IN2"] = {"mode": "multi", "domain": [("type", "=", "bank")]} res["electronic_out"] = {"mode": "multi", "domain": [("type", "=", "bank")]} diff --git a/account_payment_order/tests/test_payment_order_inbound.py b/account_payment_order/tests/test_payment_order_inbound.py index d9fd6c0..626e937 100644 --- a/account_payment_order/tests/test_payment_order_inbound.py +++ b/account_payment_order/tests/test_payment_order_inbound.py @@ -1,10 +1,12 @@ # Copyright 2017 Camptocamp SA # Copyright 2017 Creu Blanca # Copyright 2019-2022 Tecnativa - Pedro M. Baeza +# Copyright 2024 Tecnativa - Víctor Martínez # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - from datetime import date, timedelta +from freezegun import freeze_time + from flectra.exceptions import UserError, ValidationError from flectra.tests import tagged from flectra.tests.common import Form @@ -75,6 +77,7 @@ class TestPaymentOrderInboundBase(AccountTestInvoicingCommon): invoice_line_form.price_unit = 100.0 invoice_line_form.account_id = self.invoice_line_account invoice_line_form.tax_ids.clear() + invoice_form.reference_type = "structured" invoice = invoice_form.save() invoice_form = Form(invoice) invoice_form.payment_mode_id = self.inbound_mode @@ -112,27 +115,74 @@ class TestPaymentOrderInbound(TestPaymentOrderInboundBase): def test_creation(self): payment_order = self.inbound_order self.assertEqual(len(payment_order.ids), 1) - payment_order.write({"journal_id": self.journal.id}) - self.assertEqual(len(payment_order.payment_line_ids), 1) self.assertFalse(payment_order.payment_ids) - # Open payment order payment_order.draft2open() - self.assertEqual(payment_order.payment_count, 1) - # Generate and upload payment_order.open2generated() payment_order.generated2uploaded() - self.assertEqual(payment_order.state, "uploaded") + self.assertEqual(self.invoice.payment_state, "in_payment") with self.assertRaises(UserError): payment_order.unlink() - + # Cancel order payment_order.action_uploaded_cancel() self.assertEqual(payment_order.state, "cancel") payment_order.cancel2draft() payment_order.unlink() self.assertEqual(len(self.payment_order_obj.search(self.domain)), 0) + + @freeze_time("2024-04-01") + def test_creation_transfer_move_date_01(self): + self.inbound_order.date_prefered = "fixed" + self.inbound_order.date_scheduled = "2024-06-01" + self.inbound_order.draft2open() + payment = self.inbound_order.payment_ids + self.assertEqual(payment.payment_line_date, date(2024, 6, 1)) + payment_move = payment.move_id + self.assertEqual(payment_move.date, date(2024, 4, 1)) # now + self.assertEqual( + payment_move.line_ids.mapped("date_maturity"), + [date(2024, 6, 1), date(2024, 6, 1)], + ) + self.assertEqual(self.inbound_order.payment_count, 1) + self.inbound_order.open2generated() + self.inbound_order.generated2uploaded() + self.assertEqual(self.inbound_order.state, "uploaded") + payment = self.inbound_order.payment_ids + self.assertEqual(payment.payment_line_date, date(2024, 6, 1)) + payment_move = payment.move_id + self.assertEqual(payment_move.date, date(2024, 4, 1)) # now + self.assertEqual( + payment_move.line_ids.mapped("date_maturity"), + [date(2024, 6, 1), date(2024, 6, 1)], + ) + + @freeze_time("2024-04-01") + def test_creation_transfer_move_date_02(self): + # Simulate that the invoice had a different due date + self.inbound_order.payment_line_ids.ml_maturity_date = "2024-06-01" + self.inbound_order.draft2open() + payment = self.inbound_order.payment_ids + self.assertEqual(payment.payment_line_date, date(2024, 6, 1)) + payment_move = payment.move_id + self.assertEqual(payment_move.date, date(2024, 4, 1)) # now + self.assertEqual( + payment_move.line_ids.mapped("date_maturity"), + [date(2024, 6, 1), date(2024, 6, 1)], + ) + self.assertEqual(self.inbound_order.payment_count, 1) + self.inbound_order.open2generated() + self.inbound_order.generated2uploaded() + self.assertEqual(self.inbound_order.state, "uploaded") + payment = self.inbound_order.payment_ids + self.assertEqual(payment.payment_line_date, date(2024, 6, 1)) + payment_move = payment.move_id + self.assertEqual(payment_move.date, date(2024, 4, 1)) # now + self.assertEqual( + payment_move.line_ids.mapped("date_maturity"), + [date(2024, 6, 1), date(2024, 6, 1)], + ) diff --git a/account_payment_order/tests/test_payment_order_outbound.py b/account_payment_order/tests/test_payment_order_outbound.py index 35eb996..4891ed6 100644 --- a/account_payment_order/tests/test_payment_order_outbound.py +++ b/account_payment_order/tests/test_payment_order_outbound.py @@ -203,6 +203,7 @@ class TestPaymentOrderOutbound(TestPaymentOrderOutboundBase): line_created_due.create_payment_lines() self.assertGreater(len(order.payment_line_ids), 0) order.draft2open() + self.assertEqual(order.payment_ids[0].partner_bank_id, self.partner.bank_ids) order.open2generated() order.generated2uploaded() self.assertEqual(order.move_ids[0].date, order.payment_ids[0].date) @@ -339,8 +340,7 @@ class TestPaymentOrderOutbound(TestPaymentOrderOutboundBase): outbound_order.draft2open() self.assertEqual(outbound_order.payment_count, 2) self.assertEqual( - outbound_order.payment_line_ids[0].date, - outbound_order.payment_line_ids[0].payment_ids.date, + outbound_order.payment_line_ids[0].payment_ids.date, fields.Date.today() ) self.assertEqual(outbound_order.payment_line_ids[1].date, date.today()) self.assertEqual( diff --git a/account_payment_order/views/account_payment_line.xml b/account_payment_order/views/account_payment_line.xml index d588856..449a3e6 100644 --- a/account_payment_order/views/account_payment_line.xml +++ b/account_payment_order/views/account_payment_line.xml @@ -19,7 +19,7 @@ domain="[('reconciled','=', False), ('account_id.reconcile', '=', True)] " /> - + diff --git a/account_payment_order/views/account_payment_views.xml b/account_payment_order/views/account_payment_views.xml index afc09fb..edafc25 100644 --- a/account_payment_order/views/account_payment_views.xml +++ b/account_payment_order/views/account_payment_views.xml @@ -8,6 +8,14 @@ + + +
+ + + diff --git a/account_payment_order_notification/COPYRIGHT b/account_payment_order_notification/COPYRIGHT new file mode 100644 index 0000000..b363f21 --- /dev/null +++ b/account_payment_order_notification/COPYRIGHT @@ -0,0 +1,15 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2022 Tecnativa - Víctor Martínez + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/account_payment_order_notification/LICENSE b/account_payment_order_notification/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/account_payment_order_notification/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/account_payment_order_notification/README.rst b/account_payment_order_notification/README.rst new file mode 100644 index 0000000..03656c4 --- /dev/null +++ b/account_payment_order_notification/README.rst @@ -0,0 +1,132 @@ +================================== +Account Payment Order Notification +================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f32b3026014c1e7846925c33e5339fb679fffbd176a7446f1e7c0407d8d5a988 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/17.0/account_payment_order_notification + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_order_notification + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a button on debit / payment orders to send an email to +each related partner with the details of their transactions. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +1. Go to *Invoicing > Configuration > Payment Modes* and create a + payment mode, if you wish. + +2. Go to *Invoicing > Customers > Customers* and create a new record as + follows: + + - Name: Test customer 1 + - Email: customer1@test.com + +3. Go to *Invoicing > Customers > Customers* and create a new record as + follows: + + - Name: Test customer 2 + - Email: (empty) + +Usage +===== + +1. Go to *Invoicing > Customers > Invoices* and create one or more + invoices linked to the payment mode. +2. Go to *Invoicing > Customers > Invoices* select the invoices created + and execute the action called "Post entries". +3. Go to *Invoicing > Customers > Invoices* select the invoices created + and execute the action called "Add to Payment/Debit Order" and + create a payment order. +4. Click on "Confirm Payments" button. +5. Click on "Generate Payment File" button. +6. Click on "File Successfully Uploaded" button. +7. Click on "Send mails" button. +8. Any involved partner with no email will appear with the column "To + send" not checked. +9. Click on "Confirm" button. +10. An email will have been sent to the selected partners. +11. A reminder note will have been created. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Víctor Martínez + - Pedro M. Baeza + +- `APSL-Nagarro `__: + + - Antoni Marroig + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px + :target: https://github.com/victoralmau + :alt: victoralmau + +Current `maintainer `__: + +|maintainer-victoralmau| + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/account_payment_order_notification/__init__.py b/account_payment_order_notification/__init__.py new file mode 100644 index 0000000..9b42961 --- /dev/null +++ b/account_payment_order_notification/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizard diff --git a/account_payment_order_notification/__manifest__.py b/account_payment_order_notification/__manifest__.py new file mode 100644 index 0000000..ac4b512 --- /dev/null +++ b/account_payment_order_notification/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Account Payment Order Notification", + "version": "3.0.1.0.0", + "category": "Banking addons", + "website": "https://gitlab.com/flectra-community/bank-payment", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["account_payment_order"], + "installable": True, + "data": [ + "security/ir.model.access.csv", + "data/mail_template_data.xml", + "wizard/wizard_account_payment_order_notification_views.xml", + "views/account_payment_order_view.xml", + "views/account_payment_order_notification_view.xml", + ], + "maintainers": ["victoralmau"], +} diff --git a/account_payment_order_notification/data/mail_template_data.xml b/account_payment_order_notification/data/mail_template_data.xml new file mode 100644 index 0000000..d43cf8c --- /dev/null +++ b/account_payment_order_notification/data/mail_template_data.xml @@ -0,0 +1,83 @@ + + + + Payment Order Notification: Send by email + + {{ object.company_id.email_formatted or user.email_formatted }} + {{ object.partner_id.id }} + {{ object.company_id.name }} Payment Order (Ref {{ object.order_id.name or 'n/a' }}) + +
+

Hello Brandon Freeman,

+ +

A debit order including at least one of your invoices has been processed and + sent to the bank.

+
+ +

A payment order including at least one of your invoices has been processed + and sent to the bank.

+
+

It includes the following transactions:

+ + + + + + + + + + + + + + + + + +
NumberDateAmount
+ + PY000 + + + Email + + + + + $ + 1000 +
+

Do not hesitate to contact us if you have any questions.

+
+
+ {{object.partner_id.lang}} + +
+
diff --git a/account_payment_order_notification/i18n/account_payment_order_notification.pot b/account_payment_order_notification/i18n/account_payment_order_notification.pot new file mode 100644 index 0000000..793698c --- /dev/null +++ b/account_payment_order_notification/i18n/account_payment_order_notification.pot @@ -0,0 +1,318 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_order_notification +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_payment_order_notification +#: model:mail.template,body_html:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"
\n" +"

Hello Brandon Freeman,

\n" +" \n" +"

A debit order including at least one of your invoices has been processed and\n" +" sent to the bank.

\n" +"
\n" +" \n" +"

A payment order including at least one of your invoices has been processed\n" +" and sent to the bank.

\n" +"
\n" +"

It includes the following transactions:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumberDateAmount
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

Do not hesitate to contact us if you have any questions.

\n" +"
\n" +" " +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Cancel" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__company_id +msgid "Company" +msgstr "" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Confirm" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_uid +msgid "Created by" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_date +msgid "Created on" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__display_name +msgid "Display Name" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__email +msgid "Email" +msgstr "" + +#. module: account_payment_order_notification +#. odoo-python +#: code:addons/account_payment_order_notification/models/account_payment_order.py:0 +#, python-format +msgid "Email has been sent to the following partners: %s" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Group By" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__has_message +msgid "Has Message" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__id +msgid "ID" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__line_ids +msgid "Lines" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__mail_template_id +msgid "Mail Template" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_ids +msgid "Messages" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_count +msgid "Notification count" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_ids +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Notifications" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of messages requiring action" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__order_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__order_id +msgid "Order" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__parent_id +msgid "Parent" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__partner_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__partner_id +msgid "Partner" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__payment_line_ids +msgid "Payment Line" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Payment Order" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order_notification +msgid "Payment Order Notification" +msgstr "" + +#. module: account_payment_order_notification +#: model:mail.template,name:account_payment_order_notification.email_account_payment_order_notification +msgid "Payment Order Notification: Send by email" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.account_payment_order_notification_action +msgid "Payment Order Notifications" +msgstr "" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Send mails" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.wizard_account_payment_order_notification_action +msgid "Send notifications" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__to_send +msgid "To send" +msgstr "" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_form +msgid "Transactions" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification +msgid "Wizard Account Payment Order Notification" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification_line +msgid "Wizard Account Payment Order Notification Line" +msgstr "" + +#. module: account_payment_order_notification +#: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"{{ object.company_id.name }} Payment Order (Ref {{ object.order_id.name or " +"'n/a' }})" +msgstr "" diff --git a/account_payment_order_notification/i18n/es.po b/account_payment_order_notification/i18n/es.po new file mode 100644 index 0000000..110d39a --- /dev/null +++ b/account_payment_order_notification/i18n/es.po @@ -0,0 +1,600 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_order_notification +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-22 15:35+0000\n" +"PO-Revision-Date: 2023-09-20 20:03+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_payment_order_notification +#: model:mail.template,body_html:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"
\n" +"

Hello Brandon " +"Freeman,

\n" +" \n" +"

A debit order including at least one of your invoices " +"has been processed and\n" +" sent to the bank.

\n" +"
\n" +" \n" +"

A payment order including at least one of your " +"invoices has been processed\n" +" and sent to the bank.

\n" +"
\n" +"

It includes the following transactions:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumberDateAmount
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

Do not hesitate to contact us if you have any questions.\n" +"

\n" +" " +msgstr "" +"
\n" +"

Hello Brandon " +"Freeman,

\n" +" \n" +"

Se ha tramitado una orden de adeudo que incluye al " +"menos una de sus facturas y\n" +" y enviado al banco.

\n" +"
\n" +" \n" +"

Se ha tramitado una orden de pago que incluye al " +"menos una de sus facturas\n" +" y enviado al banco .

\n" +"
\n" +"

Incluye las siguientes transacciones:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NúmeroFechaImporte
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

No dude en ponerse en contacto con nosotros si tiene " +"alguna pregunta.

\n" +"
\n" +" " + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "Action Needed" +msgstr "Acción necesaria" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_attachment_count +msgid "Attachment Count" +msgstr "Total de adjuntos" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__company_id +msgid "Company" +msgstr "Compañía" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Confirm" +msgstr "Confirmar" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__email +msgid "Email" +msgstr "Email" + +#. module: account_payment_order_notification +#. odoo-python +#: code:addons/account_payment_order_notification/models/account_payment_order.py:0 +#, python-format +msgid "Email has been sent to the following partners: %s" +msgstr "Se ha enviado un correo electrónico a las siguientes empresas: %s" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_follower_ids +msgid "Followers" +msgstr "Seguidores" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_partner_ids +msgid "Followers (Partners)" +msgstr "Seguidores (Socios)" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Group By" +msgstr "Agrupar por" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__has_message +msgid "Has Message" +msgstr "Tiene mensaje" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__id +msgid "ID" +msgstr "ID" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "If checked, new messages require your attention." +msgstr "Si está marcado, hay nuevos mensajes que requieren de su atención." + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "Si está marcado, hay mensajes que tienen error de entrega." + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_is_follower +msgid "Is Follower" +msgstr "Es seguidor" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_uid +msgid "Last Updated by" +msgstr "Última modificación por" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__line_ids +msgid "Lines" +msgstr "Líneas" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__mail_template_id +msgid "Mail Template" +msgstr "Plantilla de email" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "Message Delivery error" +msgstr "Mensaje de error de entrega" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_ids +msgid "Messages" +msgstr "Mensajes" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_count +msgid "Notification count" +msgstr "Enviar notificaciones" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_ids +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Notifications" +msgstr "Enviar notificaciones" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of Actions" +msgstr "Número de acciones" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of errors" +msgstr "Número de errores" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of messages requiring action" +msgstr "Número de mensajes que requieren una acción" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "Nº de mensajes con error de entrega" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__order_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__order_id +msgid "Order" +msgstr "Pedido" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__parent_id +msgid "Parent" +msgstr "Padre" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__partner_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__partner_id +msgid "Partner" +msgstr "Empresa" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__payment_line_ids +msgid "Payment Line" +msgstr "Orden de pago" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Payment Order" +msgstr "Orden de pago" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order_notification +msgid "Payment Order Notification" +msgstr "Enviar notificaciones" + +#. module: account_payment_order_notification +#: model:mail.template,name:account_payment_order_notification.email_account_payment_order_notification +msgid "Payment Order Notification: Send by email" +msgstr "Notificación de orden de pago: Enviar por correo electrónico" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.account_payment_order_notification_action +msgid "Payment Order Notifications" +msgstr "Enviar notificaciones" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Send mails" +msgstr "Enviar emails" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.wizard_account_payment_order_notification_action +msgid "Send notifications" +msgstr "Enviar notificaciones" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__to_send +msgid "To send" +msgstr "A enviar" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_form +msgid "Transactions" +msgstr "Transacciones" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website Messages" +msgstr "Mensajes del sitio web" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website communication history" +msgstr "Historial de comunicación del sitio web" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification +msgid "Wizard Account Payment Order Notification" +msgstr "Ventana de notificación de orden de pago de cuenta" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification_line +msgid "Wizard Account Payment Order Notification Line" +msgstr "Ventana de notificación para línea de orden de pago" + +#. module: account_payment_order_notification +#: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"{{ object.company_id.name }} Payment Order (Ref {{ object.order_id.name or " +"'n/a' }})" +msgstr "" +"{{ object.company_id.name }} Orden de Pago (Ref {{ object.order_id.name or " +"'n/a' }})" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación el" + +#~ msgid "Main Attachment" +#~ msgstr "Adjunto principal" + +#~ msgid "SMS Delivery error" +#~ msgstr "Error de entrega de SMS" + +#~ msgid "Number of messages which requires an action" +#~ msgstr "Nº de mensajes que requieren acción" + +#~ msgid "" +#~ "\n" +#~ "
\n" +#~ "

Hello ${object.partner_id.name or ''},

\n" +#~ " % if object.order_id.payment_type == 'inbound':\n" +#~ "

A debit order including at least one of your invoices has been " +#~ "processed and sent to the bank.

\n" +#~ " % else:\n" +#~ "

A payment order including at least one of your invoices has " +#~ "been processed and sent to the bank.

\n" +#~ " % endif\n" +#~ "

It includes the following transactions:

\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % for payment_line in object.payment_line_ids:\n" +#~ " \n" +#~ " % if payment_line.move_line_id.move_id.move_type in " +#~ "(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id." +#~ "ref:\n" +#~ " \n" +#~ " % else:\n" +#~ " \n" +#~ " % endif\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % endfor\n" +#~ " \n" +#~ "
NumberDateAmount
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${format_date(payment_line.date)}${format_amount(payment_line.amount_currency, " +#~ "payment_line.currency_id)}
\n" +#~ "

Do not hesitate to contact us if you have any questions.

\n" +#~ "
\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ "
\n" +#~ "

Hello ${object.partner_id.name or ''},

\n" +#~ " % if object.order_id.payment_type == 'inbound':\n" +#~ "

Una orden de débito que incluye al menos una de sus facturas " +#~ "ha sidoprocesada y enviada al banco.

\n" +#~ " % else:\n" +#~ "

Una orden de pago que incluye al menos una de sus facturas ha " +#~ "sido procesada y enviada al banco..

\n" +#~ " % endif\n" +#~ "

Incluye las siguientes transacciones:

\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % for payment_line in object.payment_line_ids:\n" +#~ " \n" +#~ " % if payment_line.move_line_id.move_id.move_type in " +#~ "(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id." +#~ "ref:\n" +#~ " \n" +#~ " % else:\n" +#~ " \n" +#~ " % endif\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % endfor\n" +#~ " \n" +#~ "
NúmeroFechaCantidad
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${format_date(payment_line.date)}${format_amount(payment_line.amount_currency, " +#~ "payment_line.currency_id)}
\n" +#~ "

No dude en ponerse en contacto con nosotros si tiene alguna " +#~ "pregunta.

\n" +#~ "
\n" +#~ " " + +#~ msgid "" +#~ "${object.company_id.name} Payment Order (Ref ${object.order_id.name or 'n/" +#~ "a'})" +#~ msgstr "" +#~ "Orden de pago ${object.company_id.name} (Ref ${object.name or 'n/a'})" + +#~ msgid "Followers (Channels)" +#~ msgstr "Seguidores (Canales)" + +#~ msgid "Number of unread messages" +#~ msgstr "Número de mensajes no leídos" + +#~ msgid "Unread Messages" +#~ msgstr "Mensajes no leídos" + +#~ msgid "Unread Messages Counter" +#~ msgstr "Contador de mensajes sin leer" + +#~ msgid "" +#~ "\n" +#~ "
\n" +#~ "

Hello ${object.partner_id.name or ''},

\n" +#~ " % if object.order_id.payment_type == 'inbound':\n" +#~ "

A debit order including at least one of your invoices has been " +#~ "processed and sent to the bank.

\n" +#~ " % else:\n" +#~ "

A payment order including at least one of your invoices has " +#~ "been processed and sent to the bank.

\n" +#~ " % endif\n" +#~ "

It includes the following transactions:

\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % for payment_line in object.payment_line_ids:\n" +#~ " \n" +#~ " % if payment_line.move_line_id.move_id.move_type in " +#~ "(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id." +#~ "ref:\n" +#~ " \n" +#~ " % else:\n" +#~ " \n" +#~ " % endif\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % endfor\n" +#~ " \n" +#~ "
NumberDateAmount
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${payment_line.date}${format_amount(payment_line.amount_currency, " +#~ "payment_line.currency_id)}
\n" +#~ "

Do not hesitate to contact us if you have any questions.

\n" +#~ "
\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ "
\n" +#~ "

Hola ${object.partner_id.name or ''},

\n" +#~ " % if object.order_id.payment_type == 'inbound':\n" +#~ "

Se ha procesado y enviado al banco una orden de débito que " +#~ "incluye al menos una de sus facturas.

\n" +#~ " % else:\n" +#~ "

Se ha procesado y enviado al banco una orden de pago que " +#~ "incluye al menos una de sus facturas.

\n" +#~ " % endif\n" +#~ "

Incluye las siguientes transacciones:

\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % for payment_line in object.payment_line_ids:\n" +#~ " \n" +#~ " % if payment_line.move_line_id.move_id.move_type in " +#~ "(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id." +#~ "ref:\n" +#~ " \n" +#~ " % else:\n" +#~ " \n" +#~ " % endif\n" +#~ " \n" +#~ " \n" +#~ " \n" +#~ " % endfor\n" +#~ " \n" +#~ "
NúmeroFechaImporte
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${payment_line.date}${format_amount(payment_line.amount_currency, " +#~ "payment_line.currency_id)}
\n" +#~ "

No dude en ponerse en contacto con nosotros si tiene alguna " +#~ "pregunta.

\n" +#~ "
\n" +#~ " " diff --git a/account_payment_order_notification/i18n/fr.po b/account_payment_order_notification/i18n/fr.po new file mode 100644 index 0000000..a252e62 --- /dev/null +++ b/account_payment_order_notification/i18n/fr.po @@ -0,0 +1,404 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_order_notification +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-29 12:08+0000\n" +"Last-Translator: Rémi \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_payment_order_notification +#: model:mail.template,body_html:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"
\n" +"

Hello Brandon " +"Freeman,

\n" +" \n" +"

A debit order including at least one of your invoices " +"has been processed and\n" +" sent to the bank.

\n" +"
\n" +" \n" +"

A payment order including at least one of your " +"invoices has been processed\n" +" and sent to the bank.

\n" +"
\n" +"

It includes the following transactions:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumberDateAmount
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

Do not hesitate to contact us if you have any questions.\n" +"

\n" +" " +msgstr "" +"
\n" +"

Bonjour Brandon " +"Freeman,

\n" +" \n" +"

Un ordre de débit comprenant au moins une de vos " +"factures a été traité et envoyé à la banque.

\n" +"
\n" +" \n" +"

Un ordre de paiement incluant au moins une de vos " +"factures a été traité et envoyé à la banque.

\n" +"
\n" +"

Il comprend les abonnés suivants :

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NuméroDateMontant
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $ 1000\n" +"
\n" +"

N'hésitez pas à nous contacter si vous avez des questions." +"

\n" +"
\n" +" " + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "Action Needed" +msgstr "Nécessite une action" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_attachment_count +msgid "Attachment Count" +msgstr "Nombre de pièces jointes" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Cancel" +msgstr "Annuler" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__company_id +msgid "Company" +msgstr "Société" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Confirm" +msgstr "Confirmer" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__email +msgid "Email" +msgstr "Email" + +#. module: account_payment_order_notification +#. odoo-python +#: code:addons/account_payment_order_notification/models/account_payment_order.py:0 +#, python-format +msgid "Email has been sent to the following partners: %s" +msgstr "L'email a été envoyé aux abonnés suivants : %s" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_follower_ids +msgid "Followers" +msgstr "Abonnés" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_partner_ids +msgid "Followers (Partners)" +msgstr "Abonnés (Partenaires)" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Group By" +msgstr "Regrouper par" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__has_message +msgid "Has Message" +msgstr "A un message" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__id +msgid "ID" +msgstr "ID" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "If checked, new messages require your attention." +msgstr "Si coché, de nouveaux messages demandent votre attention." + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "Si coché, certains messages ont une erreur de livraison." + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_is_follower +msgid "Is Follower" +msgstr "Est un abonné" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_uid +msgid "Last Updated by" +msgstr "Mis à jour par" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_date +msgid "Last Updated on" +msgstr "Mis à jour le" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__line_ids +msgid "Lines" +msgstr "Lignes" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__mail_template_id +msgid "Mail Template" +msgstr "Modèle d'email" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "Message Delivery error" +msgstr "Erreur d'envoi du message" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_ids +msgid "Messages" +msgstr "Messages" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_count +msgid "Notification count" +msgstr "Nombre de notifications" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_ids +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Notifications" +msgstr "Notifications" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of Actions" +msgstr "Nombre d'actions" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of errors" +msgstr "Nombre d'erreurs" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of messages requiring action" +msgstr "" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "Nombre de messages avec des erreurs d'envoi" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__order_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__order_id +msgid "Order" +msgstr "Ordre" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__parent_id +msgid "Parent" +msgstr "Parent" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__partner_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__partner_id +msgid "Partner" +msgstr "Partenaire" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__payment_line_ids +msgid "Payment Line" +msgstr "Ligne de paiement" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Payment Order" +msgstr "Ordre de paiement" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order_notification +msgid "Payment Order Notification" +msgstr "Notification d'ordre de paiement" + +#. module: account_payment_order_notification +#: model:mail.template,name:account_payment_order_notification.email_account_payment_order_notification +msgid "Payment Order Notification: Send by email" +msgstr "Notification d'ordre de paiement : Envoi par email" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.account_payment_order_notification_action +msgid "Payment Order Notifications" +msgstr "Notifications d'ordres de paiement" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Send mails" +msgstr "Envoyer des courriers électroniques" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.wizard_account_payment_order_notification_action +msgid "Send notifications" +msgstr "Envoyer des notifications" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__to_send +msgid "To send" +msgstr "À envoyer" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_form +msgid "Transactions" +msgstr "Opérations" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website Messages" +msgstr "Messages du site web" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website communication history" +msgstr "Historique des échanges sur le site Web" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification +msgid "Wizard Account Payment Order Notification" +msgstr "Assistant notification de l'ordre de paiement" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification_line +msgid "Wizard Account Payment Order Notification Line" +msgstr "Assistant ligne de notification de l'ordre de paiement" + +#. module: account_payment_order_notification +#: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"{{ object.company_id.name }} Payment Order (Ref {{ object.order_id.name or " +"'n/a' }})" +msgstr "" +"{{ object.company_id.name }} Ordre de paiement (Réf {{ object.order_id.name " +"or 'n/a' }})" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#~ msgid "Main Attachment" +#~ msgstr "Pièce jointe principale" + +#~ msgid "SMS Delivery error" +#~ msgstr "Erreur d'envoi SMS" + +#~ msgid "Number of messages which requires an action" +#~ msgstr "Nombre de messages nécessitant une action" diff --git a/account_payment_order_notification/i18n/it.po b/account_payment_order_notification/i18n/it.po new file mode 100644 index 0000000..8e02d36 --- /dev/null +++ b/account_payment_order_notification/i18n/it.po @@ -0,0 +1,392 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_order_notification +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-26 09:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_payment_order_notification +#: model:mail.template,body_html:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"
\n" +"

Hello Brandon " +"Freeman,

\n" +" \n" +"

A debit order including at least one of your invoices " +"has been processed and\n" +" sent to the bank.

\n" +"
\n" +" \n" +"

A payment order including at least one of your " +"invoices has been processed\n" +" and sent to the bank.

\n" +"
\n" +"

It includes the following transactions:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumberDateAmount
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

Do not hesitate to contact us if you have any questions.\n" +"

\n" +" " +msgstr "" +"
\n" +"

Hello Brandon " +"Freeman,

\n" +" \n" +"

Un ordine di addebito che include almeno una fattura " +"è stato elaborato e\n" +" inviato alla banca.

\n" +"
\n" +" \n" +"

Un ordine di accredito che include almeno una fattura " +"è stato elaborato e\n" +" inviato alla banca.

\n" +"
\n" +"

Include le seguenti transizioni:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumeroDataValore
\n" +" \n" +" PY000\n" +" \n" +" \n" +" Email\n" +" \n" +" \n" +" \n" +" \n" +" $\n" +" 1000\n" +"
\n" +"

Non esitate a contattarci per ulteriori domande.

\n" +"
\n" +" " + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "Action Needed" +msgstr "Azione richiesta" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_attachment_count +msgid "Attachment Count" +msgstr "Conteggio allegati" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Cancel" +msgstr "Annulla" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__company_id +msgid "Company" +msgstr "Azienda" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.wizard_account_payment_order_notification_form +msgid "Confirm" +msgstr "Conferma" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__create_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__display_name +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__email +msgid "Email" +msgstr "E-mail" + +#. module: account_payment_order_notification +#. odoo-python +#: code:addons/account_payment_order_notification/models/account_payment_order.py:0 +#, python-format +msgid "Email has been sent to the following partners: %s" +msgstr "L'e-mail è stata inviata ai seguenti partner: %s" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_follower_ids +msgid "Followers" +msgstr "Seguito da" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_partner_ids +msgid "Followers (Partners)" +msgstr "Seguito da (partner)" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Group By" +msgstr "Raggruppa per" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__has_message +msgid "Has Message" +msgstr "Ha un messaggio" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__id +msgid "ID" +msgstr "ID" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction +msgid "If checked, new messages require your attention." +msgstr "Se selezionata, nuovi messaggi richiedono attenzione." + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "Se selezionata, alcuni messaggi hanno un errore di consegna." + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_is_follower +msgid "Is Follower" +msgstr "Segue" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_uid +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__write_date +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__line_ids +msgid "Lines" +msgstr "Righe" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__mail_template_id +msgid "Mail Template" +msgstr "Modello e-mail" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error +msgid "Message Delivery error" +msgstr "Errore di consegna messaggio" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_ids +msgid "Messages" +msgstr "Messaggi" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_count +msgid "Notification count" +msgstr "Conteggio notifiche" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order__notification_ids +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Notifications" +msgstr "Notifiche" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of Actions" +msgstr "Numero di azioni" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of errors" +msgstr "Numero di errori" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_needaction_counter +msgid "Number of messages requiring action" +msgstr "Numero di messaggi che richiedono un'azione" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "Numero di messaggi con errore di consegna" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__order_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification__order_id +msgid "Order" +msgstr "Ordine" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__parent_id +msgid "Parent" +msgstr "Padre" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__partner_id +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__partner_id +msgid "Partner" +msgstr "Partner" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__payment_line_ids +msgid "Payment Line" +msgstr "Riga di pagamento" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_search +msgid "Payment Order" +msgstr "Ordine di pagamento" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_account_payment_order_notification +msgid "Payment Order Notification" +msgstr "Notifica ordine di pagamento" + +#. module: account_payment_order_notification +#: model:mail.template,name:account_payment_order_notification.email_account_payment_order_notification +msgid "Payment Order Notification: Send by email" +msgstr "Notifica ordine di pagamento: invia per e-mail" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.account_payment_order_notification_action +msgid "Payment Order Notifications" +msgstr "Notifiche ordine di pagamento" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_form +msgid "Send mails" +msgstr "Invia e-mail" + +#. module: account_payment_order_notification +#: model:ir.actions.act_window,name:account_payment_order_notification.wizard_account_payment_order_notification_action +msgid "Send notifications" +msgstr "Invia notifiche" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_wizard_account_payment_order_notification_line__to_send +msgid "To send" +msgstr "Da inviare" + +#. module: account_payment_order_notification +#: model_terms:ir.ui.view,arch_db:account_payment_order_notification.account_payment_order_notification_form +msgid "Transactions" +msgstr "Transazioni" + +#. module: account_payment_order_notification +#: model:ir.model.fields,field_description:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website Messages" +msgstr "Messaggi sito web" + +#. module: account_payment_order_notification +#: model:ir.model.fields,help:account_payment_order_notification.field_account_payment_order_notification__website_message_ids +msgid "Website communication history" +msgstr "Cronologia comunicazioni sito web" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification +msgid "Wizard Account Payment Order Notification" +msgstr "Procedura guidata notifica ordine pagamento conto" + +#. module: account_payment_order_notification +#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification_line +msgid "Wizard Account Payment Order Notification Line" +msgstr "Riga procedura guidata notifica ordine pagamento conto" + +#. module: account_payment_order_notification +#: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification +msgid "" +"{{ object.company_id.name }} Payment Order (Ref {{ object.order_id.name or " +"'n/a' }})" +msgstr "" +"{{ object.company_id.name }} Ordine pagamento (Rif {{ object.order_id.name " +"or 'n/d' }})" diff --git a/account_payment_order_notification/models/__init__.py b/account_payment_order_notification/models/__init__.py new file mode 100644 index 0000000..e9b0f41 --- /dev/null +++ b/account_payment_order_notification/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_payment_order_notification +from . import account_payment_order diff --git a/account_payment_order_notification/models/account_payment_order.py b/account_payment_order_notification/models/account_payment_order.py new file mode 100644 index 0000000..20b9bb4 --- /dev/null +++ b/account_payment_order_notification/models/account_payment_order.py @@ -0,0 +1,45 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import _, fields, models + + +class AccountPaymentOrder(models.Model): + _inherit = "account.payment.order" + + notification_ids = fields.One2many( + comodel_name="account.payment.order.notification", + inverse_name="order_id", + string="Notifications", + ) + notification_count = fields.Integer( + string="Notification count", compute="_compute_notification_count" + ) + + def _compute_notification_count(self): + notification_data = self.env["account.payment.order.notification"].read_group( + [("order_id", "in", self.ids)], ["order_id"], ["order_id"] + ) + mapped_data = {r["order_id"][0]: r["order_id_count"] for r in notification_data} + for record in self: + record.notification_count = mapped_data.get(record.id, 0) + + def action_view_notifications(self): + self.ensure_one() + xml_id = "{}.{}".format( + "account_payment_order_notification", + "account_payment_order_notification_action", + ) + action = self.env["ir.actions.act_window"]._for_xml_id(xml_id) + action["domain"] = [("order_id", "=", self.id)] + return action + + def _action_send_mail_notifications(self, template): + for notification in self.notification_ids: + notification.message_post_with_source(template) + + def _action_create_note_from_notifications(self): + body = _("Email has been sent to the following partners: %s") % ( + ", ".join(self.mapped("notification_ids.partner_id.name")) + ) + self.message_post(body=body) diff --git a/account_payment_order_notification/models/account_payment_order_notification.py b/account_payment_order_notification/models/account_payment_order_notification.py new file mode 100644 index 0000000..d640efa --- /dev/null +++ b/account_payment_order_notification/models/account_payment_order_notification.py @@ -0,0 +1,44 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import api, fields, models + + +class AccountPaymentOrderNotification(models.Model): + _name = "account.payment.order.notification" + _description = "Payment Order Notification" + _inherit = ["mail.thread"] + _rec_name = "display_name" + + order_id = fields.Many2one( + comodel_name="account.payment.order", + required=True, + ) + company_id = fields.Many2one(related="order_id.company_id") + partner_id = fields.Many2one( + comodel_name="res.partner", + required=True, + ) + payment_line_ids = fields.Many2many(comodel_name="account.payment.line") + display_name = fields.Char(compute="_compute_display_name") + + @api.depends("order_id", "partner_id") + def _compute_display_name(self): + for item in self: + item.display_name = f"[{item.order_id.name}] {item.partner_id.display_name}" + + @api.model_create_multi + def create(self, vals_list): + res = super().create(vals_list) + mt_comment = self.env.ref("mail.mt_comment") + for rec in res: + for follower in rec.order_id.message_follower_ids: + rec.message_subscribe( + partner_ids=[follower.partner_id.id], + subtype_ids=follower.subtype_ids.ids, + ) + rec.message_subscribe( + partner_ids=[rec.partner_id.id], + subtype_ids=mt_comment.ids, + ) + return res diff --git a/account_payment_order_notification/pyproject.toml b/account_payment_order_notification/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/account_payment_order_notification/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_payment_order_notification/security/ir.model.access.csv b/account_payment_order_notification/security/ir.model.access.csv new file mode 100644 index 0000000..01d3fe3 --- /dev/null +++ b/account_payment_order_notification/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_payment_order_notification,account.payment.order.notification.manager,model_account_payment_order_notification,account_payment_order.group_account_payment,1,1,1,1 +access_wizard_account_payment_order_notification,access_wizard_account_payment_order_notification,model_wizard_account_payment_order_notification,account_payment_order.group_account_payment,1,1,1,1 +access_wizard_account_payment_order_notification_line,access_wizard_account_payment_order_notification_line,model_wizard_account_payment_order_notification_line,account_payment_order.group_account_payment,1,1,1,1 diff --git a/account_payment_order_notification/static/description/icon.png b/account_payment_order_notification/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/account_payment_order_notification/static/description/index.html b/account_payment_order_notification/static/description/index.html new file mode 100644 index 0000000..2df39e8 --- /dev/null +++ b/account_payment_order_notification/static/description/index.html @@ -0,0 +1,477 @@ + + + + + +Account Payment Order Notification + + + +
+

Account Payment Order Notification

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This module adds a button on debit / payment orders to send an email to +each related partner with the details of their transactions.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Invoicing > Configuration > Payment Modes and create a +payment mode, if you wish.
  2. +
  3. Go to Invoicing > Customers > Customers and create a new record as +follows: +
  4. +
  5. Go to Invoicing > Customers > Customers and create a new record as +follows:
      +
    • Name: Test customer 2
    • +
    • Email: (empty)
    • +
    +
  6. +
+
+
+

Usage

+
    +
  1. Go to Invoicing > Customers > Invoices and create one or more +invoices linked to the payment mode.
  2. +
  3. Go to Invoicing > Customers > Invoices select the invoices created +and execute the action called “Post entries”.
  4. +
  5. Go to Invoicing > Customers > Invoices select the invoices created +and execute the action called “Add to Payment/Debit Order” and +create a payment order.
  6. +
  7. Click on “Confirm Payments” button.
  8. +
  9. Click on “Generate Payment File” button.
  10. +
  11. Click on “File Successfully Uploaded” button.
  12. +
  13. Click on “Send mails” button.
  14. +
  15. Any involved partner with no email will appear with the column “To +send” not checked.
  16. +
  17. Click on “Confirm” button.
  18. +
  19. An email will have been sent to the selected partners.
  20. +
  21. A reminder note will have been created.
  22. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

victoralmau

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_payment_order_notification/tests/__init__.py b/account_payment_order_notification/tests/__init__.py new file mode 100644 index 0000000..5c2fc9f --- /dev/null +++ b/account_payment_order_notification/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_account_payment_order_notification diff --git a/account_payment_order_notification/tests/test_account_payment_order_notification.py b/account_payment_order_notification/tests/test_account_payment_order_notification.py new file mode 100644 index 0000000..e27e544 --- /dev/null +++ b/account_payment_order_notification/tests/test_account_payment_order_notification.py @@ -0,0 +1,89 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from flectra.tests import Form, TransactionCase + + +class TestAccountPaymentOrderNotification(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.payment_mode = cls.env.ref("account_payment_mode.payment_mode_inbound_dd1") + cls.partner_a = cls.env["res.partner"].create({"name": "Test partner A"}) + cls.partner_a_child = cls.env["res.partner"].create( + { + "name": "Invoice", + "type": "invoice", + "email": "partner-a@test.com", + "parent_id": cls.partner_a.id, + } + ) + cls.partner_b = cls.env["res.partner"].create( + {"name": "Test partner B", "email": "partner-b@test.com"} + ) + cls.partner_c = cls.env["res.partner"].create({"name": "Test partner C"}) + cls.product = cls.env["product.product"].create( + {"name": "Test product", "list_price": 100} + ) + cls.mt_note = cls.env.ref("mail.mt_note") + + def _create_invoice(self, partner, move_type="out_invoice"): + invoice_form = Form( + self.env["account.move"].with_context(default_move_type=move_type) + ) + invoice_form.partner_id = partner + invoice_form.payment_mode_id = self.payment_mode + with invoice_form.invoice_line_ids.new() as line_form: + line_form.product_id = self.product + return invoice_form.save() + + def _test_notification_from_partner(self, po, partner, total): + notification = po.notification_ids.filtered(lambda x: x.partner_id == partner) + self.assertEqual(len(notification.payment_line_ids), total) + self.assertIn(partner, notification.mapped("message_follower_ids.partner_id")) + self.assertIn(self.mt_note, notification.mapped("message_ids.subtype_id")) + + def test_wizard_account_payment_order_notification(self): + self._create_invoice(self.partner_a_child) + self._create_invoice(self.partner_a_child) + self._create_invoice(self.partner_b) + self._create_invoice(self.partner_c) + partners = self.partner_a_child + self.partner_b + self.partner_c + invoices = self.env["account.move"].search([("partner_id", "in", partners.ids)]) + invoices.action_post() + wizard = ( + self.env["account.invoice.payment.line.multi"] + .with_context(active_model=invoices._name, active_ids=invoices.ids) + .create({}) + ) + res = wizard.run() + payment_order = self.env[res["res_model"]].browse(res["res_id"]) + old_messages = payment_order.message_ids + template_xml_id = "{}.{}".format( + "account_payment_order_notification", + "email_account_payment_order_notification", + ) + wizard = ( + self.env["wizard.account.payment.order.notification"] + .with_context(active_id=payment_order.id) + .create({"mail_template_id": self.env.ref(template_xml_id).id}) + ) + self.assertEqual(len(wizard.line_ids), 3) + line_a = wizard.line_ids.filtered( + lambda x: x.partner_id == self.partner_a_child + ) + self.assertEqual(line_a.email, self.partner_a_child.email) + self.assertTrue(line_a.to_send) + line_b = wizard.line_ids.filtered(lambda x: x.partner_id == self.partner_b) + self.assertEqual(line_b.email, self.partner_b.email) + self.assertTrue(line_b.to_send) + line_c = wizard.line_ids.filtered(lambda x: x.partner_id == self.partner_c) + self.assertFalse(line_c.email) + self.assertFalse(line_c.to_send) + wizard.action_process() + self._test_notification_from_partner(payment_order, self.partner_a_child, 2) + self._test_notification_from_partner(payment_order, self.partner_b, 1) + self.assertNotIn( + self.partner_c, payment_order.mapped("notification_ids.partner_id") + ) + new_messages = payment_order.message_ids - old_messages + self.assertIn(self.env.ref("mail.mt_note"), new_messages.mapped("subtype_id")) diff --git a/account_payment_order_notification/views/account_payment_order_notification_view.xml b/account_payment_order_notification/views/account_payment_order_notification_view.xml new file mode 100644 index 0000000..e944cc7 --- /dev/null +++ b/account_payment_order_notification/views/account_payment_order_notification_view.xml @@ -0,0 +1,69 @@ + + + + account.payment.order.notification.form + account.payment.order.notification + +
+ +
+

+ +

+
+ + + + + + + + + + + +
+
+ + +
+
+
+
+ + account.payment.order.notification.tree + account.payment.order.notification + + + + + + + + + + account.payment.order.notification.search + account.payment.order.notification + + + + + + + + + + + + Payment Order Notifications + account.payment.order.notification + tree,form + +
diff --git a/account_payment_order_notification/views/account_payment_order_view.xml b/account_payment_order_notification/views/account_payment_order_view.xml new file mode 100644 index 0000000..420d167 --- /dev/null +++ b/account_payment_order_notification/views/account_payment_order_view.xml @@ -0,0 +1,36 @@ + + + + account.payment.order.form + account.payment.order + + +
+ +
+ +
+
+
diff --git a/account_payment_order_notification/wizard/__init__.py b/account_payment_order_notification/wizard/__init__.py new file mode 100644 index 0000000..7b60549 --- /dev/null +++ b/account_payment_order_notification/wizard/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import wizard_account_payment_order_notification diff --git a/account_payment_order_notification/wizard/wizard_account_payment_order_notification.py b/account_payment_order_notification/wizard/wizard_account_payment_order_notification.py new file mode 100644 index 0000000..8ca74f1 --- /dev/null +++ b/account_payment_order_notification/wizard/wizard_account_payment_order_notification.py @@ -0,0 +1,93 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import api, fields, models + + +class WizardAccountPaymentOrderNotification(models.TransientModel): + _name = "wizard.account.payment.order.notification" + _description = "Wizard Account Payment Order Notification" + + order_id = fields.Many2one( + comodel_name="account.payment.order", + required=True, + ) + mail_template_id = fields.Many2one( + comodel_name="mail.template", + domain=[("model_id.model", "=", "account.payment.order.notification")], + required=True, + ) + line_ids = fields.One2many( + comodel_name="wizard.account.payment.order.notification.line", + inverse_name="parent_id", + string="Lines", + ) + + @api.model + def default_get(self, fields): + vals = super().default_get(fields) + po = self.env["account.payment.order"].browse( + [self.env.context.get("active_id")] + ) + if po: + line_ids = [] + # We need to transfer invoice partner so that the email is sent to the + # correct partner (not parent) + for partner in po.payment_line_ids.mapped( + lambda x: x.move_line_id.move_id.partner_id or x.partner_id + ): + line_ids += [ + ( + 0, + 0, + { + "partner_id": partner.id, + "email": partner.email, + "to_send": True if partner.email else False, + }, + ) + ] + template_xml_id = "{}.{}".format( + "account_payment_order_notification", + "email_account_payment_order_notification", + ) + vals.update( + { + "order_id": po.id, + "line_ids": line_ids, + "mail_template_id": self.env.ref(template_xml_id).id, + } + ) + return vals + + def action_process(self): + notifications = [] + for item in self.line_ids.filtered("to_send"): + payment_line_ids = self.order_id.payment_line_ids.filtered( + lambda x, item=item: x.partner_id + == item.partner_id.commercial_partner_id + ) + data = { + "partner_id": item.partner_id.id, + "payment_line_ids": payment_line_ids, + } + notifications.append((0, 0, data)) + self.order_id.notification_ids = notifications + self.order_id._action_send_mail_notifications(self.mail_template_id) + self.order_id._action_create_note_from_notifications() + + +class WizardAccountPaymentOrderNotificationLine(models.TransientModel): + _name = "wizard.account.payment.order.notification.line" + _description = "Wizard Account Payment Order Notification Line" + + parent_id = fields.Many2one( + comodel_name="wizard.account.payment.order.notification", + ondelete="cascade", + index=True, + ) + partner_id = fields.Many2one( + comodel_name="res.partner", required=True, string="Partner" + ) + email = fields.Char() + to_send = fields.Boolean(string="To send") diff --git a/account_payment_order_notification/wizard/wizard_account_payment_order_notification_views.xml b/account_payment_order_notification/wizard/wizard_account_payment_order_notification_views.xml new file mode 100644 index 0000000..8061c3c --- /dev/null +++ b/account_payment_order_notification/wizard/wizard_account_payment_order_notification_views.xml @@ -0,0 +1,44 @@ + + + + wizard.account.payment.order.notification.form + wizard.account.payment.order.notification + +
+ + + + + + + + + + + + + + + +
+
+
+
+
+ + Send notifications + wizard.account.payment.order.notification + form + new + +
diff --git a/account_payment_partner/README.rst b/account_payment_partner/README.rst index ff72a92..1825bd8 100644 --- a/account_payment_partner/README.rst +++ b/account_payment_partner/README.rst @@ -7,7 +7,7 @@ Account Payment Partner !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:c06a4ae0d18ba6c2b919894ca450dba67324b3923a9b790502edf183d469926b + !! source digest: sha256:4750a58d581dc76e3c3a28f4b710532530c346b380fb95a086882e6eaad15cc3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/account_payment_partner/__manifest__.py b/account_payment_partner/__manifest__.py index c00a349..16bf95b 100644 --- a/account_payment_partner/__manifest__.py +++ b/account_payment_partner/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Account Payment Partner", - "version": "3.0.1.0.0", + "version": "3.0.1.0.3", "category": "Banking addons", "license": "AGPL-3", "summary": "Adds payment mode on partners and invoices", diff --git a/account_payment_partner/i18n/sv.po b/account_payment_partner/i18n/sv.po index d3353cc..e918822 100644 --- a/account_payment_partner/i18n/sv.po +++ b/account_payment_partner/i18n/sv.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-11-17 10:36+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_partner #: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form @@ -96,7 +96,7 @@ msgstr "Fullständig" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__has_reconciled_items #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__has_reconciled_items msgid "Has Reconciled Items" -msgstr "" +msgstr "Har avstämda poster" #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_invoice_report @@ -111,7 +111,7 @@ msgstr "Verifikat" #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move_line msgid "Journal Item" -msgstr "" +msgstr "Tidskriftsartikel" #. module: account_payment_partner #: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last @@ -121,7 +121,7 @@ msgstr "De sista n tecknen" #. module: account_payment_partner #: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no msgid "No" -msgstr "" +msgstr "Nej" #. module: account_payment_partner #. odoo-python @@ -135,7 +135,7 @@ msgstr "Ingen mall för kontoplan har definierats!" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__partner_bank_filter_type_domain msgid "Partner Bank Filter Type Domain" -msgstr "" +msgstr "Partner Bank Filter Typ Domän" #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_bank_statement_line__payment_mode_id @@ -152,7 +152,7 @@ msgstr "Betalningssätt" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_filter_type_domain msgid "Payment Mode Filter Type Domain" -msgstr "" +msgstr "Betalningssätt Filtertyp Domän" #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_payment_mode @@ -195,7 +195,7 @@ msgstr "Välj standardbetalningssätt för den här leverantören." #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account msgid "Show Bank Account" -msgstr "" +msgstr "Visa bankkonto" #. module: account_payment_partner #: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form @@ -218,7 +218,7 @@ msgstr "Leverantörens betalningssätt" #: model:ir.model.fields,help:account_payment_partner.field_account_move__has_reconciled_items #: model:ir.model.fields,help:account_payment_partner.field_account_payment__has_reconciled_items msgid "Technical field for supporting the editability of the payment mode" -msgstr "" +msgstr "Tekniskt fält för att stödja redigerbarheten av betalningsläget" #. module: account_payment_partner #: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__refund_payment_mode_id diff --git a/account_payment_partner/models/account_move.py b/account_payment_partner/models/account_move.py index d7294ae..d819c7e 100644 --- a/account_payment_partner/models/account_move.py +++ b/account_payment_partner/models/account_move.py @@ -65,23 +65,32 @@ class AccountMove(models.Model): move.payment_mode_id = False if move.partner_id: partner = move.with_company(move.company_id.id).partner_id - if move.move_type == "in_invoice": + if move.move_type == "in_invoice" and partner.supplier_payment_mode_id: move.payment_mode_id = partner.supplier_payment_mode_id - elif move.move_type == "out_invoice": + elif ( + move.move_type == "out_invoice" and partner.customer_payment_mode_id + ): move.payment_mode_id = partner.customer_payment_mode_id elif ( move.move_type in ["out_refund", "in_refund"] and move.reversed_entry_id + and move.reversed_entry_id.payment_mode_id.refund_payment_mode_id ): move.payment_mode_id = ( move.reversed_entry_id.payment_mode_id.refund_payment_mode_id ) elif not move.reversed_entry_id: - if move.move_type == "out_refund": + if ( + move.move_type == "out_refund" + and partner.customer_payment_mode_id.refund_payment_mode_id + ): move.payment_mode_id = ( partner.customer_payment_mode_id.refund_payment_mode_id ) - elif move.move_type == "in_refund": + elif ( + move.move_type == "in_refund" + and partner.supplier_payment_mode_id.refund_payment_mode_id + ): move.payment_mode_id = ( partner.supplier_payment_mode_id.refund_payment_mode_id ) diff --git a/account_payment_partner/static/description/index.html b/account_payment_partner/static/description/index.html index d2603e2..7395a93 100644 --- a/account_payment_partner/static/description/index.html +++ b/account_payment_partner/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:c06a4ae0d18ba6c2b919894ca450dba67324b3923a9b790502edf183d469926b +!! source digest: sha256:4750a58d581dc76e3c3a28f4b710532530c346b380fb95a086882e6eaad15cc3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds several fields:

@@ -466,7 +466,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_payment_partner/tests/test_account_payment_partner.py b/account_payment_partner/tests/test_account_payment_partner.py index 9d5c0d4..e556833 100644 --- a/account_payment_partner/tests/test_account_payment_partner.py +++ b/account_payment_partner/tests/test_account_payment_partner.py @@ -7,12 +7,14 @@ from flectra.exceptions import UserError, ValidationError from flectra.fields import Date from flectra.tests.common import Form, TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class TestAccountPaymentPartner(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.res_users_model = cls.env["res.users"] cls.move_model = cls.env["account.move"] diff --git a/account_payment_purchase/COPYRIGHT b/account_payment_purchase/COPYRIGHT index 4664bcb..76f34c3 100644 --- a/account_payment_purchase/COPYRIGHT +++ b/account_payment_purchase/COPYRIGHT @@ -6,6 +6,7 @@ Most of the files are Copyright 2017 - Tecnativa Copyright 2017 Tecnativa - Vicent Cubells Copyright 2017 Tecnativa - Vicent Cubells. + Copyright 2024 Tecnativa - Víctor Martínez Copyright 2018 Flectra Community Many files also contain contributions from third diff --git a/account_payment_purchase/README.rst b/account_payment_purchase/README.rst index 8d56984..ad12c5c 100644 --- a/account_payment_purchase/README.rst +++ b/account_payment_purchase/README.rst @@ -7,7 +7,7 @@ Account Payment Purchase !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:52f3125fc140cf4bfd484fb20af6e5e251d151446c40e143b80dd39ef701f68f + !! source digest: sha256:e11a0d7a8b53e584e696bfeb1677fe83fbb6347c005fe7475893783da2f86317 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/account_payment_purchase/__manifest__.py b/account_payment_purchase/__manifest__.py index 98bffcf..f232db1 100644 --- a/account_payment_purchase/__manifest__.py +++ b/account_payment_purchase/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Payment Purchase", - "version": "3.0.1.1.0", + "version": "3.0.1.2.1", "category": "Banking addons", "license": "AGPL-3", "summary": "Adds Bank Account and Payment Mode on Purchase Orders", diff --git a/account_payment_purchase/i18n/ca.po b/account_payment_purchase/i18n/ca.po index 605ea2d..99ac413 100644 --- a/account_payment_purchase/i18n/ca.po +++ b/account_payment_purchase/i18n/ca.po @@ -10,20 +10,20 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-17 02:46+0000\n" -"PO-Revision-Date: 2019-10-07 09:24+0000\n" -"Last-Translator: Jaume Planas \n" +"PO-Revision-Date: 2024-05-29 20:37+0000\n" +"Last-Translator: Santiago Payà \n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.8\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_purchase #: model:ir.model,name:account_payment_purchase.model_account_move msgid "Journal Entry" -msgstr "" +msgstr "Assentament" #. module: account_payment_purchase #: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id diff --git a/account_payment_purchase/i18n/it.po b/account_payment_purchase/i18n/it.po index bfa952e..9be08c3 100644 --- a/account_payment_purchase/i18n/it.po +++ b/account_payment_purchase/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-17 02:46+0000\n" -"PO-Revision-Date: 2024-02-04 20:36+0000\n" +"PO-Revision-Date: 2024-05-03 14:40+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" @@ -41,9 +41,9 @@ msgid "" "the payment. This field is copied from the partner and will be copied to the " "supplier invoice." msgstr "" -"Seleziona il conto bancario del tuo fornitore sul quale la tua azienda " -"effettuerà il pagamento. Questo campo è ereditato dal contatto e verrà " -"ereditato dalla fattura fornitore." +"Selezionare il conto bancario del fornitore sul quale la vostra azienda " +"effettuerà il pagamento. Questo campo è copiato dal partner e verrà copiato " +"nella fattura fornitore." #. module: account_payment_purchase #. odoo-python diff --git a/account_payment_purchase/i18n/pt_BR.po b/account_payment_purchase/i18n/pt_BR.po index c3205a1..ab48031 100644 --- a/account_payment_purchase/i18n/pt_BR.po +++ b/account_payment_purchase/i18n/pt_BR.po @@ -10,21 +10,22 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-05-23 08:41+0000\n" -"PO-Revision-Date: 2020-07-01 20:19+0000\n" -"Last-Translator: Rodrigo Macedo \n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" +"PO-Revision-Date: 2024-05-17 20:35+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 3.10\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_purchase #: model:ir.model,name:account_payment_purchase.model_account_move msgid "Journal Entry" -msgstr "" +msgstr "Entrada Diária" #. module: account_payment_purchase #: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id diff --git a/account_payment_purchase/i18n/sv.po b/account_payment_purchase/i18n/sv.po index d95ae49..4e13129 100644 --- a/account_payment_purchase/i18n/sv.po +++ b/account_payment_purchase/i18n/sv.po @@ -9,20 +9,20 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-17 02:46+0000\n" -"PO-Revision-Date: 2021-11-17 13:36+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_purchase #: model:ir.model,name:account_payment_purchase.model_account_move msgid "Journal Entry" -msgstr "" +msgstr "Journalanteckning" #. module: account_payment_purchase #: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id @@ -41,20 +41,23 @@ msgid "" "the payment. This field is copied from the partner and will be copied to the " "supplier invoice." msgstr "" +"Välj det bankkonto hos din leverantör som ditt företag ska skicka " +"betalningen till. Detta fält kopieras från partnern och kommer att kopieras " +"till leverantörsfakturan." #. module: account_payment_purchase #. odoo-python #: code:addons/account_payment_purchase/models/account_move.py:0 #, python-format msgid "Selected purchase order have different payment mode." -msgstr "" +msgstr "Valda inköpsorder har olika betalningssätt." #. module: account_payment_purchase #. odoo-python #: code:addons/account_payment_purchase/models/account_move.py:0 #, python-format msgid "Selected purchase order have different supplier bank." -msgstr "" +msgstr "Valda inköpsorder har olika leverantörsbank." #. module: account_payment_purchase #: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__supplier_partner_bank_id diff --git a/account_payment_purchase/models/account_move.py b/account_payment_purchase/models/account_move.py index 0abcb7a..9e65240 100644 --- a/account_payment_purchase/models/account_move.py +++ b/account_payment_purchase/models/account_move.py @@ -10,17 +10,20 @@ class AccountMove(models.Model): @api.onchange("purchase_vendor_bill_id", "purchase_id") def _onchange_purchase_auto_complete(self): - new_mode = ( - self.purchase_vendor_bill_id.purchase_order_id.payment_mode_id.id - or self.purchase_id.payment_mode_id.id - ) - new_bank = ( - self.purchase_vendor_bill_id.purchase_order_id.supplier_partner_bank_id.id - or self.purchase_id.supplier_partner_bank_id.id - ) + old_mode = self.payment_mode_id.id + old_bank = self.partner_bank_id.id + purchase_id = self.purchase_vendor_bill_id.purchase_order_id or self.purchase_id + if purchase_id: + new_invoice_vals = purchase_id.with_company( + purchase_id.company_id + )._prepare_invoice() + new_mode = new_invoice_vals.get("payment_mode_id", False) + new_bank = new_invoice_vals.get("partner_bank_id", False) + else: + new_mode = new_bank = False res = super()._onchange_purchase_auto_complete() or {} - if self.payment_mode_id and new_mode and self.payment_mode_id.id != new_mode: + if old_mode and new_mode and old_mode != new_mode: res["warning"] = { "title": _("Warning"), "message": _("Selected purchase order have different payment mode."), @@ -28,12 +31,11 @@ class AccountMove(models.Model): return res elif self.payment_mode_id.id != new_mode: self.payment_mode_id = new_mode - if self.partner_bank_id and new_bank and self.partner_bank_id.id != new_bank: + if old_bank and new_bank and old_bank != new_bank: res["warning"] = { "title": _("Warning"), "message": _("Selected purchase order have different supplier bank."), } - return res elif self.partner_bank_id.id != new_bank: self.partner_bank_id = new_bank return res diff --git a/account_payment_purchase/models/purchase_order.py b/account_payment_purchase/models/purchase_order.py index 8fca69e..afd384f 100644 --- a/account_payment_purchase/models/purchase_order.py +++ b/account_payment_purchase/models/purchase_order.py @@ -10,12 +10,12 @@ class PurchaseOrder(models.Model): supplier_partner_bank_id = fields.Many2one( comodel_name="res.partner.bank", - compute="_compute_payment_mode", + compute="_compute_supplier_partner_bank", readonly=False, store=True, precompute=True, string="Supplier Bank Account", - domain="[('partner_id', '=', partner_id)," + domain="[('partner_id', 'parent_of', partner_id)," "('company_id', 'in', [False, company_id])]", check_company=True, help="Select the bank account of your supplier on which your company " @@ -46,11 +46,27 @@ class PurchaseOrder(models.Model): def _compute_payment_mode(self): for order in self: if order.partner_id: + order = order.with_company(order.company_id) + order.payment_mode_id = order.partner_id.supplier_payment_mode_id + + @api.depends("partner_id", "company_id", "payment_mode_id") + def _compute_supplier_partner_bank(self): + for order in self: + if ( + order.payment_mode_id.payment_method_id.bank_account_required + and order.partner_id + ): order = order.with_company(order.company_id) order.supplier_partner_bank_id = ( order._get_default_supplier_partner_bank(order.partner_id) ) - order.payment_mode_id = order.partner_id.supplier_payment_mode_id - else: + elif not order.payment_mode_id.payment_method_id.bank_account_required: order.supplier_partner_bank_id = False - order.payment_mode_id = False + + def _prepare_invoice(self): + res = super()._prepare_invoice() + res["payment_mode_id"] = self.payment_mode_id.id + res.pop("partner_bank_id", False) + if self.payment_mode_id.payment_method_id.bank_account_required: + res["partner_bank_id"] = self.supplier_partner_bank_id.id + return res diff --git a/account_payment_purchase/static/description/index.html b/account_payment_purchase/static/description/index.html index 6ac9796..ab0ec0b 100644 --- a/account_payment_purchase/static/description/index.html +++ b/account_payment_purchase/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:52f3125fc140cf4bfd484fb20af6e5e251d151446c40e143b80dd39ef701f68f +!! source digest: sha256:e11a0d7a8b53e584e696bfeb1677fe83fbb6347c005fe7475893783da2f86317 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds 2 fields on purchase orders: Bank Account and @@ -448,7 +449,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_payment_purchase/tests/test_account_payment_purchase.py b/account_payment_purchase/tests/test_account_payment_purchase.py index 2902cd4..1259343 100644 --- a/account_payment_purchase/tests/test_account_payment_purchase.py +++ b/account_payment_purchase/tests/test_account_payment_purchase.py @@ -1,9 +1,11 @@ # Copyright 2013-2015 Tecnativa - Pedro M. Baeza # Copyright 2017 Tecnativa - Vicent Cubells +# Copyright 2024 Tecnativa - Víctor Martínez # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from flectra import Command, fields -from flectra.tests import TransactionCase, tagged +from flectra import Command +from flectra.tests import Form, TransactionCase, tagged +from flectra.tools import mute_logger @tagged("-at_install", "post_install") @@ -53,33 +55,32 @@ class TestAccountPaymentPurchase(TransactionCase): "seller_ids": [Command.create({"partner_id": cls.partner.id})], } ) - cls.purchase = cls.env["purchase.order"].create( - { - "partner_id": cls.partner.id, - "payment_mode_id": cls.payment_mode.id, - "order_line": [ - Command.create( - { - "name": "Test line", - "product_qty": 1.0, - "product_id": cls.mto_product.id, - "product_uom": cls.uom_id, - "date_planned": fields.Datetime.today(), - "price_unit": 1.0, - } - ) - ], - } - ) + order_form = Form(cls.env["purchase.order"]) + order_form.partner_id = cls.partner + with order_form.order_line.new() as line_form: + line_form.product_id = cls.mto_product + line_form.product_qty = 1 + cls.purchase = order_form.save() def test_onchange_partner_id_purchase_order(self): - self.purchase.onchange_partner_id() self.assertEqual(self.purchase.payment_mode_id, self.payment_mode) - def test_purchase_order_invoicing(self): - self.purchase.onchange_partner_id() + @mute_logger("flectra.models.unlink") + def test_purchase_order_create_invoice(self): self.purchase.button_confirm() + self.purchase.order_line.qty_received = 1 + res = self.purchase.action_create_invoice() + invoice = self.env[res["res_model"]].browse(res["res_id"]) + self.assertEqual(invoice.partner_bank_id, self.bank) + # Remove the invoice and try another use case + invoice.unlink() + self.payment_method_out.bank_account_required = False + res = self.purchase.action_create_invoice() + invoice2 = self.env[res["res_model"]].browse(res["res_id"]) + self.assertFalse(invoice2.partner_bank_id) + def test_purchase_order_invoicing(self): + self.purchase.button_confirm() invoice = self.env["account.move"].create( {"partner_id": self.partner.id, "move_type": "in_invoice"} ) diff --git a/account_payment_purchase_stock/i18n/ca.po b/account_payment_purchase_stock/i18n/ca.po new file mode 100644 index 0000000..9606e4c --- /dev/null +++ b/account_payment_purchase_stock/i18n/ca.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_purchase_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-29 20:37+0000\n" +"Last-Translator: Santiago Payà \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_payment_purchase_stock +#: model:ir.model,name:account_payment_purchase_stock.model_stock_rule +msgid "Stock Rule" +msgstr "Regla d’estoc" diff --git a/account_payment_sale/README.rst b/account_payment_sale/README.rst index 76fd201..b230532 100644 --- a/account_payment_sale/README.rst +++ b/account_payment_sale/README.rst @@ -7,7 +7,7 @@ Account Payment Sale !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:e966caa2a6d952b1044e220535d09930d21f8620d60bf6a62d121c066063c3ef + !! source digest: sha256:708beff81c390a261a1bc46d33b9ff7d073f2355b32229b2882dc7fb0d4afc11 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/account_payment_sale/__manifest__.py b/account_payment_sale/__manifest__.py index ff0437f..a8b7712 100644 --- a/account_payment_sale/__manifest__.py +++ b/account_payment_sale/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Payment Sale", - "version": "3.0.1.0.0", + "version": "3.0.1.0.2", "category": "Banking addons", "license": "AGPL-3", "summary": "Adds payment mode on sale orders", diff --git a/account_payment_sale/i18n/ca.po b/account_payment_sale/i18n/ca.po index 12b513c..f741f93 100644 --- a/account_payment_sale/i18n/ca.po +++ b/account_payment_sale/i18n/ca.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: bank-payment (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-18 00:42+0000\n" -"PO-Revision-Date: 2022-04-13 10:05+0000\n" -"Last-Translator: Noel estudillo \n" +"PO-Revision-Date: 2024-05-29 20:37+0000\n" +"Last-Translator: Santiago Payà \n" "Language-Team: Catalan (http://www.transifex.com/oca/OCA-bank-payment-10-0/" "language/ca/)\n" "Language: ca\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_sale #: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode @@ -33,7 +33,7 @@ msgstr "Mode de pagament" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_report msgid "Sales Analysis Report" -msgstr "" +msgstr "Informe d’anàlisi de vendes" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_order diff --git a/account_payment_sale/i18n/pt_BR.po b/account_payment_sale/i18n/pt_BR.po index f5ca300..35b3980 100644 --- a/account_payment_sale/i18n/pt_BR.po +++ b/account_payment_sale/i18n/pt_BR.po @@ -9,16 +9,17 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-02-02 03:43+0000\n" -"PO-Revision-Date: 2020-08-12 18:59+0000\n" -"Last-Translator: Rodrigo Macedo \n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" +"PO-Revision-Date: 2024-05-17 20:35+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 3.10\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_sale #: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode @@ -34,7 +35,7 @@ msgstr "Modo de Pagamento" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_report msgid "Sales Analysis Report" -msgstr "" +msgstr "Relatório de análise de vendas" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_order diff --git a/account_payment_sale/i18n/sv.po b/account_payment_sale/i18n/sv.po index 40b3723..c57b399 100644 --- a/account_payment_sale/i18n/sv.po +++ b/account_payment_sale/i18n/sv.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-11-17 10:36+0000\n" -"Last-Translator: Simon S \n" +"PO-Revision-Date: 2024-06-05 11:37+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: account_payment_sale #: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode @@ -30,7 +30,7 @@ msgstr "Betalningssätt" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_report msgid "Sales Analysis Report" -msgstr "" +msgstr "Rapport om försäljningsanalys" #. module: account_payment_sale #: model:ir.model,name:account_payment_sale.model_sale_order diff --git a/account_payment_sale/models/sale_order.py b/account_payment_sale/models/sale_order.py index 8bc1906..ba63869 100644 --- a/account_payment_sale/models/sale_order.py +++ b/account_payment_sale/models/sale_order.py @@ -41,3 +41,14 @@ class SaleOrder(models.Model): vals = super()._prepare_invoice() self._get_payment_mode_vals(vals) return vals + + @api.model + def _get_invoice_grouping_keys(self) -> list: + """ + When several sale orders are generating invoices, + we want to add the payment mode in grouping criteria. + """ + keys = super()._get_invoice_grouping_keys() + if "payment_mode_id" not in keys: + keys.append("payment_mode_id") + return keys diff --git a/account_payment_sale/static/description/index.html b/account_payment_sale/static/description/index.html index 52a5dd5..5b9f4f4 100644 --- a/account_payment_sale/static/description/index.html +++ b/account_payment_sale/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:e966caa2a6d952b1044e220535d09930d21f8620d60bf6a62d121c066063c3ef +!! source digest: sha256:708beff81c390a261a1bc46d33b9ff7d073f2355b32229b2882dc7fb0d4afc11 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This modules adds one field on sale orders: Payment Mode. This field @@ -426,7 +426,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/account_payment_sale/tests/common.py b/account_payment_sale/tests/common.py index f0fe53a..ef7f437 100644 --- a/account_payment_sale/tests/common.py +++ b/account_payment_sale/tests/common.py @@ -3,13 +3,14 @@ from flectra.tests.common import TransactionCase +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + class CommonTestCase(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) - + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.bank = cls.env["res.partner.bank"].create( {"acc_number": "test", "partner_id": cls.env.user.company_id.partner_id.id} ) diff --git a/account_payment_sale/tests/test_sale_order.py b/account_payment_sale/tests/test_sale_order.py index b9acc29..f5ee20e 100644 --- a/account_payment_sale/tests/test_sale_order.py +++ b/account_payment_sale/tests/test_sale_order.py @@ -3,10 +3,17 @@ from flectra.tests import Form +from flectra.addons.base.tests.common import DISABLED_MAIL_CONTEXT + from .common import CommonTestCase class TestSaleOrder(CommonTestCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) + def create_sale_order(self, payment_mode=None): with Form(self.env["sale.order"]) as sale_form: sale_form.partner_id = self.base_partner @@ -94,3 +101,22 @@ class TestSaleOrder(CommonTestCase): self.assertEqual(len(invoice), 1) self.assertEqual(invoice.payment_mode_id, self.payment_mode_2) self.assertFalse(invoice.partner_bank_id) + + def test_several_sale_to_invoice_payment_mode(self): + """ + Data: + A partner with a specific payment_mode + A sale order created with the payment_mode of the partner + A sale order created with another payment mode + Test case: + Create the invoice from the sale orders + Expected result: + Two invoices should be generated + """ + payment_mode_2 = self.env.ref("account_payment_mode.payment_mode_outbound_dd1") + order_1 = self.create_sale_order() + order_2 = self.create_sale_order(payment_mode_2) + orders = order_1 | order_2 + orders.action_confirm() + invoices = orders._create_invoices() + self.assertEqual(2, len(invoices)) diff --git a/account_vendor_bank_account_default/COPYRIGHT b/account_vendor_bank_account_default/COPYRIGHT new file mode 100644 index 0000000..fe696a2 --- /dev/null +++ b/account_vendor_bank_account_default/COPYRIGHT @@ -0,0 +1,15 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2024 Alberto Martínez + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/account_vendor_bank_account_default/LICENSE b/account_vendor_bank_account_default/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/account_vendor_bank_account_default/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/account_vendor_bank_account_default/README.rst b/account_vendor_bank_account_default/README.rst new file mode 100644 index 0000000..a65b0bf --- /dev/null +++ b/account_vendor_bank_account_default/README.rst @@ -0,0 +1,120 @@ +=================================== +Account Vendor Bank Account Default +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:469bab1b746f6b2716cfd595ae29fdbadc667a433546b1c2ee95c89817221d1a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/17.0/account_vendor_bank_account_default + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_vendor_bank_account_default + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to set a default bank account on partners for +their vendor bills. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +- Go to a partner form view, and edit the Default Bank Account in the + Sales and Purchase tab. The partner must be of type 'company', or an + individual without a parent company. + + **Note:** If you do not set this value, it will be equal to the first + bank account created in the contact. This is the standard behaviour + of Odoo + +- You can disable the default bank account option at contact level, + unmarking the "Has Default Bank Account" check. + +Usage +===== + +To use this module, you need to: + +1. Create a vendor bill and select a partner with a default bank + account. Its recipient bank account will be the default one. + +Known issues / Roadmap +====================== + +- This module depends on account_payment_partner. If the payment mode + of the invoice has a payment method that does not require a bank + account, the default bank account will be empty. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Sygel + +Contributors +------------ + +- `Sygel `__: + + - Harald Panten + - Valentin Vinagre + - Alberto Martínez + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-tisho99| image:: https://github.com/tisho99.png?size=40px + :target: https://github.com/tisho99 + :alt: tisho99 + +Current `maintainer `__: + +|maintainer-tisho99| + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/account_vendor_bank_account_default/__init__.py b/account_vendor_bank_account_default/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/account_vendor_bank_account_default/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/account_vendor_bank_account_default/__manifest__.py b/account_vendor_bank_account_default/__manifest__.py new file mode 100644 index 0000000..bb04e37 --- /dev/null +++ b/account_vendor_bank_account_default/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Account Vendor Bank Account Default", + "summary": "Set a default bank account on partners for their vendor bills", + "version": "3.0.1.0.0", + "development_status": "Beta", + "category": "Banking addons", + "website": "https://gitlab.com/flectra-community/bank-payment", + "author": "Sygel, Odoo Community Association (OCA)", + "maintainers": ["tisho99"], + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "account", + "account_payment_partner", + ], + "data": [ + "views/res_partner_views.xml", + ], +} diff --git a/account_vendor_bank_account_default/i18n/account_vendor_bank_account_default.pot b/account_vendor_bank_account_default/i18n/account_vendor_bank_account_default.pot new file mode 100644 index 0000000..4f641a0 --- /dev/null +++ b/account_vendor_bank_account_default/i18n/account_vendor_bank_account_default.pot @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_res_partner +msgid "Contact" +msgstr "" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__default_bank_id +msgid "Default Bank Account" +msgstr "" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__has_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__has_default_bank_id +msgid "Has Default Bank Account" +msgstr "" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__user_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__user_default_bank_id +msgid "User Default Bank Account" +msgstr "" diff --git a/account_vendor_bank_account_default/i18n/ca.po b/account_vendor_bank_account_default/i18n/ca.po new file mode 100644 index 0000000..7c9013f --- /dev/null +++ b/account_vendor_bank_account_default/i18n/ca.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-09 08:58+0000\n" +"Last-Translator: Alberto Martínez \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_res_partner +msgid "Contact" +msgstr "Contacte" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__default_bank_id +msgid "Default Bank Account" +msgstr "Compte bancari per defecte" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__has_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__has_default_bank_id +msgid "Has Default Bank Account" +msgstr "Té compte bancari per defecte" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_account_move +msgid "Journal Entry" +msgstr "Entrada de diari" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__user_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__user_default_bank_id +msgid "User Default Bank Account" +msgstr "Compte bancari per defecte de l'usuari" diff --git a/account_vendor_bank_account_default/i18n/es.po b/account_vendor_bank_account_default/i18n/es.po new file mode 100644 index 0000000..861f38b --- /dev/null +++ b/account_vendor_bank_account_default/i18n/es.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-06 11:58+0000\n" +"Last-Translator: Alberto Martínez \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__default_bank_id +msgid "Default Bank Account" +msgstr "Cuenta bancaria por defecto" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__has_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__has_default_bank_id +msgid "Has Default Bank Account" +msgstr "Tiene cuenta bancaria por defecto" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_account_move +msgid "Journal Entry" +msgstr "Entrada de diario" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__user_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__user_default_bank_id +msgid "User Default Bank Account" +msgstr "Cuenta bancaria por defecto del usuario" diff --git a/account_vendor_bank_account_default/i18n/it.po b/account_vendor_bank_account_default/i18n/it.po new file mode 100644 index 0000000..006765a --- /dev/null +++ b/account_vendor_bank_account_default/i18n/it.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-23 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__default_bank_id +msgid "Default Bank Account" +msgstr "Conto bancario predefinito" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__has_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__has_default_bank_id +msgid "Has Default Bank Account" +msgstr "Ha conto bancario predefinito" + +#. module: account_vendor_bank_account_default +#: model:ir.model,name:account_vendor_bank_account_default.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_vendor_bank_account_default +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_partner__user_default_bank_id +#: model:ir.model.fields,field_description:account_vendor_bank_account_default.field_res_users__user_default_bank_id +msgid "User Default Bank Account" +msgstr "Conto bancario predefinito utente" diff --git a/account_vendor_bank_account_default/models/__init__.py b/account_vendor_bank_account_default/models/__init__.py new file mode 100644 index 0000000..77f8c6e --- /dev/null +++ b/account_vendor_bank_account_default/models/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import account_move +from . import res_partner diff --git a/account_vendor_bank_account_default/models/account_move.py b/account_vendor_bank_account_default/models/account_move.py new file mode 100644 index 0000000..e8c5d14 --- /dev/null +++ b/account_vendor_bank_account_default/models/account_move.py @@ -0,0 +1,25 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from flectra import models + + +class AccountMove(models.Model): + _inherit = "account.move" + + def _compute_partner_bank_id(self): + res = super()._compute_partner_bank_id() + for move in self: + payment_mode = move.payment_mode_id + if ( + payment_mode + and move.move_type == "in_invoice" + and payment_mode.payment_type == "outbound" + and payment_mode.payment_method_id.bank_account_required + ): + move.partner_bank_id = ( + move.bank_partner_id.default_bank_id + if move.bank_partner_id.has_default_bank_id + else False + ) + return res diff --git a/account_vendor_bank_account_default/models/res_partner.py b/account_vendor_bank_account_default/models/res_partner.py new file mode 100644 index 0000000..26c1b1d --- /dev/null +++ b/account_vendor_bank_account_default/models/res_partner.py @@ -0,0 +1,43 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from flectra import api, fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + default_bank_id = fields.Many2one( + string="Default Bank Account", + comodel_name="res.partner.bank", + domain="[('partner_id', '=', commercial_partner_id)]", + compute="_compute_default_bank_id", + inverse="_inverse_default_bank_id", + store=True, + readonly=False, + ) + user_default_bank_id = fields.Many2one( + comodel_name="res.partner.bank", + string="User Default Bank Account", + ) + has_default_bank_id = fields.Boolean( + string="Has Default Bank Account", + default=True, + ) + + @api.depends("bank_ids", "user_default_bank_id") + def _compute_default_bank_id(self): + for rec in self: + rec.default_bank_id = rec.user_default_bank_id or rec.bank_ids[:1] + + def _inverse_default_bank_id(self): + for rec in self: + rec.user_default_bank_id = rec.default_bank_id + if not rec.user_default_bank_id: + rec._compute_default_bank_id() + + @api.model + def _commercial_fields(self): + res = super()._commercial_fields() + res += ["default_bank_id", "user_default_bank_id", "has_default_bank_id"] + return res diff --git a/account_vendor_bank_account_default/pyproject.toml b/account_vendor_bank_account_default/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/account_vendor_bank_account_default/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_vendor_bank_account_default/static/description/icon.png b/account_vendor_bank_account_default/static/description/icon.png new file mode 100755 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/account_vendor_bank_account_default/static/description/icon.svg b/account_vendor_bank_account_default/static/description/icon.svg new file mode 100755 index 0000000..a7a26d0 --- /dev/null +++ b/account_vendor_bank_account_default/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/account_vendor_bank_account_default/static/description/index.html b/account_vendor_bank_account_default/static/description/index.html new file mode 100644 index 0000000..88b431a --- /dev/null +++ b/account_vendor_bank_account_default/static/description/index.html @@ -0,0 +1,466 @@ + + + + + +Account Vendor Bank Account Default + + + +
+

Account Vendor Bank Account Default

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This module allows you to set a default bank account on partners for +their vendor bills.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  • Go to a partner form view, and edit the Default Bank Account in the +Sales and Purchase tab. The partner must be of type ‘company’, or an +individual without a parent company.

    +

    Note: If you do not set this value, it will be equal to the first +bank account created in the contact. This is the standard behaviour +of Odoo

    +
  • +
  • You can disable the default bank account option at contact level, +unmarking the “Has Default Bank Account” check.

    +
  • +
+
+
+

Usage

+

To use this module, you need to:

+
    +
  1. Create a vendor bill and select a partner with a default bank +account. Its recipient bank account will be the default one.
  2. +
+
+
+

Known issues / Roadmap

+
    +
  • This module depends on account_payment_partner. If the payment mode +of the invoice has a payment method that does not require a bank +account, the default bank account will be empty.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Sygel
  • +
+
+
+

Contributors

+
    +
  • Sygel:
      +
    • Harald Panten
    • +
    • Valentin Vinagre
    • +
    • Alberto Martínez
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

tisho99

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_vendor_bank_account_default/tests/__init__.py b/account_vendor_bank_account_default/tests/__init__.py new file mode 100644 index 0000000..2528222 --- /dev/null +++ b/account_vendor_bank_account_default/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_account_vendor_bank_account_default diff --git a/account_vendor_bank_account_default/tests/test_account_vendor_bank_account_default.py b/account_vendor_bank_account_default/tests/test_account_vendor_bank_account_default.py new file mode 100644 index 0000000..20924e0 --- /dev/null +++ b/account_vendor_bank_account_default/tests/test_account_vendor_bank_account_default.py @@ -0,0 +1,112 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import datetime + +import flectra.tests + +from flectra.addons.account.tests.common import AccountTestInvoicingCommon + + +@flectra.tests.tagged("post_install", "-at_install") +class TestAccountVendorBankAccountDefault(AccountTestInvoicingCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.bank_account1 = cls.env["res.partner.bank"].create( + { + "acc_number": "12341", + "partner_id": cls.partner_a.id, + } + ) + cls.bank_account2 = cls.env["res.partner.bank"].create( + { + "acc_number": "12342", + "partner_id": cls.partner_a.id, + } + ) + cls.bank_account3 = cls.env["res.partner.bank"].create( + { + "acc_number": "12343", + "partner_id": cls.partner_a.id, + } + ) + cls.manual_out = cls.env.ref("account.account_payment_method_manual_out") + cls.journal_c1 = ( + cls.env["account.journal"] + .sudo() + .create({"name": "J1", "code": "J1", "type": "bank"}) + ) + cls.supplier_payment_mode = ( + cls.env["account.payment.mode"] + .sudo() + .create( + { + "name": "Suppliers Bank 1", + "bank_account_link": "variable", + "payment_method_id": cls.manual_out.id, + "show_bank_account_from_journal": True, + "fixed_journal_id": cls.journal_c1.id, + "variable_journal_ids": [(6, 0, [cls.journal_c1.id])], + } + ) + ) + cls.partner_a.supplier_payment_mode_id = cls.supplier_payment_mode + + def create_in_invoice(self): + return self.env["account.move"].create( + { + "partner_id": self.partner_a.id, + "move_type": "in_invoice", + "invoice_date": datetime.date.today(), + } + ) + + def test_account_default_partner(self): + # Test that the default partner account can be pertmanently changed manually + self.assertNotEqual(self.partner_a.default_bank_id, self.bank_account2) + self.partner_a.default_bank_id = self.bank_account2 + self.assertEqual(self.partner_a.default_bank_id, self.bank_account2) + self.bank_account4 = self.env["res.partner.bank"].create( + { + "acc_number": "12344", + "partner_id": self.partner_a.id, + } + ) + self.assertEqual(self.partner_a.default_bank_id, self.bank_account2) + + def test_account_default_in_invoice(self): + # Test the default partner account in vendor bills + self.partner_a.default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = True + in_invoice = self.create_in_invoice() + self.assertEqual(in_invoice.partner_bank_id, self.bank_account2) + + def test_no_account_default_in_vendor(self): + # Test no bank account on partner without default bank account + self.partner_a.has_default_bank_id = False + self.supplier_payment_mode.payment_method_id.bank_account_required = True + in_invoice = self.create_in_invoice() + self.assertFalse(in_invoice.partner_bank_id) + + def test_no_account_default_in_invoice(self): + # Test no bank account on moves without bank_account_required in payment mode + self.partner_a.default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = False + in_invoice = self.create_in_invoice() + self.assertFalse(in_invoice.partner_bank_id) + + def test_no_payment_mode(self): + # Test no bank account if bank_account is not required in payment mode + self.partner_a.default_bank_id = self.bank_account2 + self.partner_a.supplier_payment_mode_id = False + in_invoice = self.create_in_invoice() + self.assertFalse(in_invoice.partner_bank_id) + + def test_commercial_fields(self): + # Test the default partner account in vendor bills with individual partner + # Test that the default partner account can be pertmanently changed manually + self.partner_a.default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = True + in_invoice = self.create_in_invoice() + self.assertEqual(in_invoice.partner_bank_id, self.bank_account2) diff --git a/account_vendor_bank_account_default/views/res_partner_views.xml b/account_vendor_bank_account_default/views/res_partner_views.xml new file mode 100644 index 0000000..2a17fae --- /dev/null +++ b/account_vendor_bank_account_default/views/res_partner_views.xml @@ -0,0 +1,24 @@ + + + + + + res.partner.form + res.partner + + + + + + + + + + diff --git a/account_vendor_bank_account_default_purchase/COPYRIGHT b/account_vendor_bank_account_default_purchase/COPYRIGHT new file mode 100644 index 0000000..fe696a2 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/COPYRIGHT @@ -0,0 +1,15 @@ +Most of the files are + + :Copyright: This stylesheet has been placed in the public domain. + Copyright 2024 Alberto Martínez + Copyright 2018 Flectra Community + +Many files also contain contributions from third +parties. In this case the original copyright of +the contributions can be traced through the +history of the source version control system. + +When that is not the case, the files contain a prominent +notice stating the original copyright and applicable +license, or come with their own dedicated COPYRIGHT +and/or LICENSE file. \ No newline at end of file diff --git a/account_vendor_bank_account_default_purchase/LICENSE b/account_vendor_bank_account_default_purchase/LICENSE new file mode 100644 index 0000000..3939cd9 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/LICENSE @@ -0,0 +1,663 @@ +For copyright information, please see the COPYRIGHT file. + +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/account_vendor_bank_account_default_purchase/README.rst b/account_vendor_bank_account_default_purchase/README.rst new file mode 100644 index 0000000..31cb6a7 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/README.rst @@ -0,0 +1,123 @@ +============================================ +Account Vendor Bank Account Default Purchase +============================================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7432c01bfda71a6d355decfea6e9d9754a1f8ea1c138770fcceeb476ccdadacf + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/17.0/account_vendor_bank_account_default_purchase + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_vendor_bank_account_default_purchase + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to set a default bank account purchase orders. +That bank account will be propagated to its vendor bills. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +- Go to a partner form view, and edit the Default Bank Account in the + Sales and Purchase tab. The partner must be set as a 'company', or as + an individual without a parent company. + + **Note:** If you do not set this value, it will be equal to the first + bank account created in the contact. This is the standard behaviour + of Odoo + +- You can disable the default bank account option at contact level, + unmarking the "Has Default Bank Account" check. + +Usage +===== + +To use this module, you need to: + +1. Create a purchase order. On the other info tab you can see its bank + account, which will be equal to the configured in the partner's + "Default Bank Account" field. +2. Confirm the purchase and create its vendor bill. Its recipient bank + account will be equal to the purchase's bank account. + +Known issues / Roadmap +====================== + +- This module depends on account_payment_purchase. If the payment mode + of the purchase has a payment method that does not require a bank + account, the default bank account will be empty. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Sygel + +Contributors +------------ + +- `Sygel `__: + + - Harald Panten + - Valentin Vinagre + - Alberto Martínez + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-tisho99| image:: https://github.com/tisho99.png?size=40px + :target: https://github.com/tisho99 + :alt: tisho99 + +Current `maintainer `__: + +|maintainer-tisho99| + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. \ No newline at end of file diff --git a/account_vendor_bank_account_default_purchase/__init__.py b/account_vendor_bank_account_default_purchase/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/account_vendor_bank_account_default_purchase/__manifest__.py b/account_vendor_bank_account_default_purchase/__manifest__.py new file mode 100644 index 0000000..56a4828 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Account Vendor Bank Account Default Purchase", + "summary": "Set a default bank account purchase orders", + "version": "3.0.1.0.0", + "category": "Banking addons", + "website": "https://gitlab.com/flectra-community/bank-payment", + "author": "Sygel, Odoo Community Association (OCA)", + "maintainers": ["tisho99"], + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "account_payment_purchase", + "account_vendor_bank_account_default", + ], +} diff --git a/account_vendor_bank_account_default_purchase/i18n/account_vendor_bank_account_default_purchase.pot b/account_vendor_bank_account_default_purchase/i18n/account_vendor_bank_account_default_purchase.pot new file mode 100644 index 0000000..82ad22b --- /dev/null +++ b/account_vendor_bank_account_default_purchase/i18n/account_vendor_bank_account_default_purchase.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default_purchase +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_vendor_bank_account_default_purchase +#: model:ir.model,name:account_vendor_bank_account_default_purchase.model_purchase_order +msgid "Purchase Order" +msgstr "" diff --git a/account_vendor_bank_account_default_purchase/i18n/ca.po b/account_vendor_bank_account_default_purchase/i18n/ca.po new file mode 100644 index 0000000..ff520a1 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/i18n/ca.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default_purchase +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-09 08:58+0000\n" +"Last-Translator: Alberto Martínez \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default_purchase +#: model:ir.model,name:account_vendor_bank_account_default_purchase.model_purchase_order +msgid "Purchase Order" +msgstr "Ordre de compra" diff --git a/account_vendor_bank_account_default_purchase/i18n/es.po b/account_vendor_bank_account_default_purchase/i18n/es.po new file mode 100644 index 0000000..3d980d9 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default_purchase +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-06 11:58+0000\n" +"Last-Translator: Alberto Martínez \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default_purchase +#: model:ir.model,name:account_vendor_bank_account_default_purchase.model_purchase_order +msgid "Purchase Order" +msgstr "Pedido de compra" diff --git a/account_vendor_bank_account_default_purchase/i18n/it.po b/account_vendor_bank_account_default_purchase/i18n/it.po new file mode 100644 index 0000000..d03c74c --- /dev/null +++ b/account_vendor_bank_account_default_purchase/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_vendor_bank_account_default_purchase +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-05 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_vendor_bank_account_default_purchase +#: model:ir.model,name:account_vendor_bank_account_default_purchase.model_purchase_order +msgid "Purchase Order" +msgstr "Ordine di acquisto" diff --git a/account_vendor_bank_account_default_purchase/models/__init__.py b/account_vendor_bank_account_default_purchase/models/__init__.py new file mode 100644 index 0000000..9b3b3d4 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import purchase_order diff --git a/account_vendor_bank_account_default_purchase/models/purchase_order.py b/account_vendor_bank_account_default_purchase/models/purchase_order.py new file mode 100644 index 0000000..4b7322b --- /dev/null +++ b/account_vendor_bank_account_default_purchase/models/purchase_order.py @@ -0,0 +1,32 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + + +from flectra import api, models + + +class PurchaseOrder(models.Model): + _inherit = "purchase.order" + + def _get_default_supplier_partner_bank(self, partner): + if not partner.has_default_bank_id: + return False + elif partner.default_bank_id: + return partner.default_bank_id.id + else: + return super()._get_default_supplier_partner_bank(partner) + + @api.depends("partner_id", "company_id") + def _compute_payment_mode(self): + res = super()._compute_payment_mode() + for order in self: + if ( + order.payment_mode_id.payment_method_id.bank_account_required + and order.partner_id + ): + order.supplier_partner_bank_id = ( + order._get_default_supplier_partner_bank(order.partner_id) + ) + else: + order.supplier_partner_bank_id = False + return res diff --git a/account_vendor_bank_account_default_purchase/pyproject.toml b/account_vendor_bank_account_default_purchase/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/account_vendor_bank_account_default_purchase/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_vendor_bank_account_default_purchase/static/description/icon.png b/account_vendor_bank_account_default_purchase/static/description/icon.png new file mode 100755 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmVa*Zag|=W(Jy&L=Ct>-D+}2E!HrkJGSV zFo@#fVhDl&j^jYfLz1L+B&EULNy+R4;k+S0UtiztNLG9u01!f8v)N#^S|N%e2q6$f z5hEibh{xjq07;S{NzzM%ko!Fz&)}qGzJNIA3E=bj)^i;9IDqvu%xpHp;c$Qu0znWM z0SpEM03Z^HAQTEg6h%sc!BG;tG&yfkIGnQt@Or&2lgacO0JqaHlgR|T-43JiTiuuE zc}4(vxG0JU27`#jV)AZbZ#*8qW6qp8?GyDLg~mBafd2meCji_>2yp=b$8oUPY_M1? z008+r3xWVa5Yh-h5s$|)GBN_5=UJF2irZ$)nDInGUt)rAP7z>WU|_u@NiT97S4ZE= zYPG^@wSo|$dJoU@i~uH+iG|C{MUo`eEy%*!1wpuD)~s233-dM;gL8ra0|Ntfgpd~r zA?xY;m`o06fp95kM`zAP5*489^eEVAn)Zd}(B4+0$bkMs2=4AYJPgM)+X0sIEQg*41$GQnc8r1bNdDozfb=aEPx7y&ZH zRZENKc?5$&h@!~CL{Z!p4u_we4&B1EA;7@EK%LQOd>k^f&S*5kY&J9d9mp)Y)sRRe zGD-k7s7Z-PB!WmJlHy5}Bx%YkiPM4rLqkJPNRq_NIzk967E4M$ueZf3!<7Wc2Bmc% zhad^7to^&5@I)fPx&WpA zpmk5C|B@sj9*?UkiL+T|6DkniZfcxv}>fY46aRM;u1PBI$>j@z#W}VS!gwbdmlUbK3TrDgf zkE==mW&B);p%zCJMTEm)@H{Uk!kYl@pR56s-(P)$nHv7<3Urwh%&?SqCIry}X|X z3fJo8h{a-z0Lm^vZ$Gc~yllV2;c$v4QIe#?f*{;6fByUlQxYeX0HIKbnRQgb<2X*Y z-#*hdy)Im3oOnErSS$vk(Wpxa%(e2f-J3`x5RFD52!cG`v$0rg+e9dd6EZ0@5{X+&uj7bQ?Fp59h3iXu}!!dw5e1U~(P(sw(P%s^uY7~Skfz-$q19Tn!j*Ay!FZHCnjiTm+kJ^d z0^x8Np->3%cwAS02_ZL`Os3{jr%r9r_g1+f?-C#!4zK4p?nSx#mg6{Z9GBI7OQE+_ zkGJ(pl9W*i)Jjt;jv5K*a5HrTX~os!V-N)4Fd-zbN@89K5Q#+I;5d%;TWaEdEUkDf z=9b>Ldb@yZ>BuXK&NGzT`&w~xA%G-Fu-R+~g+k8?g0Kw$#;Yjil>o6=j3vf#T$))2 z=-19O#m`j{%#CR_qY`<7#@ z`aveh)6_#EEsdR4GOciVdh}aw{&RuNW`oP+VsjOHdwbE<)s-e?#)G`C4vt2nICbh2 zs;a6`QBk2>Z^z^tR%$T%(mv6*TIMq2DrBt!^lZK>z1L5JCvb%gbT6 z+W{oq)vc|q7#bSNIjwBSD*@!0^7(uS1Ok{jb0&(4iqhiHm&nu|Xqk&@*VXz{we;nc zN(W~`p%9yBqI{1+KuHRDg%%eVqokyS&3owX?#7ujXH@Ua2l6ff5{Lq$ae zs;a8eOhFn~S>Q@?WKx#&YR_8Fq2KhQtdK&8b~TtxCb(QKW{CuYL3DO@A`}Ycz0&0< zC;=$^em|22#l^*G6`!q;Gqsp}`tU5Mn7L;QP-f|*b^&S_7#P6N&=6{BYS`e+c=I#S3LwXEC@Lyq4lq#^;q`hE z2m~_r?OJ)x)IE$BlimfWf#-R2b#=k%bi(a+=dHh^c~UFzvE)@PEvwbalsq75+EFD> zts>=6c70ly))F9>f*u|o#>mJBs;jG0+{yVwJ|qC`LYz(~TVR?Kuc7JZC)lw%hF}Dk@4b?fia!N~_mv!l{Y) zY1;+l6QNKDkw^q(Wo0NSDal*9x zft;nmSWQ7XYDeefQFpe|lb1=vXNs4}+$+Qw0L8TG0_30t5s$~w-Q5kR(+QW$r73%Vm4bI)$*hz+STH#-8Utz04;Hr4?<+~ngxSFrXVt*KA#Waa5!ULwDO**V&&JhbOGhHd|=v006i^@=Xvz?^`WS! z2ridPS1Zw~e4EY2hHHUjccZ4{X%TZQqj_qIq5N7Qx`MnDAfMtX+jA(C1u8cgm5V); zp!d>mqtOV5!@=Gm8jYf_uTNFUQ$9OaPhKXCKO2#ztQ9a($fjXalhI zq7)@B5C~vsXh`#UYR^@MWx6+;r67NoOy0urU`mb!WJ0DFS8FM;SPXrAeJCz2P7&#H zSgls($pexbH}v=SXRM%H`g5)PDbv#u^I9ax2MVGDX3AhLnb$Jea*ZoV5{8F|5sgMs zTwI*8DKypafus&GFff2L^UYMIrq-N`nfu#2?8jZr~bV3wG^z`(wgQ9YgFv@&nQ`oc|LD@8ZwfOl$ zURMVC!87y?_P^YXwNa48H@&|ry0Ax*@JD{wt*0WYp=Z)3l}cT z+oSZ@+twB3t<8R1@r`pLkaZl?*J_} zNs_kgT3j{%c$!Ns#<;&S}xISAr^~aXlN)Wjb919ag9bJJ6VLrv)k>g<%^<-Xf(?9G{~l< zt7+wWEfwYefq? zlfejsGxa16&kq*DKHG^Czu%9}|M?}>{D(CF#y?F;c@0QCH&AW(mj0(>0CdkFK@bp$ zL|`_XS!HM`ka`s}HD^#D5Wv1qKZVI;!iwd~;dZ-0NYa0DsJS^g+h|~b4Rz;xG%&9c zK<@D293~W-?Fc6#Nc2Zi7|(GW${IZ=UQmHEhguOkJ)Bb)phr9#jYgD|l(1=Ai9`Z| zAh4xbTIo@@Fx}ZC7K+xs_ZS`?#;2cs29wEzYc_0Pdnf=vO-&6W9;YE$ zreqfYe4Dw_t7e0Mz~6L6B@!_E`U?O6y$9RVT9?x9%~qgta@lM)IGs)y31OQguuJ|8`a7ysdvL-FvI(|R(6kfRP=qgcQ1~gIFT|Mm#y&WQY<)*N12{ikg}lxJMVp%I_N-9Aw@}we<6a zf=mjf8MMzU#msdJ(fQFyv_5wL^X|DQHL@t7WL^dOzwx4PcMI&7R->t@iJ4}@!^3E8 zZADpG8CI=a$tqT@;N>1jx-%zj@oKFc&}ZM%so&9P6tP&0oeXBNSTxTVlBfCg@#E<1 z=)iC=2mq+BugBsGF2L~5dZ`UQ9!TH$9C+ZyNUBWkN*CCeE!83ssl9^iv=YmC2WrYdPo!9p)^z1 zkxlQAO9Q*zo+1sR(P-L)P-Vp&ICv08j~-=}PrH{$G>Wrl&$1mtDCDibqoad`t647j z!h}o+ssD$y2>sLhICG#Cp+FGjOR7<`p&q@jpFnsZ2#{nU4i66l01O<5b(dWRm&=7< zFo;vFt>|cP$AN|Z`X;Dirnzv)BQt`msy$v#dZfRQu6I$DTzbLKF!$LVxp|CZT2yU3w`( zp%7|oYg4+1DLobdXty+CAXvKPa&)|T6z#jeMvRYxkYvMfFQ`G)hItriZv&8&07_-2 zp}ro2fdIO_UK~Gu9F2{Qtkug$AGKP&meQv8J(Pqvc<>-rtXRRU3@Qzp4jn=$9LB7f zGjYjiqBrI971Qit(C@(K(q){V5K2VT7f-)6s-OWo; zck@#8zI_VuXdGs%1;z8rz?lq~H*X%k{OT)oojHT0OP79|$g(%O_aW9($+;+j@^=zN5gf;1`}XaaF=GZKNy4H>5*@>nbe04Zzo_I~sc+g&Rb zi{VfpfJ284;fnR^QCC-|nZHc`weaGLFXGKN-^7dm@(0Wk-G~pw(Y5C!W?j_)2@CLbB2xD84Lz^JRS@V4k8!~;={drF?a4< zT)u8y);wj(t0;=tw{IU#oH&8b&Q5Gy@-qy+atebuHF`7P|F9j)|LHomvu8<32}(*z z5Dte^bc4fReu-Y64;5~A$}{9!>vu)-&Iy$g#-#)apwPE3c1@L%0Y0ps>wifp7+lL!( zyb-Ve@in-c2uwBti2#r!NC1cg__})0_g))L`A11HnlHJf(B9F3GiT1gYPDifLqkS| zE?eI8=3Or)TnUte#-qoz&=$_~Jl3sShdm#BfYYZ>qqDOU%a$#Jf#bjn0+uy4f{a=U z7KL^yz*aPKw?)f3^AZ` z$qdZ@!7>o11>V1Wjn4hwK#-CBM6h7N z0!Wg?&gGFm%WO8|+6^1<=fC^~O@|KQnhhJ$@*^jKT0W!EC|X)t@Yz#;#o1T@v)44B z@gFW_*IoBq0{@8~44)l>+`ZZD_2U1%@dm6m8zQ6U1eds6xMa;5rU=qWCv=!v%__-M z(YYwE*-)?vA=xr$Hk;YXTS7?6Dc*GJR;$&D4Od@{Yc_018OCiH-Cfk-aIkTE`Lh9_ zva%AZSFc7_R~K4aTT@!Q+HYmvZ8jUu>^hFX@gCHDZvmFwt2mlPlwhxPK!OAlXTtL3 z%h{zwB7xxWFnFGa$K$~duD_lg`ywB&pd*ag%2MlpJ}}{H1C2&w%88*o&$H9Jwe0%Z z+FJbG=FI?rQ!Oo+Kk6E7sISKtO-*QOYQnlvg->2U%NiTe+}w=AhYu&+v5K^n@#TmI zBKY$Ed6zHhuR7z~)XX%UDa*_N7{n*jh-m6d2{Xh3CUCA*Jq zG7*o**^HxDES4e-a*+c0z{Gh1NBe8}sT_2;R=HVorpj43T9JehG&VNkbbC8mT3d0! z1sA|Qs$t6u(CKu-@At#!^P#G$D($-3GbBmEq31pX04(|8>a>ah0RQJ*5JVBRE9ZhU zCW%|Wa3Sg!E=)1!~=dF?4ZM_JkP5R+$eu5(^Dge z+wI2MwQCWN$MMcP@1Uorhh2|EA~@aA0ZEdO81*G&>i6lVbN6vbk_4;K3W!o#yyk!2 zgW=u)=5K6-bAI|R=XwbYeA_r^mnaAVDKzFl*K<{9xloyuEuj5{U#(pFXXbuDsyY$pwG_f+(W(#U@l;F&BMbbfEWG7y6EM z!!@S@7ysw$({u^F?pv*Xoz6v!L?Z0?SvsYyP`j?=od9xkjVgIsQ?t~Ni5S`Luc@iQ z?YG^A=H_M`J$4Kd0D)Y})^e#dNF)+$b`v#^EvU!LjDX$VweytjH??3#aDo|MTX}!_i~MG)1T?;Ved6 z{NzRqG@ZfVnE@C$1LoecENyZIy+0TCZ7%&cAxUQ#&+|+g$d97W2lBcNLGw;oInXRn_kVnr{VJJTH#u0X$=We%Rqi^u_%fk z6GFtrix;PQsd7ZVR|d5M$qf5^K6H0?XPn!vX4YjhZ`7`5GVSDH%HNstp%!<%`O{;{ zDW5~vBJiWSj3i0$`~81==%I)1d;k6SuO;KO1@kHa2qD}%@4U0!>2y9w!;D5FDk>`2 zB+qOby+*oY3e$=smjG&~m1(tb`mOd`{(me|K>44J6$mmjHX4og?cKZgg$Eye@Ff84 z0EE$d#$1W{CIA6Yv1QAa>o;!P_?W}tm^&H{yWNhes;ZQY8?&`0c|5h>xrE98Qvv`; zBY;}PDX-;H(OThJ1fU06(-}|{ZEbD4wr$(?TvJoiX8^(&9fBNBTDM?d;+ z0FDAkAWyAcj)D+?C7!GWD}V)0J@wQN*R5OkfZ1$jr$3dKm$NC-D)*}X){2uYt{g){ zL#zU{2#~48D#ORq4TM4=ghHW|xPd_6$c`O5o_+oG*LMLpivmYDIN*H9J{Taj#aIy27;LSFXJH!3Q7w`J6d(Zlu@EW;1GPYBD;IBq_JO{nXM>N&vaXPA>tJ;d%%V9bFYH zKTa+ZiS+H#G6I0h<$}lK zN!c}H4A0Q~PYD1d^^ihK08tb%G&Gdf>W?2k{_6Ja+y7T{bMr^YqiL55CWQb%iZmz% zu=M4ZU%sopzJ4>kZZsO<@pw>LTB@4_dUXaR0o0(?y49{_>g&VdaN7Aofk5EMYp=cb z$5GR+3xGI!?}S&zq!EB+;9F_1;I6ywy5g2wZuxtc%f(iPQr#fa$sf5Yi*i4J8UgZQ z1tb!Qw5{iPo(~;4a^%%J?zrO>0AB!zVG>%s9FtA}fRO+IoB&q-?svc2ykyCe%_ftn z2uRK_s;Q|-(b)Amk<`NFIzU-jSz0`;%2o?gBf!wm5YC=Go6_q0`}_Al_uO-T*tv7( zUjg_q$rVpAB?v$vGZ`1&c;k&1-F^4n|0tIR4u=D^wY91{eCI+4c^5#pXrT|9P5J-; z1Yk)-K~xGRg<9py|Epb(#bWUJd?^E9JkN*r?Afzp>(;G10ep!9IdsN~DMbJvMH&^o&D@_2Y zU4Yurvr2KV43qy3hr{UW>q}|%p-`ypt+(F#$d=WjZxEX^qwhI;8T_WK$r2_mb8v9*$c`O5cI@1_b3cGnNVfVZUHQN?Apnp<0t~fjw(3?6c^9BY0C|~&LLvBkzLc^0Xf)clYuBzF+qZB38-T+ALYPLaUXE!=016oq zW&l|F{PWM>ym;~A&2-Lz!C*j5O%2<2jbeCsm{qcxhmo3gwAIU=hqku1T~9y#^sCLy z&7T73L2`!9v}*NoOltxFDI_ofShH!^ zCJk0ETefV*6Hh#Gr`&;Lu~<-CT+GG*=(6lUAb|e<{xs9>x#ynSv2*9n&yj5PBF>@8 z2hK49P{_s>YAsh~~`vpM=eel5tJ05xD zk&kc=wt6|vNdf?AeuImaEn8OozylB5D4%nn<|y)dy?eH8+xCa%=H^2HPGeNb1J1q5 z2hL#v04XHk0Mr0z{MpZbw&2!VZ@pLUKmwAc-CJ+HwPXAC?VkZS2q1!UxZ)|!X#!9v z{06H5xL$eXmA{)eZ{7_?qp|4Z$&;`C^rt_470G_S1Lt60uZ8o106>~Fr~+`|rcIk_ z0N~Gm{_{6TI&>l!t^9Mn;wdJ4pTNlitx!UUh@=C@PYAKcVlfWMY1ksp0lPj|oHr6c z4uv!TlH&fn5cx`+mjs}Y4=$Z=6;E+q6W}`l{~v!4wxje|1Azbl002ovPDHLkV1ipa B#b5vc literal 0 KcmV+b0RR6000031 diff --git a/account_vendor_bank_account_default_purchase/static/description/icon.svg b/account_vendor_bank_account_default_purchase/static/description/icon.svg new file mode 100755 index 0000000..a7a26d0 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/account_vendor_bank_account_default_purchase/static/description/index.html b/account_vendor_bank_account_default_purchase/static/description/index.html new file mode 100644 index 0000000..7363cce --- /dev/null +++ b/account_vendor_bank_account_default_purchase/static/description/index.html @@ -0,0 +1,469 @@ + + + + + +Account Vendor Bank Account Default Purchase + + + +
+

Account Vendor Bank Account Default Purchase

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

This module allows you to set a default bank account purchase orders. +That bank account will be propagated to its vendor bills.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  • Go to a partner form view, and edit the Default Bank Account in the +Sales and Purchase tab. The partner must be set as a ‘company’, or as +an individual without a parent company.

    +

    Note: If you do not set this value, it will be equal to the first +bank account created in the contact. This is the standard behaviour +of Odoo

    +
  • +
  • You can disable the default bank account option at contact level, +unmarking the “Has Default Bank Account” check.

    +
  • +
+
+
+

Usage

+

To use this module, you need to:

+
    +
  1. Create a purchase order. On the other info tab you can see its bank +account, which will be equal to the configured in the partner’s +“Default Bank Account” field.
  2. +
  3. Confirm the purchase and create its vendor bill. Its recipient bank +account will be equal to the purchase’s bank account.
  4. +
+
+
+

Known issues / Roadmap

+
    +
  • This module depends on account_payment_purchase. If the payment mode +of the purchase has a payment method that does not require a bank +account, the default bank account will be empty.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Sygel
  • +
+
+
+

Contributors

+
    +
  • Sygel:
      +
    • Harald Panten
    • +
    • Valentin Vinagre
    • +
    • Alberto Martínez
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

tisho99

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_vendor_bank_account_default_purchase/tests/__init__.py b/account_vendor_bank_account_default_purchase/tests/__init__.py new file mode 100644 index 0000000..2528222 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_account_vendor_bank_account_default diff --git a/account_vendor_bank_account_default_purchase/tests/test_account_vendor_bank_account_default.py b/account_vendor_bank_account_default_purchase/tests/test_account_vendor_bank_account_default.py new file mode 100644 index 0000000..6bd4d21 --- /dev/null +++ b/account_vendor_bank_account_default_purchase/tests/test_account_vendor_bank_account_default.py @@ -0,0 +1,113 @@ +# Copyright 2024 Alberto Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import flectra.tests + +from flectra.addons.account.tests.common import AccountTestInvoicingCommon + + +@flectra.tests.tagged("post_install", "-at_install") +class TestAccountVendorBankAccountDefaultPurc(AccountTestInvoicingCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.bank_account1 = cls.env["res.partner.bank"].create( + { + "acc_number": "12341", + "partner_id": cls.partner_a.id, + } + ) + cls.bank_account2 = cls.env["res.partner.bank"].create( + { + "acc_number": "12342", + "partner_id": cls.partner_a.id, + } + ) + cls.bank_account3 = cls.env["res.partner.bank"].create( + { + "acc_number": "12343", + "partner_id": cls.partner_a.id, + } + ) + cls.product_a.type = "service" + cls.manual_out = cls.env.ref("account.account_payment_method_manual_out") + cls.journal_c1 = ( + cls.env["account.journal"] + .sudo() + .create({"name": "J1", "code": "J1", "type": "bank"}) + ) + cls.supplier_payment_mode = ( + cls.env["account.payment.mode"] + .sudo() + .create( + { + "name": "Suppliers Bank 1", + "bank_account_link": "variable", + "payment_method_id": cls.manual_out.id, + "show_bank_account_from_journal": True, + "fixed_journal_id": cls.journal_c1.id, + "variable_journal_ids": [(6, 0, [cls.journal_c1.id])], + } + ) + ) + cls.partner_a.supplier_payment_mode_id = cls.supplier_payment_mode + + def create_purchase(self): + return self.env["purchase.order"].create( + { + "partner_id": self.partner_a.id, + "order_line": [ + ( + 0, + 0, + { + "product_id": self.product_a.id, + "name": self.product_a.name, + "product_qty": 1.0, + }, + ) + ], + } + ) + + def test_account_default_purchase(self): + # Test the default partner account in purchase orders and its invoice + self.partner_a.user_default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = True + purchase_id = self.create_purchase() + self.assertEqual(purchase_id.supplier_partner_bank_id, self.bank_account2) + purchase_id.button_confirm() + invoice_id = ( + self.env["account.move"] + .browse(purchase_id.action_create_invoice()["res_id"]) + .exists() + ) + self.assertEqual(invoice_id.partner_bank_id, self.bank_account2) + + def test_no_account_default_purchase(self): + # Test no bank account if bank_account is not required in payment mode + self.partner_a.user_default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = False + purchase_id = self.create_purchase() + self.assertFalse(purchase_id.supplier_partner_bank_id) + + def test_account_default_invoice_purchase(self): + # Test the bank account propagation to invoices + self.partner_a.user_default_bank_id = self.bank_account2 + self.supplier_payment_mode.payment_method_id.bank_account_required = True + purchase_id = self.create_purchase() + purchase_id.supplier_partner_bank_id = self.bank_account3 + purchase_id.button_confirm() + invoice_id = ( + self.env["account.move"] + .browse(purchase_id.action_create_invoice()["res_id"]) + .exists() + ) + self.assertEqual(invoice_id.partner_bank_id, self.bank_account3) + + def test_no_payment_mode(self): + # Test no bank account on purchases without payment mode + self.partner_a.user_default_bank_id = self.bank_account2 + self.partner_a.supplier_payment_mode_id = False + purchase_id = self.create_purchase() + self.assertFalse(purchase_id.supplier_partner_bank_id)