Cédric Krier
|
5aeff66acd
|
Use ModelStorage hooks instead of extending create/write/delete
|
2025-04-06 00:14:17 +02:00 |
|
Cédric Krier
|
1772caec90
|
Clean migrations for series before 6.0
|
2025-01-04 00:19:42 +01:00 |
|
Nicolas Évrard
|
cbdad75620
|
Remove old-style of super() calls
|
2025-04-04 00:45:18 +02:00 |
|
Cédric Krier
|
a276b07362
|
Make statement line number readonly when statement is not draft
|
2025-03-13 12:57:47 +01:00 |
|
Cédric Krier
|
73dfe9fc39
|
Reuse original readonly state of date of statement line
|
2025-03-13 12:57:31 +01:00 |
|
Cédric Krier
|
f101ad8d05
|
Set party of statement line readonly when state is not draft
We must keep existing states when adding required states to party.
Closes #13916
|
2025-03-13 12:56:38 +01:00 |
|
Cédric Krier
|
125d413b69
|
Make company of statement readonly once there is a line
The content of the lines depends on the company of the statement, so the user
should not change it once he started to fill the lines.
|
2025-01-20 20:01:05 +01:00 |
|
Cédric Krier
|
f66aae4d0b
|
Use statement date to compute the start balance
Closes #13827
|
2025-01-20 19:59:12 +01:00 |
|
Cédric Krier
|
b26ff9757e
|
Add metadata columns to ModelSQL with table query
Closes #9414
|
2024-10-25 00:24:39 +02:00 |
|
Cédric Krier
|
5966a42979
|
Add reporting with latest date and amount per statement journal
Closes #9330
|
2024-12-16 09:39:07 +01:00 |
|
Cédric Krier
|
6e3817ba05
|
Add equivalent domain of SQL constraints
When possible we should also add a domain so the client can provide better
feedback to the user.
Closes #9432
|
2024-10-27 16:20:45 +01:00 |
|
Udo Spallek
|
8b252472c4
|
Replace usage of docstring of Model by __string__ attribute
Closes #8402
|
2024-11-19 10:09:52 +01:00 |
|
Nicolas Évrard
|
6907ea5b7b
|
Add warning when using implicit rec_name target for relational domain
|
2024-09-07 00:39:55 +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
|
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 |
|
Sergi Almacellas Abellana
|
f1fac7036e
|
Reset amount to pay with Decimal
Otherwise amount to pay can not copy sign from line.
Closes #13023
|
2024-02-12 23:45:14 +01:00 |
|
Cédric Krier
|
7981f19cc8
|
Support second currency on statement line
Closes #12673
|
2023-10-30 17:37:54 +01:00 |
|
Cédric Krier
|
94a51aaa64
|
Invert sign of amount in second currency to reconcile statement line with invoice
When using the company currency, the amount used is credit - debit which is in
the opposite sign of amount in second currency.
Closes #12688
|
2023-10-30 17:44:35 +01:00 |
|
Cédric Krier
|
88dc4b90dd
|
Prevent to delete lines and origins of statements not cancelled or in draft
Closes #12678
|
2023-10-28 14:31:35 +02:00 |
|
Cédric Krier
|
35cff3c11c
|
Update statement lines amount from invoice when changing origins
2b9a72775e4c made the change for on_change_lines but forgot to also update
on_change_origins.
Closes #12672
|
2023-10-26 17:58:18 +02:00 |
|
Cédric Krier
|
c34add03ad
|
Do not copy account statement descriptions to moves nor lines
Since 73fda56fc994 the description of the origin is used as fallback.
Closes #12615
|
2023-10-05 12:55:43 +02:00 |
|
Cédric Krier
|
69c88b6a8a
|
Do not apply unaccent when searching on number fields
Closes #12435
|
2023-08-03 15:54:33 +02:00 |
|
Cédric Krier
|
ad0b2411c8
|
Order number fields first by length
This is more natural for incremental field.
|
2023-08-03 15:53:18 +02:00 |
|
Adrià Tarroja Caubet
|
960c220329
|
Remove migrations previous to 5.0
Closes #11324
|
2023-01-19 11:25:25 +01:00 |
|
Cédric Krier
|
51b7fe72f8
|
Support invoice payment with currency exchange
Closes #11500
|
2023-02-16 18:59:06 +01:00 |
|
Cédric Krier
|
b9c4b8230d
|
Return instance in on_change_with methods
|
2023-03-26 09:49:00 +02:00 |
|
Cédric Krier
|
4e26c991c7
|
Do not remove related_to from statement line when changing the amount
Closes #12176
|
2023-04-01 14:17:25 +02:00 |
|
Cédric Krier
|
1b6644a9a5
|
Split line also when amount to pay of invoice is zero
Closes #7707
|
2023-02-21 13:53:43 +01:00 |
|
Cédric Krier
|
d62a64e186
|
Allow statement line with amount of zero
|
2023-02-21 12:37:07 +01:00 |
|
Cédric Krier
|
45bbfa8fb5
|
Add cache to account period find and return instance
Closes #7705
|
2023-02-10 23:36:18 +01:00 |
|
Cédric Krier
|
b24fbc0046
|
Prepare migration to monorepo
|
2022-12-16 20:08:38 +01:00 |
|