Commit Graph

758 Commits

Author SHA1 Message Date
Alexis de Lattre
b7345de4d5 Execute even if no version is passed to the migration function (for those who upgrade from versions where the module account_banking_payment_export didn't exist) 2014-03-23 22:48:12 +01:00
Stefan Rijnhart
c93258148e [FIX] Workaround for lp:1296229, defaults functions are passed context
as a positional argument
2014-03-23 11:06:13 +01:00
Alexis de Lattre
69ced736f4 Add migration script for the communication* fields of payment.line. 2014-03-22 22:18:17 +01:00
Alexis de Lattre
4eb5fa1671 Introduce _prepare method in the wizard "Select Invoices to Pay", for easier inheritence
Don't disable the field 'communication' when using free communication
- Structured => 'communication'
- Free => 'communication' + 'communication2'
2014-03-22 01:53:03 +01:00
Raphaël Valyi
a20665ba12 [REF] wrapping module description lines to keep cool with the PEP-8 extremists 2014-03-21 16:50:25 -03:00
Raphaël Valyi
676f572b6d [MERGE] merged HEAD into current feature branch 2014-03-21 16:12:47 -03:00
Alexis de Lattre
608d775a66 [FIX] wrong model type in inherit. 2014-03-21 15:40:35 +01:00
Holger Brunn
d2a12a08e2 [FIX] import from openerp.addons namespace 2014-03-21 11:18:55 +01:00
Launchpad Translations on behalf of banking-addons-team
eb35076774 Launchpad automatic translations update. 2014-03-21 06:57:59 +00:00
Alexis de Lattre
fdc7d91987 Fix spelling mistakes
Simplify code using str.ljust and .join()
Better name for columns in m2m field
Add docstrings.
2014-03-21 00:21:25 +01:00
Stefan Rijnhart
e58f8306ec [RFR] Unify _get_period methods on statement and statement line. As a result,
always return a non-opening period. Small API change:
      date is always passed as argument, not in context.
[RFR] Override of _check_company_id (unrelated to the fix):
      Don't call super, but integrate its check (while being tolerant when
      there is no period).
      Refresh statement so as not to overwrite the period for every line
[RFR] PEP8 in affected code and unrelated _get_period method on voucher
      Remove obsolete class instantiations
2014-03-20 16:12:21 +01:00
Holger Brunn
df5e52b4d7 [FIX] add braces 2014-03-20 15:18:21 +01:00
Holger Brunn
a70823ae7b [IMP] support stuzza's (Austrian ie UniCredit) camt namespace
ISO:camt.053.001.02:APC:STUZZA:payments:003
http://www.stuzza.at/11453_DE.pdf, pp 193 (sorry, no English version
available).
Their XSD:
http://www.stuzza.at/schemata/ISO.camt.053.001.02.austrian.003.xsd
2014-03-20 12:14:47 +01:00
Holger Brunn
b5586e9907 [FIX] import from openerp.addons namespace 2014-03-20 12:03:58 +01:00
Alexis de Lattre
daf46a3cbe Add a hook, which is designed to be inherited. For example, it can be used to wake-up the workflow of purchase order (usefull in combination with the module 'purchase_payment_order') 2014-03-18 23:51:10 +01:00
Alexis de Lattre
58393f8b0f File account_banking_payment/model/account_payment.py is now PEP-8 compliant
Introduce _prepare_* functions in the function action_sent(), to make inheritance easier.
Add support for payment lines with move_line_id = False (for example, when you make an advance payment for a supplier order).
2014-03-17 12:08:41 +01:00
Stefan Rijnhart
4692e5fbb7 [FIX] Revision 228 introduces a sanity check on whether the journal
account can still be edited on the bank statement line, but
	it does not handle falsy values in the domain properly.
2014-03-17 10:40:28 +01:00
unknown
f39a74d44c Splitting off the online account number (i.e. IBAN) lookup functionality into a separate module 2014-03-17 08:38:04 +01:00
Stefan Rijnhart
ed2557cb14 [MRG] lp:banking-addons, revno 233 2014-03-15 17:07:00 +01:00
Stefan Rijnhart
1b25c80e32 [RFR] Flake8 2014-03-15 17:05:33 +01:00
Stefan Rijnhart
538857456f [FIX] Flake8 2014-03-15 16:56:54 +01:00
Stefan Rijnhart
22c0107712 [RFR] Flake8 2014-03-15 16:54:37 +01:00
Stefan Rijnhart
e6f2f5d919 [MRG] Conflicting revision 226 of lp:banking-addons/7.0 2014-03-15 16:43:08 +01:00
Stefan Rijnhart
7b0ebfdb6a [MRG] lp:banking-addons/7.0, revno 225 2014-03-15 16:32:46 +01:00
Stefan Rijnhart
4e1524c0ef [FIX] Remove unused imports 2014-03-15 16:13:15 +01:00
unknown
31711b8720 [IMP] Update coding standards and version of shortcut module
[IMP] Add explaining comment for recent change
2014-03-13 18:39:51 +01:00
Alexis de Lattre
d5cb35de73 Add missing utf-8 header
Update state field on SEPA file objects and display it in tree+form views.
Migrate form views to version 7.0 and simplify them.
2014-03-12 23:18:33 +01:00
Alexis de Lattre
034e5732b4 Add module for French LCR. 2014-03-12 23:11:58 +01:00
Launchpad Translations on behalf of banking-addons-team
977dfff7a2 Launchpad automatic translations update. 2014-03-08 07:00:00 +00:00
unknown
e7ec9397bb [ADD] generic addon for MT940 parsing
[ADD] ING NL implementation of MT940
2014-03-06 15:05:01 +01:00
Holger Brunn
7ed9853aa8 [IMP] comment special treatment for clieop payment batches
[ADD] special treatment for sepa payment batches
2014-03-06 14:40:46 +01:00
unknown
c11062cac3 [FIX] Always show the statement line date in the standalone statement
line tree view
2014-03-03 12:21:17 +01:00
unknown
ee41860919 Add the party identifier support for Spain. 2014-03-01 15:52:57 +01:00
unknown
c2a02a630e [FIX] lp:1266890, journal account can still be modified when the one
from the registered match is leading or when the move line has
	already been created.
2014-03-01 15:49:57 +01:00
unknown
4328eaa295 [RFR] Refactoring of direct debit to pull less dependencies.
Result of a sprint with Akexis de Lattre in a corridor at Fosdem 2014.

In a nutshell, this MP moves the hooks that are necessary for account_direct_debit from account_banking_payment to account_banking_payment_export, resulting in a leaner dependency graph [1].

account_banking_payment (and thus account_banking core) is therefore not necessary anymore for doing direct debit.
account_banking_payment can now be seen as providing two essential functions:
1/ adding the notion of transfer account on payment modes (marking the invoices paid as soon as the payment order is sent)
2/ bridging with the bank statement reconciliation features of account_banking core

IMO, the next step in the refactoring process would be to move 1/ to a stand-alone module.

Other things in this branch:
- removing auto_install=True that we found unnecessary and potentially risky
- demo data by Alexis
- a trivial bug fix
- setting noupdate=1 for the SEPA payment mode types
- allow payment of customer refunds lp:1275478
2014-03-01 15:47:05 +01:00
Stefan Rijnhart
e2cf8fbfcf [FIX] Sepa batch recognition 2014-02-28 14:22:18 +01:00
Stefan Rijnhart
1f94a68d63 [FIX] Don't raise unnecessarily 2014-02-28 13:37:39 +01:00
Alexis de Lattre
948772d1b0 Add 4 new modules to handle payment type and bank accounts:
- account_payment_partner
- account_payment_sale
- account_payment_sale_stock
- account_payment_purchase

Filter the selection of invoices per payment type.
Add active field on payment.mode and payment.mode.type.
Add menu entry for Payment Types.
2014-02-25 00:19:57 +01:00
Ignacio Ibeas - Acysos S.L.
263bea20fb [FIX] account_banling_pain_base: refactored 2014-02-24 18:57:05 +01:00
Stéphane Bidoul
f839a7f0ce [IMP] more account_banking_payment_export documentation 2014-02-21 23:35:18 +01:00
Stéphane Bidoul
723d8699d5 [MRG] merge last change from Alexis 2014-02-21 23:32:17 +01:00
Stéphane Bidoul
05086d91fa [FIX] typo in super() 2014-02-21 23:29:26 +01:00
Stéphane Bidoul
46a4e2ea64 [IMP] improve account_banking_payment_export documentation to clarify its scope 2014-02-21 23:26:42 +01:00
Stefan Rijnhart
31621d12c4 [FIX] Always show the statement line date in the standalone statement line tree view 2014-02-20 13:48:45 +01:00
Alexis de Lattre
d2b7fd679d Move view from account_banking_payment to account_banking_payment_export. 2014-02-19 11:32:17 +01:00
Stéphane Bidoul
e2be1a6e0d [IMP] refactoring in order to use direct debit independently of bank statement import
In a nutshell, this commit 
- moves payment_order_type (payment|debit) to account_banking_payment_export
- makes payment_order_type visible in account_direct_debit
- make direct_debit depend on account_banking_payment_export
2014-02-16 17:13:15 +01:00
Alexis de Lattre
9ca27914c3 [FIX] ALlow payment of customer refunds 2014-02-16 15:03:28 +01:00
Alexis de Lattre
9fc12b5ca8 [IMP] Add demo data 2014-02-16 15:01:09 +01:00
Stéphane Bidoul
da5f663d2f [FIX] do not auto_install account_banking_payment_export 2014-02-16 14:59:11 +01:00
Stéphane Bidoul
80202a5c65 [IMP] move SEPA direct debit menu entries to a menu that does not depend on the core account_banking 2014-02-16 14:56:24 +01:00