Commit Graph
58765 Commits
Author SHA1 Message Date
Cédric Krier f4e9ef595a Select by default the first active carrier
The available carries can contain inactive carries because it is just a list of
carriers matching the criteria.

Closes #12888
2024-10-20 22:12:32 +02:00
Cédric Krier ac96da85d6 Use ModelSQL.lock to lock table when validating SQL constraint
Since c8771e45b861 locking table must be performed at the start of the
transaction which is managed by the `Transaction.lock_table` method which is
used by `ModelSQL.lock` but not `Database.lock`.

Closes #13626
2024-10-24 15:06:00 +02:00
Cédric Krier 74bfb4af96 Do not force to lock table at the transaction start when updating module 2024-10-24 15:45:40 +02:00
Cédric Krier 1765468674 Update pixbuf loaders and immodules when building installers
Closes #13611
2024-10-21 18:01:53 +02:00
Cédric Krier 3aecfc9658 Do not fail to set value of the wrong type to Dict Entry widget
Closes #13621
2024-10-23 13:56:53 +02:00
Cédric Krier 0125b704de Store document number of AEB43 as char 2024-10-23 13:30:46 +02:00
Cédric Krier 95cc30b9e3 Convert AEB43 document number to integer when stored as information
Closes #13620
2024-10-23 13:26:40 +02:00
Cédric Krier c1a736f118 Add rules to check code jobs to run only if targeted files have changed 2024-10-24 10:43:59 +02:00
Cédric Krier 64bcec5fa6 Do not update unit price of stock move when it is not required
Closes #13561
2024-10-19 23:06:22 +02:00
Cédric Krier 18aad8ae0e Install setuptools before generate and check documentation
Closes #13628
2024-10-25 09:44:39 +02:00
Cédric Krier 7f9d1ff68e Fix typo in the handle exception wizards of sale and purchase 2024-10-23 09:38:35 +02:00
Cédric Krier 5546f5d125 Use proper name for Hidden Recipients in email template help text 2024-10-19 09:39:34 +02:00
Cédric Krier 803fc3a54a Reduce the size of docs artifact
We just need to objects.inv for intersphinx mapping.
And as the linkcheck verifies only http links, we do not need the html files.
2024-10-24 10:13:31 +02:00
Cédric Krier ea41b52449 Apply saved optional to column with the optional attribute
If the same column is added twice in a view with and without optional, only the
columns with optional attribute must be updated.
2024-10-15 12:25:46 +02:00
Cédric Krier e92d79df01 Group optional column with the same
The optional state is stored only by field name so the toggle menu should
display only one state per column name to avoid ambiguity.

Closes #13603
2024-10-15 12:13:54 +02:00
Cédric Krier ac524f08db Simplify demo company
The most common usage is to have a single company so the demo should show this
use case.
Also to help demonstrate the different access right, more users are created
with a subset of groups.
2024-10-14 21:30:40 +02:00
Cédric Krier f288356adf Do not replace redefined product field with template function field
Closes #10322
2024-09-30 16:53:49 +02:00
Cédric Krier 660689b128 Invert sign when searching on deposit amount of party
Since 2cc065fbce6b, the getter is using credit - debit so the searcher should
also.

Closes #13563
2024-10-04 09:21:43 +02:00
Cédric Krier 5d1c35d5f8 Round unit price from the price list computation
The unit price may not be roundable if the user expression results in a too
large for the Decimal context.

Closes #13542
2024-10-08 16:11:50 +02:00
Cédric Krier 7c22ab2f61 Raise FormulaError also when computing unit price from price list 2024-10-08 16:10:14 +02:00
Cédric Krier 4563f61fc9 Use tuple to compare identifier types for migration 2024-10-18 13:53:00 +02:00
Sergi Almacellas Abellana c29771ec9c Use SQL query on party configuration identifier types migration
Closes #13577
2024-10-15 12:57:32 +02:00
Cédric Krier ca00614407 Do not set line terminator when copying a single row
When a single row is copied there is no need for a carriage return.

Closes #13573
2024-10-14 09:35:11 +02:00
Cédric Krier 496ee650da Do not use negative company ID from context to compute credit limit
Closes #13596
2024-10-11 19:31:14 +02:00
Cédric Krier d967356c7e Return location instance in getter of sale and purchase
If the location field is empty, it prevents to raise an attribute error when
accessing the id.

Closes #13544
2024-10-11 15:59:18 +02:00
Cédric Krier f53b5cb0d0 Update documentation of account credit limit 2024-07-24 11:53:54 +02:00
Cédric Krier f5d3f4c0e5 Update account credit limit tests for more receivable and revenue accounts
Closes #13605
2024-10-17 17:20:32 +02:00
Cédric KrierandDavid Harper 10b81b4410 Update documentation of account payment SEPA
Co-authored-by: David Harper <dave@libateq.org>
2024-08-08 23:39:50 +02:00
Cédric Krier 7d0d2df3fe Update documentation of account dunning 2024-10-17 11:04:46 +00:00
Cédric Krier a4d3989874 Update documentation of account stock continental 2024-10-17 10:16:03 +00:00
Cédric Krier a1a602159a Update documentation of account tax rule country 2024-10-17 09:46:50 +00:00
Cédric Krier 422be751d9 Update documentation of account stock landed cost weight 2024-10-17 09:27:32 +02:00
Cédric Krier 2b188f1f0a Update documentation of account stock landed cost 2024-10-17 10:41:39 +02:00
Cédric Krier 4fb1f4b277 Update documentation of account statement rule 2024-10-16 08:31:40 +00:00
Cédric Krier cf0fff897e Update documentation of account tax cash 2024-10-16 07:32:34 +00:00
Cédric Krier f5cfc9341d Update documentation of attendance 2024-10-15 18:55:14 +00:00
Cédric Krier 2f1446a5c0 Update documentation of authentication SMS 2024-10-15 17:43:50 +00:00
Cédric Krier f3c767dc6f Update documentation of authentication SAML 2024-08-02 15:51:49 +02:00
Cédric Krier b9465aae47 Update documentation of bank 2024-10-15 17:02:17 +00:00
Cédric Krier ed6e62d396 Update documentation of company work time 2024-10-15 16:28:03 +00:00
Cédric Krier b30a4005df Update documentation of Google Maps 2024-10-15 15:14:33 +00:00
Cédric Krier 0721f62c20 Add docker installation options in the documentation 2024-10-15 13:26:28 +00:00
Cédric Krier 286c924486 Quote empty string when formatting list value of domain
This is needed to keep the empty string in the list on a second parsing.

Closes #13558
2024-10-02 17:06:58 +02:00
Cédric Krier 8edd9f79f8 Use equality operators when stringify in domain clause with singleton
Closes #13557
2024-10-02 17:02:55 +02:00
Cédric Krier f2e064272f Replace in comparison with equality in ModelStorage copy 2024-09-30 23:15:08 +02:00
Cédric Krier 8efee8823a Do not copy relational fields with filter
Closes #13549
2024-09-30 23:14:36 +02:00
Cédric Krier 70f6a94537 Optimize searching stock moves with FIFO quantity when deleting 2024-10-14 17:55:20 +02:00
Cédric Krier 597ad2af0a Forbid to cancel stock move used for anglo-saxon accounting
Closes #13597
2024-10-14 17:54:40 +02:00
Cédric Krier 9e9fdb7782 Cancel account move when stock move is cancelled
Closes #13597
2024-10-14 17:54:18 +02:00
Cédric Krier 745099113f Enforce strictly positive currency rate 2024-10-14 15:18:19 +02:00