jmartin
ee863ec759
Merge
2015-10-06 12:24:51 +02:00
jmartin
4a1d29509a
Fix error: invoice has not attribute bank_account
2015-10-06 12:20:47 +02:00
resteve
4a7d0f662f
Account Invoice has no attribute bank_account (_get_bank_account)
2015-09-23 10:33:46 +02:00
Sergi Almacellas Abellana
6ccc386fff
Prevent modifyng the bank accounts owner if used on invoices or account moves
...
(grafted from 65ba8a0d73771d70869979953b87b05d25a9b274)
2015-09-09 16:42:39 +02:00
resteve
39b3cf027e
New API for on_change
2015-08-28 23:19:47 +02:00
Sergi Almacellas Abellana
01348bfa4a
Refactor default value for bank account
2015-07-24 16:18:11 +02:00
?ngel ?lvarez
22171fa4d4
Correctly read bank accounts from company
2015-05-05 14:36:02 +02:00
Sergi Almacellas Abellana
27857ec2d1
Fix required bank account test in invoice post
2015-02-05 13:16:37 +01:00
Albert Cervera i Areny
d15764d9ed
We must not raise user errors in on_change calls.
2015-02-04 22:58:02 +01:00
Sergi Almacellas Abellana
7d2db2470b
Clear bank_account of cancel move
2015-01-12 15:28:38 +01:00
Sergi Almacellas Abellana
bd12067eb6
Migrate to version 3.4
2014-11-04 11:22:05 +01:00
Guillem Barba
c7b93bbd03
Prevent to modify bank fields of already used payment types
2014-10-30 13:42:24 +01:00
Jordi Esteve
e3fe88ef65
Add account bank when changes party, not only when changes payment type
2014-10-16 20:00:12 +02:00
Albert Cervera i Areny
a13df916c3
Add more information about the invoice that has no bank account.
2014-07-15 16:37:31 +02:00
Albert Cervera i Areny
6095a73753
Default value for with_on_change parameter must be True.
2014-06-10 07:19:01 +02:00
Albert Cervera i Areny
a4ecebac2f
Add with_on_change parameter to default_get() new in 3.2.
2014-06-10 07:15:12 +02:00
Sergi Almacellas Abellana
47ed11b3b9
Don't assing on_change to account move lines too
2014-06-05 13:57:24 +02:00
Sergi Almacellas Abellana
ec313ba854
Don't assign on_change attribute directly as it's managed by on_change attribute
2014-06-05 11:20:05 +02:00
jmartin
52da8d3c81
Fix DeprecationWarning: on_change argument is deprecated, use the depends decorator
2014-05-29 12:46:33 +02:00
jmartin
fbc1a53bc0
Fix DeprecationWarning: on_change argument is deprecated, use the depends decorator
2014-05-26 17:14:06 +02:00
Jordi Esteve
4a00cb24f1
Change 'partial reconcile' to 'compensation move'. Improve translations
2014-05-22 19:57:45 +02:00
Albert Cervera i Areny
447bb71dea
Cosmetic string changes.
2014-05-14 22:49:16 +02:00
?ngel ?lvarez
d05ffed378
#12195 select account bank depending on payment type, #12231 get default values on compensation move
2014-05-06 11:44:21 +02:00
Albert Cervera i Areny
be30e35d97
Merge.
2014-04-07 02:42:17 +02:00
Albert Cervera i Areny
3280a4f72e
Performance improvement for search reverse_moves.
2014-04-07 02:42:00 +02:00
Jordi Esteve
dfb86c7af9
Fix flake8 warnings
2014-04-03 20:00:30 +02:00
Jordi Esteve
17242b3671
Removed repeated decorators
2014-04-03 19:59:05 +02:00
Jordi Esteve
73d7d0a207
Not process paid invoices to avoid process them two times (it prevents that sales can change to done state)
2014-04-03 19:57:41 +02:00
Albert Cervera i Areny
40acd3476b
Fix typo: reconcliation -> reconciliation.
2014-03-07 07:49:15 +01:00
?ngel ?lvarez Serra
13180bc16c
add a wizard to partially reconcile moves creating new accout_move with difference amount
2014-03-05 18:44:58 +01:00
?ngel ?lvarez Serra
df4a8dc7eb
Only show bank_account if payment_type requires it. Also fix domain
...
http://codereview.tryton-erp.es/117
2014-02-25 13:08:37 +01:00
Sergi Almacellas Abellana
0d45b8e27b
Only show bank_account if payment_type requires it
2014-02-20 19:14:18 +01:00
Guillem Barba
9edf11a349
Fix invalid identation on super(Invoice).post() call
2014-02-10 12:02:06 +01:00
Albert Cervera i Areny
9510c65064
On invoices, do not raise an exception if user has no bank account even if the
...
payment type requires it. It will eventually raise the error when the invoice is
posted if the field was not set.
This way, no error message is shown with party on_change which is what happened
now and does not follow Tryton behaviour guidelines.
2014-01-16 17:37:48 +01:00
Guillem Barba
55cbf70176
Try to get the bank account only if there is payment type
2014-01-15 18:17:49 +01:00
Guillem Barba
37e5dd7f02
Better use of bank account fields of party
...
Revert previous commit to resolve the
Fix AttributeError: 'account.payment.type' Model has no attribute 'account_bank': None
in a better way
2014-01-13 15:56:01 +01:00
jmartin
f4b36b1268
Fix AttributeError: 'account.payment.type' Model has no attribute 'account_bank': None
2014-01-13 10:49:24 +01:00
Jordi Esteve
48d478e806
Changed file permissions to 664
2014-01-04 20:51:07 +01:00
Guillem Barba
a4564b7b4a
Final fix of Invoice._get_bank_account()
2013-12-13 12:34:51 +01:00
Guillem Barba
71acd4b8e0
Commented domain because sometimes fails
2013-12-09 18:05:41 +01:00
Guillem Barba
4be97d1af9
fix _get_bank_account
2013-12-05 20:38:58 +01:00
Albert Cervera i Areny
4a56d3d702
Set bank_account field on invoice creation if it was not already set.
2013-11-24 23:43:28 +01:00
Sergi Almacellas Abellana
7115fd368e
Changed dependency from company_party_bank to company_bank module.
...
review76
2013-09-23 09:54:08 +02:00
jmartin
2d7fa9bf14
Initial release.
2013-06-27 17:38:40 +02:00