Cédric Krier
913130c04f
Add deductible rate of taxes to supplier invoice
...
issue6911
review341801002
2021-04-11 18:11:05 +02:00
Cédric Krier
abd0be2ded
Check rule only if _check_access is set and enforce companies rule
...
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier
6d5d2470da
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:09 +01:00
Cédric Krier
3d58e7d45e
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Nicolas Évrard
d1d1e2f4c5
Update status of invoices linked to delegated reconciliations on deletion
...
issue9947
review319031003
2021-01-05 12:16:02 +01:00
Cédric Krier
ddf30e21ad
Add generic test for check erase party
...
issue9895
review324571002
2020-12-05 11:53:48 +01:00
Cédric Krier
3db3dff24d
Allow setting the tax date on taxable lines
...
We add a taxing date to the invoice line which allow overriding the value of
the invoice.
When crediting an invoice, the original tax date of each line is stored on the
credit line so the tax are computed the same way.
issue9520
review323791002
2020-09-05 23:37:58 +02:00
David Harper
401e8b4706
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
David Harper
6af900b817
Rename invoice state from cancel to cancelled
...
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Cédric Krier
6b68d42c89
Allow overpaying invoice
...
issue9070
review263001009
2020-04-10 18:40:26 +02:00
Cédric Krier
94503a41df
Add invoice date on credit wizard
...
issue8925
review264931002
2020-01-24 00:23:28 +01:00
Cédric Krier
300361bd90
Add test for payment term with repeating decimal and invalid ratio
...
issue8966
review265001002
2020-01-20 11:07:12 +01:00
Korbinian Preisler
e63220544c
Add credit note test scenario
...
issue8401
review249441002
2019-11-01 23:18:11 +01:00
Cédric Krier
a6bafb42c5
Group taxes also per base sign
...
This allow to report in tax code the invoice and credit note separately.
issue8759
review282291002
2019-11-01 22:50:21 +01:00
Cédric Krier
1348fb8ba3
Prevent using same sequence on earlier customer invoice
...
issue5205
review267921002
2019-09-28 23:42:07 +02:00
Sergi Almacellas Abellana
a152144739
Update sequence name in renew fiscal year
...
issue7967
review269941002
2019-07-26 09:39:36 +02:00
Cédric Krier
3668616183
Process reconciled invoice when posted
...
A supplier invoice can be paid before being posted. So the workflow should
continue if it is reconciled.
issue7999
review279231002
2019-04-15 22:12:03 +02:00
Cédric Krier
e95cf44c2c
Add group lines wizard
...
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier
25f0f7ed1a
Show reconciliations lines as payment lines
...
Once the invoice is paid, we can show the reconciliation lines instead of the
payment lines.
issue8157
review70581002
2019-03-08 23:59:16 +01:00
Cédric Krier
674bd59c1e
Allow to run test scenario on 31st December
...
The scenario pays an invoice "tomorrow" so on 31st December the move is posted
on the next fiscal year.
issue7959
review68411002
2018-12-31 20:19:04 +01:00
Cédric Krier
3a02c0f65f
Set cancel state when refund with credit note
...
and clear partial payments.
Other modules may trigger events base on the paid or cancel state of the
invoice. So we should allow the user to not trigger the paid event when he
cancel an invoice with a credit note.
issue7682
issue4775
review48581002
2018-10-15 22:56:01 +02:00
Cédric Krier
40d4113031
Add scenario about invoice in alternate currency with lower rate
...
issue7192
review52471002
2018-09-17 17:51:43 +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
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
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
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
Sergi Almacellas Abellana
92012f7760
Don't create empty delta on invoice scenario
...
issue6258
review37711002
2017-10-02 10:58:39 +02:00
Cédric Krier
8cda3affd7
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:41 +02:00
Sergi Almacellas Abellana
90eb3b7975
Add test for credit invoies with non line lines
2017-05-17 16:46:59 +02:00
Sergi Almacellas Abellana
012d690795
Use Match pattern for invoice sequences
...
issue6212
review31991002
2017-03-30 09:45:15 +02:00
Cédric Krier
c5f9b34082
Add test move on supplier invoice scenario
...
issue6185
review32981002
2017-01-13 20:13:52 +01:00
Sergi Almacellas Abellana
526fb2cbf7
Add test for invoice payment in alternate currency with change difference
2016-11-24 16:43:56 +01:00
Sergi Almacellas Abellana
02a252d84b
Skip posted and paid invoices on set_number
...
When unreconciling the payment of an invoice without tax_identifier the
set_number function is called and it tries to write on tax_identifier field,
which is not allowed to be done because of check_modify.
issue6028
review33621002
2016-11-12 14:23:22 +01:00
Cédric Krier
e190a02ef9
Add tax identifier on invoice
...
Some companies have more than one tax identifier, so this provides a way to
define which one to print on the invoice.
issue5998
review28961002
2016-10-31 17:29:23 +01:00
Nicolas Évrard
e15452bb2e
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:36 +02:00
Cédric Krier
8efc4dd1e9
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:58:16 +02:00
Sergi Almacellas Abellana
9c559494e8
Copy original amount sign when computing fixed payment terms
...
issue5758
review26491002
2016-08-05 12:29:44 +02:00
Sergi Almacellas Abellana
1e54ef271c
Ensure payment term always returns a value
...
issue4286
review26281002
2016-05-25 12:59:48 +02:00
Sergi Almacellas Abellana
bc3ca2a0f9
Round lines amount on invoice searcher methods
...
issue5460
review25021002
2016-04-12 09:20:53 +02:00
Cédric Krier
b455cda23e
Merge invoice and credit note
...
issue5225
review18921002
2016-03-20 22:58:13 +01:00
Sergi Almacellas Abellana
7e204d4635
Add scenario to test base rounding
...
issue5370
review21771002
2016-03-16 13:25:36 +01:00
Cédric Krier
3fe984e491
Add missing extra import in tests
2016-03-11 22:36:55 +01:00
Cédric Krier
e4d7bcb689
Use converted tests converted by 2to3
...
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.
issue3211
2016-03-11 21:55:52 +01:00
Cédric Krier
23cd459b36
Improve get_reconcile_lines_for_amount
...
Test all combinations of both payment_lines and lines_to_pay and keep the one
with the smaller remainder.
Use a namedtuple as result to ease its usage to callers.
issue5327
review16001003
2016-03-04 00:23:47 +01:00
Cédric Krier
25896a018f
Add Python3 support
...
issue3211
2016-02-28 20:51:18 +01:00
Cédric Krier
1c7b0aa606
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:11:56 +01:00
Cédric Krier
c3b6648204
Change payment term percentage into ratio
...
issue5286
review15951002
2016-02-03 21:26:47 +01:00