Commit Graph
1233 Commits
Author SHA1 Message Date
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
Sergi Almacellas Abellana 96d189ac77 Remove cancel_move from draft button depends
issue7502
review48461004
2018-08-01 10:43:43 +02:00
Cédric Krier 95309390ba Add support for Python 3.7
issue7547
2018-07-28 16:44:09 +02:00
Cédric Krier d9b40ac0d9 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Sergio Morillo f683b42f3e Show number and reference in invoice rec_name
issue7553
review53321002
2018-07-11 17:17:24 +02:00
Cédric Krier 700b6aa777 Remove unused itertools import 2018-06-26 23:57:44 +02:00
Cédric Krier a43da122fb Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:42 +02:00
Cédric Krier 3f1ea14e95 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:41 +02:00
Cédric Krier 2decfd0898 Use today as fallback for invoice date report
issue7453
review45541002
2018-05-31 14:01:41 +02:00
Cédric Krier 5a4c5fd58f Use depends on methods
issue5191
review48341002
2018-05-31 13:24:28 +02:00
Cédric Krier 142ae93b81 Fallback to the default configured language in report
issue7449
review42161002
2018-05-23 23:10:38 +02:00
Cédric Krier 20d866a807 Update missing translations
issue7414
2018-05-21 23:13:31 +02:00
Cédric Krier 0d48dffb91 Increase version number 2018-04-23 17:32:58 +02:00
Cédric Krier 57e9ca3466 Added tag 4.8.0 for changeset b9814667c187 2018-04-23 17:32:44 +02:00
Cédric Krier f4059de39f Prepare release 4.8.0 2018-04-23 17:32:44 +02:00
Cédric Krier 7da6226445 Update translations 2018-04-21 13:06:25 +02:00
Cédric Krier 63d39b248b Add Persian
issue7311
2018-04-14 17:23:50 +02:00
Cédric Krier 30f2018f7e Use subdivision instead of active in party address tree
issue4340
2018-04-05 12:00:22 +02:00
Sergi Almacellas Abellana bb4f96b159 Use deactivable mixin
issue4341
review38401002
2018-03-26 14:09:12 +02:00
Cédric Krier d56a461bfa Remove tax code from invoice tax
issue6013
review41941002
2018-03-25 23:34:44 +02:00
Cédric Krier 7b14095c22 Improve payment management
* Ensure payments on Invoice does not exceed invoice amount
* Add method to add payments on Invoice
* Update scenario to set period in context for Tax Code sum

issue7139
review44011002
2018-03-24 15:29:47 +01:00
Cédric Krier 058201c87f Add missing invoice in depends
issue7249
review39241002
2018-03-24 13:46:10 +01:00
Sergi Almacellas Abellana 1567a68edd Apply party tax rules on on_change_account without invoice
Also call tax rule with empty tax to apply aditional taxes

issue7203
review36001003
2018-03-24 12:07:26 +01:00
Cédric Krier 25f92048e4 Check pending invoice to erase party
issue7169
review38021002
2018-03-24 00:05:23 +01:00
Cédric Krier 0030150c57 Always raise exception in table handler
issue7175
review40161002
2018-03-15 00:44:58 +01:00
Cédric Krier f9934f7f6d Return the best combination for get_reconcile_lines_for_amount
issue7153
review43221002
2018-03-14 20:24:48 +01:00
Sergi Almacellas Abellana bd2189127b Register all buttons are registered in ir.model.button
issue6389
review36621002
2018-03-01 12:42:04 +01:00
Cédric Krier 8a1bc6d656 Add invoice usage to party's contact mechanisms
issue7093
review36971002
2018-02-19 19:15:24 +01:00
Sergi Almacellas Abellana 88322f767a Add depends on Button
issue6919
review40811002
2018-02-19 11:37:06 +01:00
Cédric Krier cd8072ca4e Remove MySQL backend
issue7017
2018-01-24 20:14:28 +01:00
Cédric Krier 5d17c8be38 Improve dependency links
issue7049
2018-01-21 19:57:57 +01:00
Cédric Krier 51b6786100 Make currency editable even if lines have been filled
This is no more needed as since rev 1cabb884a217 the unit price is no more
computed automatically.

issue6972
review39991002
2018-01-08 19:32:40 +01:00
Cédric Krier c6140197d2 Set context on Report.execute
Setting the context on Report._get_records does not work because the records
are not actually instantiated on the call but later so the context is lost.

issue7031
review36931002
2017-12-26 17:27:03 +01:00
Cédric Krier 6d8dc227b7 Change reconciled from Boolean to Date
It gives more information to show the date the invoice was paid.

issue7014
review43831002
2017-12-20 19:25:26 +01:00
Cédric Krier 562e68a3a3 Make description on invoice line optional
issue6860
review43781002
2017-12-18 19:02:44 +01:00
Cédric Krier 6d319aeaae Add missing colon to party_tax_identifier label string 2017-12-06 01:11:02 +01:00
Cédric Krier d26c0a6dde Compare amount in the invoice currency against amount_to_pay
issue6842
review40841002
2017-12-06 01:10:35 +01:00
Sergi Almacellas Abellana afbcfe61c9 Do not catch exception on on_change_product
issue6913
review36851002
2017-11-27 16:51:32 +01:00
Cédric Krier 26cf05ce5b Increase version number 2017-10-30 15:14:10 +01:00
Cédric Krier d400127871 Added tag 4.6.0 for changeset da49234e78ba 2017-10-30 15:13:52 +01:00
Cédric Krier 04b32ff04e Prepare release 4.6.0 2017-10-30 15:13:52 +01:00