Cédric Krier
c833195650
Set default integer digits to None
2024-11-25 23:47:12 +01:00
Pedro Nuñez
7b67ad7891
Exclude report revisions from invoice copy
...
Closes #13698
2024-12-08 00:10:32 +01:00
Udo Spallek
8b252472c4
Replace usage of docstring of Model by __string__ attribute
...
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier
b58bb45544
Remove unnecessary invoice transition from cancelled to posted
...
cbb381841768 added it but it is not necessary because process use _post method
to set back the invoice to posted.
Closes #13619
2024-10-29 17:09:59 +01:00
Cédric Krier
e54257bf7c
Set payment term ratio and divisor to None when type is not percentage
2024-10-27 20:04:09 +01:00
Cédric Krier
bdabde97c6
Forbid to set ratio and divisor to zero for percentage payment term
...
Closes #13615
2024-10-27 20:03:24 +01:00
Cédric Krier
ab3fecb282
Increase version number
2024-11-04 18:51:20 +01:00
Cédric Krier
dc470fe1f4
Prepare release 7.4.0
2024-11-04 18:23:40 +01:00
Cédric Krier
015c68f2c6
Update translations
2024-11-02 16:10:36 +01:00
Cédric Krier
9b0db800cf
Use existing write-off journal in invoice test scenario
2024-10-26 21:32:53 +02:00
Sergi Almacellas Abellana
9a14948fb4
Use Function field to test if invoice has an account move
...
This prevents to hide the post button if the user has no read access to the
account moves.
Closes #13493
2024-10-11 15:33:51 +02:00
Cédric Krier
d3cca51abc
Create company and chart of account when activate modules in test scenario
2024-09-11 19:05:12 +02:00
Cédric Krier
aab7a7de97
Allow admin users to update invoice tax description and legal notice
...
Closes #13554
2024-10-01 15:31:05 +02:00
Cédric Krier
3fc39d0433
Reset cancelled invoice to posted when unpaid
...
Closes #13509
2024-09-13 15:30:26 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Sergi Almacellas Abellana
a87099396c
Clear employee fields when duplicating invoices
...
Closes #13471
2024-09-28 15:19:35 +02:00
Cédric Krier
6e798f98fc
Test if origin id is greater or equals to 0 before accessing the target record
...
Closes #13498
2024-09-09 12:46:16 +02:00
Cédric Krier
62b079225f
Remove $ before series in formatted document URL without base URL
2024-09-03 17:55:42 +02:00
Cédric Krier
0d077539bf
Store computation of invoice sequence type as cache after numbering
...
Closes #12080
2024-08-25 13:08:56 +02:00
Cédric Krier
b1ba498b87
Group numbering invoices
...
Closes #12080
2024-08-25 12:42:57 +02:00
Cédric Krier
9dc25266b0
Implement a strategy of O(n) to find the best combination of lines to reconcile
...
The combination implementation is replaced by strategy that search the
smallest remaining from the order lines by removing the last debit or credit
depending on the remaining sign.
Closes #13451
2024-08-19 23:58:41 +02:00
Cédric Krier
a2dfc4455b
Refine index definition
...
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier
01574e6700
Add searcher to summary fields
...
Closes #13401
2024-07-18 10:12:04 +02:00
Cédric Krier
48ad8ebb02
Add filtered One2Many fields on sale, purchase and invoice
...
This allows to create only instances for the lines of type line when only
those lines are needed.
This mainly avoid to compute amount for subtotal lines when accessing the
amount of instance of type line.
2024-06-22 16:50:48 +02:00
Cédric Krier
115b1e0aee
Unify message ID when creating invoice tax on non draft invoice
2024-07-27 10:23:30 +02:00
Cédric Krier
04f803bac3
Fix message ID when creating invoice tax on non draft invoice
...
Closes #13402
2024-07-27 10:22:32 +02:00
Sergi Almacellas Abellana
a4e568738b
Allow admin users to update invoice line description
...
Closes #13277
2024-05-23 11:14:22 +02:00
Cédric Krier
fcace41a1b
Included nested fields when searching invoice payments on move line
...
Closes #13377
2024-06-30 13:04:45 +02:00
Cédric Krier
13c4ed1c0b
Sum only invoice lines of type line to update untaxed amount
...
Closes #13357
2024-06-22 16:46:54 +02:00
Cédric Krier
5823bce6cf
Add tools to apply types to SQLite select queries
2024-07-04 08:45:19 +02:00
Juan Jose Pablos
fbe87b99c8
Replace link to configuration document by ref to labels
2024-07-08 19:00:26 +02:00
Cédric Krier
09985de225
Always clear cached amount before storing it
...
This is safer as if for some reason the cache is filled with wrong data, the
values will be fixed instead of keep propagating it.
2024-06-13 12:32:08 +02:00
Cédric Krier
f0b1c9d590
Align label in the middle of image
2024-06-25 12:28:11 +02:00
Cédric Krier
390310d7de
Do not save invoice sequence in set_invoice_sequences tests
...
This prevents the warning about unsaved relation record as the fiscal year is
not yet created.
2024-06-09 14:58:34 +02:00
Cédric Krier
77363b377f
Optimize and simplify search query for invoice amount
...
There is no need to include record rule clause in the searcher.
And the grouping can be done only once.
2024-04-28 17:28:58 +02:00
Cédric Krier
43599f9927
Use SQL query to compute reconciliation lines of invoices
...
Closes #13260
2024-05-16 16:06:49 +02:00
Cédric Krier
c54d3e89ec
Extract SQL query for lines to pay of invoices
2024-05-16 14:47:22 +02:00
Cédric Krier
06270e6a7a
Use decimal 0 without digits as default value
...
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.
Closes #13197
2024-04-30 19:15:44 +02:00
Cédric Krier
1035df5340
Test if cache amount is null to include tax amount when searching for amount
...
Closes #13219
2024-04-28 17:30:17 +02:00
Cédric Krier
0442c7475b
Update reports to display company logo
2024-04-19 23:30:05 +02:00
Cédric Krier
cd8777277a
Update translations [skip ci]
...
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier
38a3a8e68e
Increase version number
2024-04-29 18:03:56 +02:00
Cédric Krier
2fc668b9f7
Prepare release 7.2.0
2024-04-29 17:31:11 +02:00
Cédric Krier
b443997044
Update translations [skip ci]
2024-04-27 18:44:57 +02:00
Cédric Krier
4acd946200
Use id as default payee value on pay invoice wizard
...
Closes #13140
2024-04-21 15:33:42 +02:00
Cédric Krier
787595125a
Depends on xxx2many fields when they are assigned by a change function
...
Closes #13099
2024-04-22 08:59:48 +02:00
Cédric Krier
681b5e7d64
Do not rely on taxes order to compare with default invoice line taxes
...
Since 6f4fa96a654c invoice line taxes are compared with the default taxes but
the order may not be the same.
The order on Many2Many is not relevant because the computation always sort
using Tax.sort_taxes.
2024-04-21 22:17:28 +02:00
Sergi Almacellas Abellana
a71931c15b
Add employee fields on invoice form
...
Closes #13128
2024-03-25 15:30:57 +01:00
Cédric Krier
79e5ab807d
Set posting employee only when using button
...
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.
Closes #13124
2024-03-25 10:17:35 +01:00
Cédric Krier
0f06ca9142
Raise a warning when validating invoice with non default taxes
...
Closes #3818
2024-02-19 12:43:52 +01:00