Commit Graph
280 Commits
Author SHA1 Message Date
Cédric Krier e65e63990c Test invoice sequence before accessing id
issue3199
2013-05-23 23:01:09 +02:00
Albert Cervera i Areny 7e5850998a Remove centralised from account.journal
review853002
issue3071
2013-05-21 19:12:48 +02:00
Albert Cervera i Areny fc440bccc3 Raise an error in check_cancel_move function
issue3196
review842002
2013-05-02 09:25:22 +02:00
Cédric Krier 995ff5afc3 Fix print_invoice as it is stored only if state is set
issue2998
review780003
2013-04-12 00:47:07 +02:00
Cédric Krier c93b4429d7 Validate button is now named validate_invoice 2013-04-04 18:16:55 +02:00
Cédric Krier 8aceefaa32 Fix origin states to use _parent_invoice 2013-03-27 22:42:57 +01:00
Udo Spallek a594ce4121 Add missing Active Record migration.
issue3093
review742002
2013-03-26 11:38:41 +00:00
Udo Spallek e815a27c30 Add missing Active Record migration.
issue3081
review721003
2013-03-25 18:49:29 +00:00
Udo Spallek 9ca50210bc Add missing values to error messages.
issue3077
review733002
2013-03-25 09:47:43 +00:00
Cédric Krier 12156a7223 Add origin Reference on Invoice Line
issue2642
review717002
2013-03-23 15:37:44 +01:00
Cédric Krier 81ede7cece Remove _inherits
review670002
2013-03-20 22:50:23 +01:00
Cédric Krier 97f9a3796c Return ids instead of instance in credit wizard
issue2979
review709004
2013-03-15 01:01:36 +01:00
Albert Cervera i Areny 598767d6d1 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:54:03 +01:00
Cédric Krier d19067f3f6 Prevent refund of supplier invoice/credit note
review662003
2013-02-23 17:43:35 +01:00
Cédric Krier e329d56ac7 Call update_taxes in Invoice.credit
review662003
2013-02-23 17:42:07 +01:00
Cédric Krier 2faddc34ed Fix default value of account.invoice.tax
review662003
2013-02-23 17:40:40 +01:00
Cédric Krier 6fadca7bdd Fix flake8 2013-02-16 22:06:26 +01:00
Cédric Krier 9da77f73ff unit or product could be None
issue2976
review659002
2013-02-04 20:05:15 +01:00
Albert Cervera i Areny cebcd7d58b Make period's invoice sequences optional
review605004
issue2916
2013-01-22 16:40:44 +01:00
Albert Cervera i Areny a36e48f8bb Use list comprehension in Invoice._credit().
review644002
2013-01-22 16:06:59 +01:00
Cédric Krier 9c323cd76d Currency.compute takes only instance
issue2953
review639002
2013-01-19 17:11:54 +01:00
Albert Cervera i Areny ca99d7a7d3 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier cce8d5083a Use the right date to find period in set_number 2013-01-01 18:32:05 +01:00
Cédric Krier 5a3085ac78 Improve cancellation of invoice
- Cancel state delete or cancel existing move on Invoice
- Create draft move for Supplier Invoice when validated
- Rename Invoice Proforma state into Validated
- Rename Invoice Opened state into Posted

review583002
2012-12-23 22:28:41 +01:00
Cédric Krier e835d3937c Add some rec_name to return values of Invoice._on_change_lines_taxes
review603004
2012-12-16 23:32:06 +01:00
Cédric Krier 1a90dbf984 Fix tax key computation to use ids instead of instance 2012-12-11 17:50:06 +01:00
Cédric Krier 5a0c1dce52 Fix variable name collision in InvoiceTax.on_change_with_amount 2012-12-10 14:59:49 +01:00
Cédric Krier f6187df18c Add missing test on code before using it
issue2913
review594007
2012-12-06 19:31:04 +01:00
Cédric Krier 4ca2b538b8 Fix new depends on InvoiceLine.taxes 2012-12-06 19:30:11 +01:00
Cédric Krier 5cd181ed5b Add sale, purchase or other kind on Tax Rule and Tax Group
review587003
2012-12-05 13:01:53 +01:00
Cédric Krier 4eef88a2cc Store default language in database
review592004
2012-11-23 18:00:20 +01:00
Cédric Krier 01484e20b6 records in Report.parse are not real instance
issue2855
review586005
2012-10-24 23:34:48 +02:00
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