Commit Graph
56840 Commits
Author SHA1 Message Date
Cédric Krier 68fdcb3f90 Add option to disable thread in tryton
As shown in #11767 on some platform the Python threading does not work well
with Gtk. So it is good to have the option to disable it at the cost of less
performance.
2023-01-26 18:31:45 +01:00
Cédric Krier 06ea8b0fba Use threading module instead of low level _thread in tryton 2023-01-26 17:57:42 +01:00
Cédric Krier c4bf6ccc11 Add quality module
Closes #7600
2023-03-12 22:24:45 +01:00
Cédric Krier e6383f0804 Ensure clearing account is from the same company as the payment journal
Closes #12159
2023-03-24 12:33:54 +01: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
Nicolas Évrard 5179e6cd40 Insert multiple rows at once
Closes #12106
2023-03-02 22:43:30 +01:00
Nicolas Évrard e18d604aa8 Use IDENTITY column for table id columns 2023-03-13 17:59:29 +01:00
Nicolas Évrard eef0c3d870 Do not shadow previously defined table handler 2023-03-24 18:07:29 +01:00
Nicolas Évrard 37f2ed9e84 Update definitions of constraints only when they changed
Closes #12136
2023-03-13 17:58:27 +01:00
Nicolas Évrard 09dbef446e Do not pass class to __table_handler__ classmethod 2023-03-13 17:56:41 +01:00
Nicolas Évrard d945809d35 Update all table definitions or only those specified in arguments
Closes #12136
2023-03-13 17:55:28 +01:00
Cédric Krier 2808d7dfc2 Fix languages variable name typo in emails 2023-03-27 16:11:19 +02:00
Cédric Krier c689590c8e Clear password hash read even if there is no cache
This was introduced by 2c557f1b4882
2023-04-01 00:18:01 +02:00
Cédric Krier f40cea7507 Do not fails to clear password from cache if there is no cache
This was introduced in 7b5157206d32

Closes #12165
2023-03-30 22:36:18 +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 810780a789 Remove purchasable constraint on product when quantity is negative
Closes #9057
2023-03-23 17:37:34 +01:00
Cédric Krier e0a6aff42b Remove salable constraint on product when quantity is negative
Closes #9057
2023-03-23 17:37:17 +01:00
Cédric Krier 1aa9226401 Publish convert_from method
Closes #9007
2023-03-23 00:33:22 +01:00
Cédric Krier c48e7b36c6 Add reconcile and unreconcile from general ledger lines
Closes #7360
2023-03-13 23:52:18 +01:00
Cédric Krier 9c85f825f9 Add and remove empty lines in scenario 2023-03-13 23:52:02 +01:00
Cédric Krier 0c4bc6752a Add check for README.rst file
Closes #12111
2023-03-15 15:29:57 +01:00
Cédric Krier b719d8aed1 Add rstcheck 2023-03-15 16:33:19 +01:00
Cédric Krier ac4d4a7fbb Use multivalue API to access product multivalue fields
Closes #7474
2023-03-19 19:57:30 +01:00
Cédric Krier 5c7648a6e1 Return multivalue from template when field is not defined on product
Closes #7474
2023-03-19 19:56:33 +01:00
Cédric Krier 276cf8277b Disable button and action when screen and records are readonly 2023-03-19 01:44:45 +01:00
Cédric Krier bb0445d52d Set record as readonly when group is readonly 2023-03-19 01:44:05 +01:00
Cédric Krier 0bff126745 Disable new button when record is modified
To simplify the management of the state of button, activate_save is merged
with set_buttons_sensitive.

Closes #8053
2023-03-19 01:20:45 +01:00
Cédric Krier df56af6cde Set analytic lines on account move from asset update
Closes #12131
2023-03-18 00:47:46 +01:00
Cédric Krier e20b7a15ce Use instances in skip sets instead of id 2023-03-16 13:31:20 +01:00
Cédric Krier 2106797f73 Do not consider as valid mandate linked to an inactive account number
Closes #8065
2023-03-14 00:16:54 +01:00
Cédric Krier 8c586dc21f Deactivate numbers when bank account is deactivated 2023-03-14 00:15:47 +01:00
Cédric Krier 0f85e6d97d Use classmethod to compute state of module dependency 2023-03-16 10:02:15 +01:00
Cédric Krier 750d282999 Update module list by batch 2023-03-16 10:06:10 +01:00
Cédric Krier 2a0fc175ef Add account_statement_mt940 module
Closes #11839
2023-03-03 00:18:34 +01:00
Adrià Tarroja Caubet d1d32e6e57 Add pending window domain on payment group
Closes #9584
2023-01-19 11:38:37 +01:00
Adrià Tarroja Caubet 8d4043edf8 Skip sale lines without the type line to compute credit amount
Closes #12130
2023-03-09 15:26:25 +01:00
Cédric Krier cb93430699 Merge multiple dimensions on package and package type
Closes #12139
2023-03-14 16:38:06 +01:00
Maxime Richez 8a0c3f12c7 Remove useless readonly state on package field in move
The changeset 3423f15dfcbd added readonly without removing states.
2023-03-24 15:02:26 +01:00
Cédric Krier cf91c530ce Get today from ir.date in product cost history test scenario
Since 8d4d6b810c72 the company has a timezone.

Closes #12156
2023-03-23 10:27:28 +01:00
Cédric Krier fe0f0552ed Remove process_exception argument when calling update_selection
The changeset 61900bf04dfb added such argument to caller when it does not
exist on the method definition.
2023-03-24 11:06:22 +01:00
Cédric Krier 881cbcfb2c Rename moves exception and simplify computation 2023-03-12 22:11:34 +01:00
Sergi Almacellas Abellana 640753a0d8 Do not copy templates relation when duplicating a category
Closes #12158
2023-03-24 08:56:09 +01:00
Cédric Krier dd8dc0d414 Add One2Many lead times to product template
The One2Many can be used by the MultiValue field to speed up computation.

Closes #12133
2023-03-13 23:00:02 +01:00
Cédric Krier 721ae8dc69 Rename product lead times to production lead times
#12133
2023-03-13 22:53:44 +01:00
Cédric Krier b55209f5e0 Update test scenario to follow new order of shipment moves from b5b54bf7d450 2023-03-20 22:40:51 +01:00
Cédric Krier 1d715726c1 Do not create marketing parameter when context value is an empty string
Closes #12145
2023-03-16 17:13:34 +01:00
Cédric Krier 5daacd7264 Do not try to load :string value to render textual value for tryton list
The changeset 61900bf04dfb added such call when it is not needed and always
fails.
2023-03-18 14:38:41 +01:00
Sergi Almacellas Abellana 95bea9dfde Define invoice line standalone per supplier
Closes #9994
2023-03-17 11:32:39 +00:00
Sergi Almacellas Abellana 0aca186400 Update purchase invoice line standalone documentation to new format 2023-02-21 14:12:57 +01:00