summaryrefslogtreecommitdiff
path: root/addons/payment_transfer/models
AgeCommit message (Collapse)Author
2018-05-29[MERGE] forward port branch saas-11.3 up to 37eed7c509fChristophe Simonis
2018-05-23[REF] account,payment(_*),sale*: downgrade transactions into debug itemsqdp-odoo
It was very confusing for the user to distinct account.payment and payment.transaction. From now on, the transactions are technical objects and, in the backend, we only refer to it in log messages (Front end will be adapted in the same fashion later on). They are hidden in debug mode in accounting\configuration\payments as their purpose is now purely technical/log This commit also aims to reduce the gap between the accounting app and the transactions: account.payment objects are created/validated upon completion of transaction. To ease the capture/voiding of pending transactions, the related buttons are now displayed directly on the SO/invoice instead of the transactions. Was task: https://www.odoo.com/web#id=35857&view_type=form&model=project.task&action=333&active_id=967&menu_id=4720 Was PR #24043 [FIX] add domain based on journal to payment tokens Was opw: https://www.odoo.com/web?debug#id=1828206&view_type=form&model=project.task&menu_id=5200
2018-04-26[IMP] payment*: auto-create journal for payment.acquirerLaurent Smet
This commit adds the auto-creation journal for installed acquirers. This is not easy because: - The acquirers are created on the 'payment' module but are enabled only when the specific module is installed. E.g. Paypal is enabled with 'payment_paypal'. - To create a journal, a chart of accounts is required. However, the post_init_hook on the 'account' module makes the installation order harder. E.g install payment_paypal directly: The module are installed in the order: account -> payment -> payment_paypal -> l10n_generic_coa. To fix the problem, the journals are created at two moments: - During the installation of the chart of accounts. - At the installation of an acquirer module. E.g. payment_paypal. Was PR #23904 Was task: 1831620
2017-05-16[FIX] payment_transfer: hack the broken hackThibault Delavallée
Put bank data back in transfer providers. Otherwise users are very very sad to not have a default message containing bank accounts data.
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-04-08[IMP] account: misc UX improvementsFabien Pinckaers
Allow to configure the bank statement import mode from kanban When doing a manual journal entry, don't show the maturity date Removing Issued total, using credit instead (less code, more useful to have due amounts, instead of overdue) Creating a bank, set a name 'BofA Current' and an account number (that way, the account.account is based on name) Settings Wizard & menus: better sentences Statement CSV Import: installed by default (it does not add any menu) remove use_in_payment: complex field, only used for a default value Small code cleanup [IMP] sale: moving order date to secondary tab (strange on a quotation)
2017-01-04[IMP] account,payment: account journal visibilityJérome Maes
Remove field 'display_on_footer' to stop displaying account journal on report documents. As the field is removed but also used in payment to generate default 'Thanks Message', put a new field on account.journal in payment module, to keep the role 'display_on_footer' had in payment.
2016-12-30[MERGE] foward port of 10.0 up to revision ↵qdp-odoo
84a650e33aadb29661121410813e3de37a5ad3e9
2016-08-31[FIX] payment: change custom acquirer to workDenis Vermylen (dve)
- custom acquirer auto_confirm field changed to none. - changed default_acquirer_button to actually display a button used wire transfer's template (transfer_acquirer_button) - set dependance to module_payment_transfer as it doesn't work without and use transfer as provider. Note: This is a quick fix to make it work, it's quite ugly. Before the fix it didn't work an people duplicated the transfer payment acquirer and edited it. One downside for usability is that the payment icon will be the one from transfer.
2016-07-06[MIG] payment_transferThibault Delavallée
No functional change.
2016-07-06[MOV] payment_transfer: file organizationThibault Delavallée
2016-07-06[REF] payment_*: method signaturesThibault Delavallée
Methods with signature - cr, uid, id - cr, uid, <browse_record> have been refactored to be future multi ensure one methods.
2015-10-23[MERGE] forward port of branch saas-6 up to ↵Denis Ledoux
105b1c0014f6f4c1314af8fa612bdeb38356b4ec
2015-10-01[MERGE] forward port of branch 8.0 up to 34ce3e3Denis Ledoux
2015-10-01[ADD] *: CSRF protection in forms and routesChristophe Simonis
* make CSRF protection the default on all non-SAFE methods note: there currently is no way to call a CSRF-protected endpoint without a form-encoded entity-body as that's the only place we get the CSRF token from. * simple CSRF token generation: just use the HMAC'd session id, no generating a new random token per session then HMAC it * use constant-time equal function to avoid timing attacks * assert that a database secret is configured before hashing/validating the CSRF token * opt-out database manager from CSRF: The super-admin password serves the purpose of a CSRF token in the database manager screens. There is no request database to obtain the secret and generate a CSRF token.
2015-09-30[FIX] payment_transfer: 'Wire Transfer' provider translatableMiku Laitinen
Closes #8398
2015-08-19[REF] base: simplified res.partner.bank and res.bank objects for a greater ↵qdp-odoo
usability + [IMP] account: bank journals are now the bank accounts of a company
2015-01-16[IMP] Cleanup and refactoring of exception handlingGoffin Simon
Unify and refactor exception handling in framework and addons. The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes: - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration. - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights. - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request. - `MissingError`: raised when an operation is attempted on a record that does not exist. - `ValidationError`: raised when an operation violates a SQL or Python constraint. - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback. All exceptions take a single message argument. The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions. A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages. This commit introduces a more consistent policy for logging errors and warnings: - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations. - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention. - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2014-11-21[FIX] payment_transfer: correctly display transfer informationrmu-odoo
When moving fields name -> provider on payment.acquire, the condition in payment_transfer was not updated. This lead to no post_msg value in the Wired Transfert acquire. Fixes #2423, opw 613934
2014-04-04[IMP] payment_transfer: Transfer -> Wire Transfer + updated testThibault Delavallée
bzr revid: tde@openerp.com-20140404084528-sfdeyj7sl6dq4tm1
2014-03-19[IMP] payment modules: added provider selection field that is differentThibault Delavallée
from the name. This allows to distinguish name and provider. Provider is a more technical field, used to call some specific methods (<provider>_method_name). The name field is used for display on the website. Code and views udpated accordingly. bzr revid: tde@openerp.com-20140319144608-0i4rv520l0bh53f0
2014-01-24[IMP] payment: renamed message in pre_msg, msg displayed beforeThibault Delavallée
payment. Added post_msg, message displayed after payment. [IMP] payment_transfer: added a default value (generated at create) for post_msg, that contains bank accounts details. bank accounts linked to the current company and used in report footer are shown. [FIX] payment_*: make the buttons noupdate. [IMP] payment: portal_published -> website_published + propagation [IMP] payment: added process selection field that will be used for some control in the website, telling w hether we want to refresh a payment validation page or not. bzr revid: tde@openerp.com-20140124134652-cc0nz08znnlmftw4
2014-01-22[RENAME] payment_acquirer_* -> payment_ *Thibault Delavallée
bzr revid: tde@openerp.com-20140122175702-1h1e51z4njt4s70w