Commit Graph
1273 Commits
Author SHA1 Message Date
Cédric Krier 3668616183 Process reconciled invoice when posted
A supplier invoice can be paid before being posted. So the workflow should
continue if it is reconciled.

issue7999
review279231002
2019-04-15 22:12:03 +02:00
Maxime Richez 53abaa8224 Add confirmation on all buttons that can not be undone
issue5258
review271141002
2019-04-14 16:36:00 +02:00
Cédric Krier e95cf44c2c Add group lines wizard
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier 9702768861 Remove unused help key in cancel button states
issue8262
review279221003
2019-04-12 13:07:26 +02:00
Cédric Krier 7409ed112c Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:02 +02:00
Cédric Krier 13761ab184 Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:55 +02:00
Cédric Krier f104ef7bc3 Update links in package description
issue7921
2019-03-31 00:15:09 +01:00
Cédric Krier 67dfee194e Update link to dependencies hosted on defunct code.google.com 2019-03-30 18:27:04 +01:00
Cédric Krier 6ab587cf70 Raise NotImplementedError when setting Function field without setter
issue7985
review265101002
2019-03-27 00:28:57 +01:00
Cédric Krier 19701b4997 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier 5bba7d3e75 Use find_packages to discover packages
issue7963
review253111002
2019-03-22 15:33:42 +01:00
Sergi Almacellas Abellana 9f2b431be8 Use selection widget from payment method and writeoff on pay wizard
issue8150
review72421002
2019-03-15 17:52:30 +01:00
Cédric Krier 25f0f7ed1a Show reconciliations lines as payment lines
Once the invoice is paid, we can show the reconciliation lines instead of the
payment lines.

issue8157
review70581002
2019-03-08 23:59:16 +01:00
Cédric Krier 9f85b3efc0 Add rec_name to invoice line
issue8137
review56631002
2019-03-04 18:53:11 +01:00
Cédric Krier c93114b855 Display ids and rule names on access error
issue8093
review60551002
2019-03-03 23:11:17 +01:00
Cédric Krier fbc8c9b5e5 Add origin on move line and product and category on analytic rule
issue8074
issue8075
review62421002
2019-03-03 23:06:25 +01:00
Cédric Krier f65538a716 Include all identifiers from python-stdnum
issue7906
review72371002
2019-03-02 22:56:01 +01:00
Sergi Almacellas Abellana 16ca779bb9 Add default name ordering on referential models
issue7971
review66501002
2019-01-30 11:58:25 +01:00
Cédric Krier ba6959bb08 Re-add trydevpi to dependency_links
It is needed to install Tryton's dependencies of dependencies.

issue8044
2019-01-26 01:10:47 +01:00
Cédric Krier b0de06174c Replace --process-dependency-link by --find-links
issue8044
review51611003
2019-01-25 23:26:58 +01:00
Cédric Krier a5b543692b Remove unsupported ja_JP translations 2019-01-08 16:46:13 +01:00
Cédric Krier dd234aba6f Fix migration to use ir.calendar
issue7815
issue7962
2019-01-03 12:00:31 +01:00
Cédric Krier 6b707d747b Add ir.calendar for month and day
This allows to replace time_locale and use the translation infrastructure
instead. So it can be customized using the translation override or derivative
languages.
This provides also a standard base to modules that needs calendar month and
day.

issue7815
review56451002
2019-01-01 15:47:23 +01:00
Cédric Krier 674bd59c1e Allow to run test scenario on 31st December
The scenario pays an invoice "tomorrow" so on 31st December the move is posted
on the next fiscal year.

issue7959
review68411002
2018-12-31 20:19:04 +01:00
Cédric Krier afb8d64f33 Remove country code from languages
issue7863
review53481002
2018-12-31 15:36:47 +01:00
Cédric Krier bd7a6163f4 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier 2f9187d287 Remove SQL checks on invoice line type
Those checks are already implemented with domain on respective fields.

issue7940
review70471002
2018-12-23 17:31:21 +01:00
Cédric Krier 3a02c0f65f Set cancel state when refund with credit note
and clear partial payments.

Other modules may trigger events base on the paid or cancel state of the
invoice. So we should allow the user to not trigger the paid event when he
cancel an invoice with a credit note.

issue7682
issue4775
review48581002
2018-10-15 22:56:01 +02:00
Cédric Krier bb474a9cfa Do not update domain field in base class
The field on the base class is the one copied on each __setup__ call so if it
is updated (instead of assigned) this creates an implicit loop in the setup
that applies the same update multiple times.

issue7758
review54391002
2018-10-08 16:01:35 +02:00
Cédric Krier 5639a68b3d Increase version number 2018-10-01 12:54:09 +02:00
Cédric Krier 63bf2491e7 Added tag 5.0.0 for changeset 23a8931116be 2018-10-01 12:53:59 +02:00
Cédric Krier 3a4dbf19c8 Prepare release 5.0.0 2018-10-01 12:53:59 +02:00
Cédric Krier 7166dc298d Update translations 2018-09-28 23:02:31 +02:00
Cédric Krier 7754c5c3c1 Use accounting date to format invoice number
issue7716
review51541002
2018-09-26 23:06:18 +02:00
Cédric Krier bbc4a49bda Use origin instead of description when paying invoice
The payment move on an invoice must be linked to the invoice with the origin
field and let the description as free text for the user. As there is only one
description for the move, it should be stored on the move instead of the line.

issue7702
review46641002
2018-09-24 14:43:59 +02:00
Cédric Krier 237a155f16 Replace self by cls in classmethod
issue7630
review74341002
2018-09-19 00:15:58 +02:00
Cédric Krier 9d25c28b29 Avoid negative zero as amount to pay
When the amount to pay for a supplier invoice, it should not be multiplied by
-1 otherwise -0.00 will be display which may confuse the user.

issue7584
review56371002
2018-09-17 17:53:24 +02:00
Cédric Krier 40d4113031 Add scenario about invoice in alternate currency with lower rate
issue7192
review52471002
2018-09-17 17:51:43 +02:00
Cédric Krier 71642c6127 Compare amount in invoice currency against amount_to_pay
The transition_pay should have the same test as the default_ask because
amount_to_pay is computed in the invoice currency. Otherwise if the rate is
lower the test fail in transition_pay and the empty ask state is tested which
raises an exception.

issue7192
review52471002
2018-09-17 17:51:05 +02:00
Cédric Krier f67b986e79 Rename tryton-dialog-* icon into tryton-*
issue474
2018-09-06 10:01:11 +02:00
Cédric Krier 5b014da0bc Remove deprecation warning
- remove invalid escape sequence
- use  read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes

issue7666
issue7390
review53361004
2018-09-01 17:06:27 +02:00
Cédric Krier 06bf2b6969 Manage renew of fiscalyear with invoice sequences
The invoice sequences must be copied with custom code because the constraint
on the period against the fiscalyear invalidate the copy.

issue7042
review51481002
2018-09-01 16:51:38 +02:00
Sergi Almacellas Abellana ea724b8a22 Add invoice payment method
issue7450
review45561002
2018-09-01 11:21:06 +02:00
Cédric Krier a0d25923ea Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:03 +02:00
Cédric Krier 4be2b4ab6a Add support for chart of account evolution
* Add replacement account
* Add period on account and tax code

issue7417
review45671002
2018-08-31 14:58:05 +02:00
Cédric Krier 80b63d1d14 Show origin on invoice line
issue7650
review47671002
2018-08-30 16:38:36 +02:00
Cédric Krier aa232ecf0e Require fresh session to post invoice
issue7568
review51471002
2018-08-26 18:06:56 +02:00
Cédric Krier 648ff41e95 Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier 8900f729a9 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier 3d4518d28a Use sqlite3.backup when available
issue7212
review44131002
2018-08-06 19:05:43 +02:00