Commit Graph
58607 Commits
Author SHA1 Message Date
Cédric Krier b0590200db Set invoice journal only when type is changed
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.
2023-04-29 12:57:57 +02:00
Cédric Krier f2838915d4 Set invoice account only when changing party or dates
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.

Closes #12239
2023-04-29 12:56:51 +02:00
Cédric Krier e63e90809a Ensure to always have at least one set to union stock moves of commissions
Closes #12247
2023-05-02 15:06:17 +02:00
Cédric Krier 74bd070241 Use description list to document configuration files 2023-04-21 11:59:48 +02:00
Cédric Krier ab8a993c85 Use locale timezone to export CSV in locale format
Closes #12224
2023-05-07 10:08:24 +02:00
Cédric Krier dc3afbd016 Define process delay per sale and purchase
Closes #12209
2023-04-12 13:42:18 +02:00
Cédric Krier 672e9c1a7b Add headers attribute on table data cell of tree view
Closes #6669
2023-04-10 12:17:42 +02:00
Cédric Krier 63e6036c04 Display sum on column header
Closes #8134
2023-04-10 01:34:19 +02:00
Cédric Krier 5335a2022d Convert sum attribute into boolean 2023-05-06 14:25:22 +02:00
Cédric Krier ee1a9a7901 Remove expense and revenue on "Charges et produits financières"
Closes #12196
2023-04-09 19:23:15 +02:00
Cédric Krier 375d86c353 Show invoice line on timesheet form
Closes #4737
2023-04-08 23:55:43 +02:00
Cédric Krier 84d83120c5 Add receivable/payable to company 2023-04-07 18:24:09 +02:00
Cédric Krier d547689e0e Add sum to aged balance term and balance 2023-04-07 17:10:39 +02:00
Cédric Krier d0d40d7f89 Restore scroll position to the position before loading more rows
When the scroll is at the bottom (and a footer is present), when new rows are
added the scroll stay at the bottom which trigger again to load more rows.
This continue until reaching the end of the tree.
To prevent this behavior we restore the position of the scroll using the
height from the top.

Closes #12223
2023-04-28 12:56:15 +02:00
Cédric Krier 22a72f4732 Do not add multiple times a more row 2023-04-28 12:53:04 +02:00
Cédric Krier c03923f88b Count optional column as visible if the tree is not traggable 2023-04-28 12:52:09 +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 74ff1b1b7e Add pay, block and unblock payment buttons to invoice lines to pay
It can be useful for the user to be able to create payment for invoice lines
directly from the invoice form.
2023-05-04 19:51:00 +02:00
Cédric Krier 7ddfbb5ee2 Support order method for all fields
#7075
2023-04-10 13:14:03 +02:00
Nicolas Évrard 4f28d7ac39 Shorten arguments when logging 2023-05-03 23:13:42 +02:00
Maxime Richez 7f3e9993d9 Add skip warehouse option on context of lot by warehouse
Closes #12230
2023-05-04 09:25:59 +02:00
Cédric Krier 54fad3a1c8 Store records selection on export
Closes #12179
2023-04-12 17:41:48 +02:00
Cédric Krier 74540107b1 Handle evaluation error in get_cost_price of cost price revision
The method can be called with unsaved record so the check has not yet been
called.

Closes #12216
2023-04-13 16:40:09 +02:00
Cédric Krier 05a0b221d1 Lock cron table at the transaction starts
If the lock is not taken at the transaction starts since c8771e45b861 an
exception is raised.

Closes #12248
2023-05-02 14:34:37 +02:00
Sergi Almacellas Abellana c8095a1a84 Add missing bank account on process sepa without bank error message
Closes #12249
2023-05-02 16:52:28 +02:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 3dc192bfe5 Add tag 6.8.0 2023-05-01 13:19:31 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Nicolas Évrard 3e6b8bf54d Fill the empty spaces when computing alignment while expanded
Closes #12141
2023-03-14 10:26:08 +01:00
Cédric Krier cc8d93040f Manage dereferenced name in SIREN and SIRET identifier clause 2023-04-29 11:42:30 +02:00
Cédric Krier 63eddf169f Search SIREN and SIRET with identifier type equals to fr_siren
Closes #12237
2023-04-29 11:43:02 +02:00
Cédric Krier 918193aa36 Extend carrier form only if incoterm module is activated
Closes #12233
2023-04-27 23:12:41 +02:00
Cédric Krier 87f1cf42da Do not fail to update chart if parent template is no more a template 2023-04-26 11:26:08 +02:00
Cédric Krier 3a15e586ca Delete on cascade locations
Closes #3689
2023-04-22 18:43:45 +02:00
Cédric Krier f0005d74b7 Do not override deleted record instances by related records 2023-04-22 18:31:30 +02:00
Cédric Krier a94b20b70f Do not update related records by foreign key if they are going to be deleted
Closes #3689
2023-04-22 18:29:44 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier 010a51934e Keep quantity of 1 for free shipment cost line
Closes #12128
2023-04-21 16:55:42 +02:00
Cédric Krier fa7c90cbf9 Test shipment cost against None to support 0 value 2023-04-21 16:56:29 +02:00
Cédric Krier 1e8bb12c2d Do not count header as exported record
Closes #12225
2023-04-28 08:43:09 +02:00
Udo Spallek d3c41cb73c Try __main__.__file__ as application name and fallback to 'trytond' on fail
sys.argv is not reliable to get the process name.

Closes #12242
2023-04-28 23:45:43 +02:00
Cédric Krier 8039dfd5a4 Do not rely on INSERT returning in the same order as VALUES
There is no guarantee by SQL standard that the order of the returned values of
INSERT are the same as the order of VALUES.
Also there is neither any guarantee that the generated id follow the order of
VALUES but the ORM relies on such order to keep records ordered in the same
order as the user insert them (and also for sequence order with NULL value).
So for database that supports multirow insert, we need to set explicitly the
value for the column id to ensure to preserve the insert order.

Closes #12220
2023-04-28 19:04:02 +02:00
Cédric Krier b4d78247cf Support returning more than one nextid 2023-04-22 11:05:23 +02:00
Cédric Krier 4a9e0713d6 Support authorization for werkzeug >= 2.3
The werkzeug refactoring always return an Authorization instance.
If the type is our custom 'session', we must parse the token attribute.

Closes #12234
2023-04-28 09:39:34 +02:00
Cédric Krier 2f42e08090 Compare purchase request from the same company 2023-04-22 17:48:50 +02:00
Adrià Tarroja Caubet c6d3c06278 Add active field on operation form view
Closes #12236
2023-04-27 11:53:42 +02:00
Hartmut Goebel 9d6d093a4c Fix typo for "incoming" in documentation 2023-04-26 17:03:35 +00:00
Korbinian Preisler 18b5bb31fb Call correct super method for packing customer shipment with quality control
Closes #12232
2023-04-26 15:43:05 +02:00
Cédric Krier e880df6e0e Add empty option for taxon rank
Closes #12228
2023-04-19 16:06:51 +02:00
Cédric Krier 9403abd791 Search only for statement related to records valid when applying rules
Closes #12185
2023-04-11 10:44:08 +02:00