Commit Graph
280 Commits
Author SHA1 Message Date
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
Korbinian Preisler 0fa98ddc66 do not create move line for tax if the amount is 0 2010-11-11 20:14:00 +01:00
Cédric Krier b8ebf6e09c Fix payment with write-off for issue1703
With changeset d6b96d13a3e6, the field payment_lines is reloaded after the
call to pay_invoice.
2010-10-01 23:27:31 +02:00
paul@nfg.nl 6a6d8716c6 fix small typo 2010-09-28 17:00:41 +02:00
Cédric Krier 8f2821375a Update for new Transaction 2010-08-19 22:02:49 +02:00
Cédric Krier 36040e0f2e Add CAST on SUM and convert Decimal into str for issue1615
SQLite fails to compare HAVING clause with a Decimal
2010-07-16 20:19:30 +02:00
Cédric Krier 9713929d6f Catch only Exception according to PEP 352 2010-07-08 19:55:01 +02:00
Cédric Krier 79ebefeb25 Add missing states on reference and comment of invoice for issue1549 2010-04-29 20:21:50 +02:00
Korbinian Preisler d27dd446f2 use setdefault() in copy for invoice_date and accounting_date
to allow override in custom modules for issue 1463
2010-03-30 12:07:18 +02:00
Cédric Krier 2a925bd6d4 searcher on Function fields take only one domain clause as argument 2010-03-23 11:26:24 +01:00
Cédric Krier e0013e5c7d Remove ids from on_change* calls 2010-03-18 18:21:00 +01:00
Cédric Krier 2f7395cd38 New interface for Function/Property fields 2010-03-11 16:45:42 +01:00
Korbinian Preisler 04505f7636 add tax field on account.tax.line for issue1401 2010-02-03 18:11:45 +01:00
Cédric Krier 9dc19b2b2e Add default search value on invoice 2010-01-23 11:41:42 +01:00
Cédric Krier 8de2a62ef1 Use get_id of ir.model.data 2010-01-21 12:08:18 +01:00
Cédric Krier 14fdcad839 Improve Function fields of Invoice
- Use reduce_ids
- Compute get_amount_to_pay only for openned invoice
- Use the same zero Decimal
2010-01-20 15:25:32 +01:00
Cédric Krier aaba43f53f Use PySON 2010-01-20 10:57:08 +01:00
Cédric Krier 77393eea54 Add index on company of Invoice as it is used by ir.rule 2010-01-17 23:12:37 +01:00
Cédric Krier e9d5c804ac Remove unused company_obj 2009-12-29 17:59:44 +01:00