Cédric Krier
5c3f4e503e
Use fixed location type to compute quantity to invoice for sale and purchase
...
Using the computed location to get the expected type is not reliable because
for return order, the location can be of different type and the stock move can
change of location type.
Closes #12203
2023-04-13 17:45:09 +02:00
Cédric Krier
a1538856b7
Fill taxes from default account for sale and purchase line without product
...
Closes #2479
2023-04-09 19:58:49 +02:00
Cédric Krier
ae6978354e
Limit the size of grouped insert depending on number of columns inserted
2023-04-11 15:57:57 +02:00
Cédric Krier
f11d7be10c
Use correct name for payment group model in statement rule matching
2023-04-08 17:52:26 +02:00
Cédric Krier
2c38fbc5c4
Compute related to from statement rules all at once
...
This ensures that only unambiguous value is set and only once.
Closes #12123
2023-04-08 17:51:06 +02:00
Cédric Krier
b0b173f84d
Convert product cost datetime in UTC from the company timezone
...
Closes #12026
2023-04-11 00:30:00 +02:00
Cédric Krier
f58fb73869
Generate XML coverage for account statement mt940
2023-04-12 00:21:07 +02:00
Cédric Krier
fe793b5924
Do not override list of products with recommendation generator
...
Since e10256f43aea, the variable names collide.
Closes #12222
2023-04-17 10:19:43 +02:00
Cédric Krier
1d2f4d7163
Reuse on_change_with_result to convert result of Function field getter
2023-04-15 09:15:46 +02:00
Cédric Krier
e74fe80df9
Convert instances in RPC call result for on_change_with on field
...
Since d142b33fa3ab0fe5af25957f90ee77fe7eee51b3 the on_change_with method can
return instances.
Closes #12217
2023-04-14 13:09:23 +02:00
Cédric Krier
e444814cf7
Fill keyword arguments using dictionary to launch action
2023-04-12 18:27:55 +02:00
Cédric Krier
9e0ba4502d
Do not set s nor p parameter to export URL if screen has no limit
...
Closes #12212
2023-04-12 18:40:49 +02:00
Cédric Krier
fa2f85adbe
Set limit attribute only if defined in URL
...
Closes #12211
2023-04-12 18:35:52 +02:00
Cédric Krier
8c53e10335
Update documentation link for Spanish SII certificate
...
Closes #12197
2023-04-10 10:48:44 +02:00
Cédric Krier
0233bfe8d6
Format using SQL Identifier type sequence name
...
The sequence functions are using string parameters so for case sensitive
sequence name we must pass a string containing double-quoting if necessary.
Closes #12194
2023-04-08 11:24:45 +02:00
Cédric Krier
4d950fc8e9
Do not quote sequence name coming from pg_get_serial_sequence
...
The result of the function is already quoted to be suitably formatted for
passing to the sequence functions.
2023-04-08 11:12:20 +02:00
Cédric Krier
a35f2a5bc8
Use plural for posted moves in context
2023-04-16 19:07:51 +02:00
Cédric Krier
e4729c4acd
Normalize second currency label
2023-04-16 19:07:25 +02:00
Cédric Krier
97d9d573c0
Add plural on line instead of standalone
2023-04-14 09:38:59 +02:00
Cédric Krier
3c26cb725c
Fix typo in account move template expression error message ID
2023-04-13 16:42:17 +02:00
Cédric Krier
228743d45b
Use warehouse from sale and purchase line to fill tax rule pattern
...
Since 6efb525a7b23 the warehouse is always up to date for the line thanks to
the on_change_with getter.
Closes #12200
2023-04-11 23:38:33 +02:00
Cédric Krier
d31d4dd554
Drop python 3.7, add python 3.11 for quality module
2023-04-12 00:19:44 +02:00
Cédric Krier
d49f0ce8fc
Set cron timezone with default value
...
Closes #12056
2023-04-11 00:12:33 +02:00
Cédric Krier
a826d91015
Ensure reset password has at least the minimal length for password
...
Closes #12028
2023-04-11 00:08:28 +02:00
Cédric Krier
2fa03cc26c
Remove timeout source to set watch cursor when RPC is being processed
...
Closes #12132
2023-04-08 17:21:40 +02:00
Cédric Krier
a84cb9f07c
Do not change account nor journal of invoice no more draft
...
Closes #12146
2023-04-08 16:36:38 +02:00
Cédric Krier
6b1a4a9f27
Do not slugify file extension when selecting file to save or create folder
...
Closes #12152
2023-04-08 16:11:36 +02:00
Christophe
034d46a50d
Do not set unit prices for product without list and gross price
...
Closes #12044
2023-04-08 14:11:03 +02:00
Cédric Krier
e3e8847c3c
Use dates from context to compute account type amount
...
The general ledger dates are not good because they are defined to compute a
start and end amount.
Closes #12162
2023-04-08 14:31:25 +02:00
Cédric Krier
83b8037eca
Limit debit and credit kind to line with debit and credit in aged balance
...
Closes #12193
2023-04-07 17:03:03 +02:00
Cédric Krier
61f2f749f4
Update model data also when old values are different from the current values
...
Closes #12190
2023-04-06 20:36:25 +02:00
Cédric Krier
cb3fcf5d48
Do not strip monetary thousands separator
...
Closes #12191
2023-04-06 20:39:18 +02:00
Cédric Krier
dd3db455f2
Drop python 3.7, add python 3.11 and generate XML coverage for account stock EU
2023-04-12 00:17:13 +02:00
Cédric Krier
cc713a6951
Test extended field of intrastat declaration
2023-04-12 00:14:21 +02:00
Cédric Krier
081c9a9df9
Catch exception when finding fiscal year to compute extended intrastat
...
Since 783a99ec69c7 FiscalYear.find always raises an exception.
Closes #12205
2023-04-12 09:22:53 +02:00
Cédric Krier
ace9beeab4
Log transition only for updated records
...
Closes #12202
2023-04-11 15:10:27 +02:00
Cédric Krier
3271996993
Set send invoices to SII from last period when renewing fiscal year
...
Closes #12067
2023-04-08 18:41:29 +02:00
Cédric Krier
5c346269c6
Save fiscal year at the end of renewal
2023-04-08 18:40:27 +02:00
Cédric Krier
dbbb2be05c
Set company from the dunning line when generating dunning
...
Closes #12192
2023-04-07 14:33:34 +02:00
Cédric Krier
ca1901f0c3
Add delivery address on sale report
...
Closes #6957
2023-04-10 12:42:23 +02:00
Cédric Krier
24701615ac
Compute deferral remainder using balance of income account
...
Closes #12168
2023-03-30 23:56:59 +02:00
Cédric Krier
cc34413c0e
Change to current directory to build package
...
setuptools expect to be run from the root package directory.
2023-04-08 14:47:08 +02:00
Cédric Krier
2dc0c29b70
Generate packages in parallel
2023-04-02 18:30:21 +02:00
Cédric Krier
f2f463140f
Support deposit in second currency
...
Closes #4922
2023-03-08 16:49:14 +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
5092923d0d
Support reconcile lines with currency exchange
2023-04-05 17:46:53 +02:00
Cédric Krier
ec01a52d00
Add amount second currency to general ledger line
2023-04-01 14:26:00 +02:00
Cédric Krier
e859cf7376
Add searcher for currency on account models
2023-03-08 16:07:51 +01:00
Cédric Krier
6a05a2a8d5
Add searcher for currency on account move line
2023-02-15 19:53:37 +01:00
Cédric Krier
dc7ab1b9f5
Do not fail to set button state if there is no record
...
The readonly attribute of record must only be used if there is actually a
record.
Closes #12189
2023-04-05 18:33:38 +02:00