Sergi Almacellas Abellana
d45007d32f
Clear origin field on copying lines
...
review2421002
issue3565
2013-12-23 21:16:56 +01:00
Sergi Almacellas Abellana
91b82d6122
Remove unused code on Invoice.copy
...
review2421003
2013-12-23 21:15:55 +01:00
Cédric Krier
a7ca4e89f9
Improve write-off
...
- Use account of write-off journal as default
- Add write-off journal type
issue3538
review2101002
2013-12-20 14:00:28 +01:00
Cédric Krier
79e3bb9235
Fix pay wizard for supplier invoice
...
Since changeset ec72480260e4, get_reconcile_lines_for_amount expect to have
signed amount but the pay wizard use absolute amount.
issue3552
review2211002
2013-12-20 13:53:55 +01:00
Cédric Krier
6bae222e70
Use a sequence of records, values in write
...
issue3499
review1641003
2013-12-19 14:44:39 +01:00
Albert Cervera i Areny
4c6505e7ab
Merge
2013-12-19 00:56:22 +01:00
Albert Cervera i Areny
48e48be073
Do not copy invoices one by one.
...
Do not copy invoices one by one because the new copy action on xxx2Many fields
already takes care of this.
review2331002
2013-12-19 00:55:47 +01:00
Albert Cervera i Areny
0a38b43b6b
Avoid unnecessary browsing in get_amount().
...
review2321002
issue3556
2013-12-18 23:23:20 +01:00
Albert Cervera i Areny
a246490910
Remove dependency on lines from type and currency.
...
issue3555
review2311002
2013-12-18 00:30:32 +01:00
Cédric Krier
3c872ee178
Store report cache using buffer
...
SQLite doesn't detect the binary even if stored in BLOB if the type is not
buffer.
issue2704
review1941002
2013-11-28 23:09:22 +01:00
Cédric Krier
9233332e12
Fix usage of context company
...
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.
issue3394
review1119002
2013-10-09 18:25:10 +02:00
Cédric Krier
1750d9afcb
Fix flake8
2013-10-05 12:16:31 +02:00
Guillem Barba
9bb4c1621a
Fix domain concatenation between list and tuple
...
issue3386
review1099002
2013-09-30 17:41:37 +02:00
Cédric Krier
5032a5338b
Use origin with credit invoice
...
issue1426
review1076003
2013-09-22 14:30:02 +02:00
Nicolas Évrard
4ae553d74d
Replace reference copying by relate
...
review932002
2013-09-19 17:33:27 +02:00
Cédric Krier
ade8368c34
Hide payment_lines when paid or empty
...
issue3112
review900003
2013-09-10 11:38:13 +02:00
Cédric Krier
5bcfa55544
Migration to python-sql
...
review1001002
2013-09-06 22:33:52 +02:00
Robin Baumgartner
99128cb0ed
Fix missing reconciliation lines during writeoff
...
issue3354
review1052002
2013-09-04 09:16:40 +02:00
Nicolas Évrard
974d988765
Make statements aware of negative amounts in invoice lines
...
review820002
2013-08-16 11:32:15 +02:00
Nicolas Évrard
c0e6d311e0
Do not set a default invoice_type on InvoiceLines
...
review899002
2013-08-16 10:53:53 +02:00
Cédric Krier
2b8593e1fd
Fix docstring of CreditInvoiceStart
2013-07-12 10:37:12 +02:00
Cédric Krier
cd59025fec
Don't use IN clause to filter invoices
...
In this case, filtering using an IN clause may cost more than just looping over
all invoices as the IN clause could be very large.
review940002
2013-06-26 22:46:51 +02:00
Cédric Krier
8b3872a7b3
Test Autoreconciliation of posted move with just one line of zero
...
issue3208
review867002
2013-06-06 20:33:15 +02:00
Cédric Krier
df99a699eb
Improve refund_supplier error message
2013-06-03 15:15:17 +02:00
Cédric Krier
557959cb5b
Re-add missing test for raising refund_supplier error
...
The test was removed by accident in changeset 3fa9b0a518b3
issue3241
2013-06-03 15:14:11 +02:00
Cédric Krier
7ab11b2b32
Use one getter for all amounts and use account move as cache
...
issue2936
review897002
2013-06-01 00:00:58 +02:00
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