Commit Graph
18 Commits
Author SHA1 Message Date
Mark Shane Hayden 8054155048 Correct the invoice amount_to_pay calculation for multiple payments
A typo causes an iteration through payments to set the paid amount to the value
of the last record only instead of tallying all the payment values, so invoices
with multiple payments do not report correct values. This patch corrects the
typo to make the calculation work as intended.

issue6471
review38351002
2017-04-28 12:08:39 +02:00
Cédric Krier f3ba31e014 Add missing pattern keyword to default_payment_group_sequence
payment_group_sequence is a MultiValue field so its default method must accept
pattern keywords.

issue6467
review37361003
2017-04-28 12:04:15 +02:00
Cédric Krier 789a5363a5 Catch KeyError on ModelData.get_id in default method
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.

issue6409
2017-04-01 10:41:09 +02:00
Cédric Krier d07fb2fe01 Remove Property fields
issue2349
review39261002
2017-04-01 00:26:50 +02:00
Cédric Krier d85a03bb09 Support direct debit of payable lines
issue6173
review26001002
2017-02-17 18:51:15 +01:00
Cédric Krier f90825590d Set default journal when paying line
Only when there is only one available journal.

issue6077
review33641002
2016-12-13 18:34:22 +01:00
Cédric Krier 49a5bf593a Allow to block payment of line
issue5889
review30511002
2016-10-01 19:25:02 +02:00
Cédric Krier c0ece2d255 Ask payment journal for each currency
issue5888
review26671002
2016-09-27 12:16:22 +02:00
Cédric Krier 2cc9d5d3ac Decrease amount to pay of invoice
issue5859
review28771002
2016-09-19 22:18:48 +02:00
Cédric Krier 21a9747fda Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:32:47 +02:00
Jonathan Levy 013ac86f3c Add Python3 support
issue3211
review24831002
2016-02-26 19:48:46 +01:00
Nicolas Évrard b20faf7595 Add date to Pay Lines wizard
issue4921
review23381002
2015-09-04 11:22:42 +02:00
Cédric Krier e094c9a48a Add missing company domain/field
issue4311
review7691002
2014-12-03 16:13:20 +01:00
Cédric Krier 200009dd3c Fix most flake8 errors
review8771002
2014-12-02 12:54:44 +01:00
Robin Baumgartner 12682b7d5b Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 13:59:34 +01:00
Cédric Krier 1877a14879 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:53:54 +01:00
Sergi Almacellas Abellana e5025f2fca Fix search_amount for payment with diferent kind than the account's one
issue3766
review4431002
2014-03-19 00:47:15 +01:00
Cédric Krier 45185ac1ba Initial commit
review926002
2014-03-10 23:06:29 +01:00