Commit Graph
248 Commits
Author SHA1 Message Date
Cédric Krier df8e21f6af Test account before using it
Since AR, there are no more BrowseRecordNull. So Many2One must be tested before
usage.

issue2825
2012-10-10 17:54:13 +02:00
Cédric Krier cdba4e10dc Missing invoice_type in depends of InvoiceLine.account and PEP8 2012-10-10 15:44:33 +02:00
Jan Grasnick 515f5fbbd7 change domain of account to enable remove of invoice_lines
issue2626
review388002
2012-10-09 12:54:54 +02:00
Cédric Krier face64191d Rationalize accounting moves and lines
issue2056
review503006
2012-09-29 15:34:34 +02:00
Cédric Krier 83d9c368f7 Active Record 2012-09-24 22:17:32 +02:00
Cédric Krier e7a05236a7 Merge all kind of buttons
review483002
2012-09-10 15:27:42 +02:00
Nicolas Évrard e070a8db26 Use tax_rule to compute taxes from account
review453002
2012-09-06 15:12:40 +02:00
Cédric Krier b52dee2841 reate a move line even when there is no terms
It is required to have a receivable/payable line even with zero value to track
reconciliation.

issue2567
review476003
2012-08-23 23:20:02 +02:00
Cédric Krier a393cc7c6f Fix payment_lines cache issue for invoice write-off
Since changeset 3d09bdb886eb, xxx2many are no more cleaned from cache so the
newly created payment line must be added if the many2many is read before its
creation.

issue2712
review427001
2012-07-19 09:59:04 +02:00
Cédric Krier 47e9101650 Move Line reconcile must have journal and account ids instead of BrowseRecord
issue2709
2012-07-12 10:43:42 +02:00
Cédric Krier 087b52c498 Improve manual edition of invoice tax lines
review396005
2012-06-28 15:04:57 +02:00
Cédric Krier 71727e2b1e Fix some None vs Decimal
review396005
2012-06-28 15:03:42 +02:00
Cédric Krier cef1024645 Remove required on sequence
review348001
2012-05-14 15:36:16 +02:00
Cédric Krier 72d0d690d5 Use default values when adding a record via on_change
review321002
2012-04-13 13:21:47 +02:00
Cédric Krier deebd97ee6 Fix pep8 and pyflakes 2012-04-03 20:06:19 +02:00
Cédric Krier 0d157c7acc Add missing transition from cancel to draft
issue2523
review316004
2012-04-03 12:20:28 +02:00
Cédric Krier cf44ee9eb1 Allow only deleting cancelled workflowed models
review317001
2012-04-03 12:16:43 +02:00
Cédric Krier bfd72d50ed Enforce the usage of account kind
issue2475
review295005
2012-03-30 14:19:39 +02:00
Cédric Krier 2b3c0406b6 Replace wrong usage of False by None
issue2512
2012-03-27 10:43:07 +02:00
Cédric Krier 4dadaf2f2f Remove special uom search clause
review291004
2012-03-25 15:41:01 +02:00
Cédric Krier ce26b749f2 Simplify workflow engine
review256001
2012-03-25 00:17:27 +01:00
Nicolas Évrard d30e78697a Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:50 +01:00
Sergi Almacellas Abellana a1df8e3ae1 Added indexes on company fields
Put an index on every company field.

issue2184
review219003
2012-03-14 09:24:43 +01:00
Mathias Behrle 2ecfb23d8f Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:52:57 +01:00
Albert Cervera i Areny 8184978af8 Rename field payment_term to customer_payment_term for consistency.
issue2161
review122001
2012-03-03 19:08:55 +01:00
Robin Baumgartner a59138ac47 Post invoice moves after payment
issue2407
review227006
2012-01-31 11:30:32 +01:00
Cédric Krier 7d8d2b693d Add default database language code
review198002
2012-01-27 21:15:54 +01:00
Robin Baumgartner c14554496e Check the right account in the journal when paying in_invoices
issue2376
review218001
2012-01-09 08:38:50 +01:00
Cédric Krier a397170d1d New wizard design 2012-01-02 17:57:03 +01:00
Udo Spallek ba123c244f Migrate invoice reports in chunks limited by cursor.IN_MAX
issue2360
review207002
2011-12-27 14:12:23 +01:00
Udo Spallek 3a8f53e574 Drop column after migration
issue2362
review210004
2011-12-26 16:28:02 +01:00
Cédric Krier 4d68361b8c Remove change_default on fields
issue2249
review208003
2011-12-22 22:04:29 +01:00
Udo Spallek 2ca20a96c9 Format report field to buffer type for migration
issue2354
review213002
2011-12-22 12:15:03 +01:00
Cédric Krier c75851b7b7 base64.decodestring doesn't support buffer
issue2295
review181002
2011-11-21 22:12:28 +01:00
Mathias Behrle eaeab2e510 Fix sequence of arguments in UPDATE clause in migration of binary fields
issue2289
2011-11-16 14:05:21 +01:00
Nicolas Évrard 7d54aff960 correct pyflake errors
review162007
2011-11-02 15:51:22 +01:00
Cédric Krier a6e8ff28bd Fix on_change_type to update account and payment term
issue2143
review103005
2011-09-28 13:20:47 +02:00
Cédric Krier 50876d0f63 Improve Binary fields
review84002
2011-09-17 14:43:48 +02:00
Cédric Krier 101d005da2 Make PYSON more Pythonic 2011-08-21 11:20:30 +02:00
Nicolas Évrard 79c9cb78dd Use function name in workflow instead of python code 2011-08-11 16:34:33 +02:00
Cédric Krier 7d8ed09778 Add test for depends 2011-08-04 16:57:16 +02:00
Cédric Krier d2ac821e59 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:17:26 +02:00
Cédric Krier 494a91673a Change Pool into a Singleton 2011-07-03 13:18:43 +02:00
Cédric Krier 42fee1ba5c Use account taxes as default value for taxes if no product is set
review39001
2011-06-07 11:55:40 +02:00
Cédric Krier e82dee5a22 Run invoice report in commited transaction for issue1826
Using a new cursor doesn't work because it generate a dead lock when the
report is ran from the workflow.
2011-04-18 11:19:26 +02:00
Cédric Krier 5a4fba67b5 Fix usage of _parent_invoice.currency_date in on_change
The value could be empty so we must use today instead of trying to read the
field invoice.
2011-04-13 16:57:46 +02:00
Udo Spallek a5bdab3583 Start a new transaction to store the resulting report for issue1826. 2011-04-13 14:48:46 +02:00
Mathias Behrle 0b30af33b5 Add field currency_date to set the date for the rate calculation.
Additionally use this date in the context and pass ids for currency rate
calculation.
2011-04-10 20:50:56 +02:00
Robin Baumgartner d6fe80fdc2 Replacement of hard coded field exclusion list in account_invoice (issue1833). 2011-02-06 20:42:42 +01:00
Cédric Krier 3414337a6e Change get_move_line on Invoice Line and Tax to return a list of values 2011-01-16 21:49:35 +01:00