Commit Graph

125 Commits

Author SHA1 Message Date
Pedro M. Baeza
1ffa4034c4 [IMP] account_payment_order: Optimize also account_payment_line.payment_type 2019-05-27 12:39:44 +02:00
Pedro M. Baeza
6633da6631 [FIX] account_payment_order: Fix closing ) 2019-05-27 11:35:36 +02:00
Pedro M. Baeza
4d89fb4a12 [FIX] account_payment_order: Fine-tune amount_company_currency SQL 2019-05-27 11:03:48 +02:00
Pedro M. Baeza
f7456c5d96 [FIX] account_payment_order: payment_line > account_payment_line 2019-05-27 02:43:36 +02:00
Pedro M. Baeza
6d749f17ae [FIX] account_payment_order: state not present in pre 2019-05-27 02:31:12 +02:00
Pedro M. Baeza
3a435ede48 [FIX] account_payment_order: Can't populate payment_type in pre 2019-05-27 02:20:34 +02:00
Pedro M. Baeza
442f06ce59 [FIX] account_payment_order: Proper related populating SQL 2019-05-27 02:04:56 +02:00
Pedro M. Baeza
b333af7e58 [FIX] account_payment_order: Flake8 2019-05-26 02:32:14 +02:00
Pedro M. Baeza
b8141bdad4 [FIX] account_payment_order: Column already exists 2019-05-26 02:27:49 +02:00
Pedro M. Baeza
e13b46f1ac [FIX] account_payment_order: cr > env 2019-05-26 02:17:54 +02:00
Pedro M. Baeza
59dd1394e0 [IMP] account_payment_order: Populate compute fields in migration scripts
Pre-add columns for not computing these related and computed fields
through ORM, and populate their values after with SQL querys for being
faster.
2019-05-26 02:10:50 +02:00
OCA Transbot
2fb017e3b8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-9.0/bank-payment-9.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-9-0/bank-payment-9-0-account_payment_order/
2019-05-25 17:51:17 +00:00
oca-travis
ef23f59c9a [UPD] Update account_payment_order.pot 2019-05-25 17:51:03 +00:00
Pedro M. Baeza
4bec0018c4 [FIX] account_payment_order: Fix compute dependency chain
Detected doing a migration 8.0 > 9.0. The `amount_company_currency` field computation
was not depending on `currency_id` field, and thus that one was being computed before
populating the other one.

Also having both fields in the same compute method makes them less efficient, as they
don't depend on the same source fields.
2019-05-25 19:45:37 +02:00
sebalix
79f6cde082 [FIX] account_payment_order: select payable and receivable lines
When selecting move lines to create transactions, take into account
payable and receivable lines (to include refunds) as it is done in v11.
2019-02-22 16:06:07 +01:00
OCA Transbot
4fb5c59195 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-09 11:41:03 +00:00
Martronic SA
c229cec578 Fix structured communication
Adds 'structured' to the invoice_reference_type2communication_type ans the 'structured' type is added by the module itself in account_invoice but breaks the account_move_line.py as explained here: https://github.com/OCA/bank-payment/issues/495
2018-10-12 14:52:10 +02:00
oca-travis
8ce577aa3f [UPD] Update account_payment_order.pot 2018-10-11 17:59:09 +00:00
Alexis de Lattre
57b3743cf9 [FIX] Bug #353 crash when selecting a payment mode that has a variable link to a bank account 2018-10-09 10:23:33 +02:00
Holger Brunn
372310dfd8 [FIX] set payment_type for payment modes with newly assigned payment method 2018-08-21 12:29:21 +02:00
oca-travis
0d0c38c48b [UPD] Update account_payment_order.pot 2018-06-20 15:29:35 +00:00
Guillaume Masson
22c9fbc14a [FIX] account_payment_order: column "payment_order_type" does not exist during migration to 9.0 (#471) 2018-06-05 14:21:44 +02:00
OCA Transbot
2e9b0620ed OCA Transbot updated translations from Transifex 2018-05-26 03:27:08 +02:00
Pedro M. Baeza
45d5d7ceeb [FIX] account_payment_order: Fix filter name 2018-05-23 10:25:51 +02:00
Alexis de Lattre
d300de4823 Several small usability improvements
- when manually encoding a payment line, get company currency as default currency
- Search on payment order numbers
- Direct search on bank journal name in payment orders
- remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
2018-05-23 09:59:52 +02:00
Carlos Dauden
bd24c046b9 [FIX] account_payment_order: Add bank payment line multi-company rule 2018-05-23 09:58:35 +02:00
OCA Transbot
90319145e6 OCA Transbot updated translations from Transifex 2018-03-03 03:18:10 +01:00
OCA Transbot
b9a9309503 OCA Transbot updated translations from Transifex 2018-02-24 05:01:02 +01:00
OCA Transbot
66978b9558 OCA Transbot updated translations from Transifex 2018-02-03 03:19:36 +01:00
OCA Transbot
583d23b973 OCA Transbot updated translations from Transifex 2017-12-02 03:14:14 +01:00
OCA Transbot
eac2eb6407 OCA Transbot updated translations from Transifex 2017-11-25 03:11:31 +01:00
OCA Transbot
637bb61848 OCA Transbot updated translations from Transifex 2017-11-18 02:24:53 +01:00
OCA Transbot
7a47db347d OCA Transbot updated translations from Transifex 2017-11-04 02:26:47 +01:00
OCA Transbot
771d729a42 OCA Transbot updated translations from Transifex 2017-10-28 02:24:56 +02:00
Stefan Rijnhart
8995411144 [FIX] Migration script 2017-10-06 21:05:21 +02:00
Pedro M. Baeza
22fee0269b [FIX] account_payment_order: OU script - inbound 2017-09-30 18:34:34 +02:00
Pedro M. Baeza
d6660fb624 Merge pull request #393 from Tecnativa/9.0-account_payment_mode-ou_fix
[IMP] account_payment_*: Complete migration scripts
2017-09-21 02:09:55 +02:00
Pedro M. Baeza
0659c24236 [IMP] account_payment_*: Complete migration scripts
* Put payment modes with bank link = "fixed"
* Populate payment methods from old payment mode types
* Link for avoiding duplicates old types with new methods
2017-09-13 12:53:44 +02:00
OCA Transbot
f544503856 OCA Transbot updated translations from Transifex 2017-09-02 02:22:43 +02:00
OCA Transbot
43f8723f8c OCA Transbot updated translations from Transifex 2017-08-12 02:24:19 +02:00
OCA Transbot
3a863bec0d OCA Transbot updated translations from Transifex 2017-08-05 02:18:03 +02:00
Akim Juillerat
6ddb442ab6 [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2017-08-02 10:08:02 +02:00
mdietrichc2c
481d49a714 Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2017-07-26 15:40:14 +02:00
OCA Transbot
9f4ca7e558 OCA Transbot updated translations from Transifex 2017-07-01 02:19:46 +02:00
Pedro M. Baeza
5d11cf0bc5 [FIX] account_payment_order: Add 'sent' state to value mapping 2017-06-13 19:59:42 +02:00
OCA Transbot
3f2abf289b OCA Transbot updated translations from Transifex 2017-06-03 02:16:08 +02:00
Alexis de Lattre
4521c0e4f4 Merge pull request #319 from acsone/9.0-bank-statement-unbind-sbi
[9.0][FIX] account_payment_order: unbind payment transfer moves without deleting them
2017-05-29 12:30:37 +02:00
OCA Transbot
6b95c2af16 OCA Transbot updated translations from Transifex 2017-05-20 02:17:27 +02:00
OCA Transbot
72ca6ad12b OCA Transbot updated translations from Transifex 2017-05-13 02:13:39 +02:00
OCA Transbot
38e4da37d2 OCA Transbot updated translations from Transifex 2017-05-01 16:49:52 +02:00