Commit Graph
100 Commits
Author SHA1 Message Date
Cédric Krier bec00bd8de Add payment method to demo
Closes #13227
2024-10-26 21:31:45 +02:00
Cédric Krier 17fb714e38 Document that getter function is called with the record context 2024-08-17 17:48:12 +02:00
Cédric Krier c8caf77630 Document _transaction, _user and _context attributes of ModelStorage
They are private attributes to avoid collision with fields but they should be
indeed part of the public API.
2024-08-17 17:47:33 +02:00
Cédric Krier 556858d1a1 Remove documentation about target_search parameter on Many2One
a8f355306be5 removed the parameter but not the docstring documentation.
2024-08-19 12:53:53 +02:00
Cédric Krier 710ec4a136 Update documentation of party SIRET 2024-08-26 22:06:16 +02:00
Cédric Krier 9c4f6e91f0 Use https for links in sao package 2024-10-21 12:07:37 +02:00
Cédric Krier 711c2d1700 Update repository link for sao package
Closes #12569
2024-10-21 12:06:58 +02:00
Cédric Krier c0028d438b Use domain iso3166-1 instead of iso3166 to translation countries
pycountry has removed the iso3166.mo file in version 23.12.7 but the
iso3166-1.mo exists since version 16.11.8.

Closes #13617
2024-10-22 16:46:53 +02:00
Cédric Krier 40520b9ad0 Filter out existing records from the search results of xxx2Many
Closes #3285
2024-10-22 01:01:33 +02:00
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
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
Cédric Krier d0efae47b5 Enforce positive number of digits for currency 2024-10-14 14:37:41 +02:00
Cédric Krier 62fe5b3fdf Enforce strictly positive rounding value for currency
Closes #13600
2024-10-14 14:35:37 +02:00
Cédric Krier 6d0270e7d8 Do not enforce implicit NOT NULL on name field of a tree
The `not like` operator implicitly requires the field to be not null but
specific implementation of the named field may allow to have NULL values.

Closes #13592
2024-10-11 10:51:04 +02:00
Cédric Krier f9e13ddc3f Include NULL value for negative search on nested Many2One and Reference
This unify the search behavior on relational fields with NULL value started
with c14f51b77b30.

Closes #13585
2024-10-11 11:24:06 +02:00
Cédric Krier d34ad9cbc9 Encode JSON value before storing it as date on inbound email
Closes #13583
2024-10-09 20:20:21 +02:00
Cédric Krier a286726c0c Test if work cost is a timedelta before converting to seconds
Closes #13582
2024-10-09 20:18:37 +02:00
Cédric Krier c02fbaad97 Fallback to 0 when summing stock values of products
Closes #13581
2024-10-09 20:15:47 +02:00
Cédric Krier 9d9a6253cd Explicitly set boolean operator to compose domain of current name of budget line
Closes #13580
2024-10-09 20:13:30 +02:00
Cédric Krier 22f6237085 Always return a string for status bar of user
Closes #13579
2024-10-09 20:10:13 +02:00
Cédric Krier 46e9405595 Do not add model name in record name of view without model
Closes #13578
2024-10-09 20:07:30 +02:00
Cédric Krier 071c98210d Do not compute sequence next number if the SQL sequence does not exist 2024-10-09 09:47:15 +02:00
Cédric Krier f10ee771e0 Round payable and receivable balance on account move line 2024-10-08 14:43:51 +02:00
Cédric Krier 68fdd840a9 Extend searchable of Template Function field instead of definition
Since 4689fc76ddb7 the definition is based on the searchable result.
2024-10-08 14:38:40 +02:00
Cédric Krier cff908ff80 Use Text field for icon content
The SVG format can have line break so the field must allow them.
2024-10-08 14:37:07 +02:00
Cédric Krier 799b8dde56 Validate Function fields when running tests 2024-10-08 14:36:13 +02:00
Cédric Krier 6868d72b86 Enforce the type of value for Function fields
Closes #13550
2024-09-30 19:13:01 +02:00
Cédric Krier f1ce119ad4 Document the attributes on the fields 2024-09-30 19:12:04 +02:00
Cédric Krier 6208cd69bd Add group names added by payment modules to help of statement rule 2024-10-13 16:31:47 +02:00
Cédric Krier 65d254c4c2 Manage payment keywords of statement rules in account_payment module
Closes #11053
2024-10-13 15:43:19 +02:00
Cédric Krier 1c95e602c7 Add test scenario for payment clearing with statement rule 2024-10-13 15:40:15 +02:00
Cédric Krier 39ae838bfe Add number as record name to payment
Closes #7285
2024-10-13 14:44:08 +02:00
Cédric Krier 3621bc78f8 Use expense journal instead of expense account as payment clearing journal in scenario 2024-10-14 15:16:00 +02:00
Cédric Krier 6309f4f18d Update budget test scenario to be less dependent on chart of account 2024-10-14 13:52:41 +02:00
Cédric Krier 6ac2e5001f Order Non-operating section account type after expense 2024-10-14 13:52:17 +02:00
Cédric Krier a3ada4ef98 Replace minimal by universal chart of account
Closes #9642
2024-10-13 23:55:37 +02:00
Cédric Krier 6063682e35 Replace unique check of promotion coupon number by overlap SQL constraint
This adds also a company field to coupon and number.
2024-10-11 15:29:51 +02:00
Cédric Krier 5853d86d25 Replace dates checks of stock forecast by overlap SQL constraint 2024-10-11 16:01:55 +02:00
Cédric Krier fce7629ecb Simplify PYSON expressions in forecast 2024-10-11 12:30:32 +02:00
Cédric Krier 56d77717c8 Replace dates checks of subscription line with asset lot by overlap SQL constraint 2024-10-11 11:51:29 +02:00
Cédric Krier 1e7dd3c351 Use SQL constraint to enforce unique usage of post move sequence 2024-10-10 00:34:19 +02:00
Cédric Krier 6f4fbb008a Replace dates checks of fiscal year and period by overlap SQL constraint 2024-10-09 17:29:27 +02:00
Cédric Krier f64e38f799 Surround exclude expression with parenthesis
Closes #13576
2024-10-09 17:19:44 +02:00
Cédric Krier ca61f7cc7b Support range functions and operators in EXCLUDE constraint
Closes #7471
2024-10-10 00:34:53 +02:00
Cédric Krier 1e85b264ca Use the intrastat country of production warehouse for production location
Closes #13524
2024-09-18 10:59:32 +02:00
Cédric Krier e8b8d6758a Use the intrastat country of the other location for lost and found location
The lost or found happens in the country of the other location.

Closes #13523
2024-09-18 10:54:22 +02:00
Cédric Krier 032813a0b8 Support None as default value for xxx2Many fields
Closes #13588
2024-10-10 09:38:40 +02:00
Cédric Krier 29de47586c Test if all columns of SQL constraint are Column before testing their names
Closes #13587
2024-10-10 00:48:39 +02:00
Cédric Krier abb51c5cb3 Test all the SQL constraints name first before testing common column names
Closes #13586
2024-10-10 00:44:50 +02:00
Cédric Krier aafa890c5c Add depends on periods when changing company of tax code context
Since fa8f759f834b there is an assert to ensure that changing values of
xxx2Many can be done only if the field had a initial value.

Closes #13535
2024-09-30 17:22:37 +02:00
Cédric Krier e16889a592 Use sparkline tools instead of pygal 2024-09-29 11:46:53 +02:00
Cédric Krier 530b55ac42 Add sparkline chart tools
Closes #13548
2024-09-29 12:36:21 +02:00
Cédric Krier ae6df62434 Collapse main navbar when link is clicked
The main navbar is collapsed automatically on small screens when a tab is
selected.
2024-10-10 14:04:47 +02:00