Cédric Krier
8666e82b80
Rename 'done' buttons to 'do' and label them as "Complete"
...
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier
254e72b074
Display origin also on invoice line list
2024-02-14 09:58:50 +01:00
Cédric Krier
d6515743cc
Display invoices and moves progress on sale and purchase lines
...
Closes #13025
2024-02-08 16:58:46 +01:00
Cédric Krier
401d2edbd9
Add account export WinBooks module
2024-04-07 11:13:31 +02:00
Cédric Krier
8b298a522b
Add account export module
2024-04-07 11:13:39 +02:00
Cédric Krier
1ad42b265f
Define generic getter and searcher for identifier of party
2024-01-19 23:35:21 +01:00
Cédric Krier
5e10e9df21
Add skip warning on trytond configuration
...
Closes #12954
2024-01-22 10:03:16 +01:00
Cédric Krier
c5eb6248a9
Disable maxDiff for scenario asserts
2024-01-22 10:03:55 +01:00
Cédric Krier
db1f9fcd4a
Update proteus tests to use model field of model access as string
2024-04-07 12:17:36 +02:00
Cédric Krier
9a4f3322ac
Fallback to searching on rec_name for fmany2one only when value is a string
...
Like Many2One field, the implicit rec_name search should only apply to string
value otherwise it is on the target id.
2024-04-07 12:16:54 +02:00
Cédric Krier
85adb630b8
Add account SYSCOHADA module
2024-04-07 09:50:53 +02:00
Cédric Krier
79fabdfd1f
Normalize logging message when deleting old XML records
...
Closes #13007
2024-02-06 15:43:10 +01:00
Cédric Krier
229e30286a
Use fromisoformat to parse date when importing data
2024-03-27 12:37:24 +01:00
Cédric Krier
9d27f8b951
Do not use sub-query with target table of Many2One for id only clause
...
Closes #13121
2024-03-22 22:40:09 +01:00
Cédric Krier
ed552f357e
Add size constraint on RPC cache
2024-03-22 19:29:54 +01:00
Cédric Krier
76cce2217d
Fetch URL icons asynchronously
...
If the URL is not yet in cache, an empty image at the proper size is return,
then when the callback is triggered, the URL should be in cache. So we force a
redraw of the treeview which should set the proper pixbuf.
The IconFactory uses a pool of 5 workers like the browsers.
Closes #13119
2024-03-22 19:16:55 +01:00
Cédric Krier
7b86761834
Do not minify JavaScript nor CSS
...
It is better to rely on the server compression and ease debugging source code
even on production installation.
Closes #11936
2024-03-15 10:13:23 +01:00
Cédric Krier
ff7cd065ad
Add module Many2One
2024-02-25 13:49:05 +01:00
Cédric Krier
a42777834e
Add model Many2One on ir.action.wizard
2024-02-25 16:23:30 +01:00
Cédric Krier
b83ad6695a
Add model Many2One on ir.action.act_window
2024-02-24 18:04:11 +01:00
Cédric Krier
51b1c05832
Add model Many2One on ir.action.report
2024-02-25 16:23:50 +01:00
Cédric Krier
dc1f2df99e
Add model Many2One on ir.model.data
2024-02-24 17:43:15 +01:00
Cédric Krier
302e92783c
Add model and field Many2One on ir.ui.view_tree_width
2024-02-22 17:49:34 +01:00
Cédric Krier
2502e07bb3
Add children field Many2One on ir.ui.view
2024-02-22 17:39:16 +01:00
Cédric Krier
c18c7dd927
Add model Many2One on ir.ui.view
2024-02-24 00:13:24 +01:00
Cédric Krier
80b61a9f63
Store model on ir.rule.group
2024-02-25 13:45:21 +01:00
Cédric Krier
5448a91bf7
Store model on ir.model.button
2024-04-06 10:48:45 +02:00
Cédric Krier
122a45b167
Store model and field name on ir.model.field.access
2024-04-06 11:04:15 +02:00
Cédric Krier
9193a425d1
Store model name on ir.model.access
2024-04-06 14:10:01 +02:00
Cédric Krier
b60f0b7044
Store model name on ir.model.field
2024-02-23 18:40:52 +01:00
Cédric Krier
0dffe1087c
Add fmany2one field
...
Closes #13051
2024-02-22 17:36:51 +01:00
Cédric Krier
e0f11efc94
Allow creation of foreign key on non primary key
2024-02-22 19:08:43 +01:00
Cédric Krier
2f84af4adf
Allow to ignore cancelled advance payment invoices
...
Since b5a7c00ebf5c there is a domain on ignored invoices which should include
advance payment invoices.
Closes #13148
2024-04-01 15:15:50 +02:00
Cédric Krier
02f21576f5
Include advance payment invoices when searching by sales
...
Closes #13148
2024-04-01 15:16:31 +02:00
Cédric Krier
e4a386c316
Instantiate pool in the initialization thread
...
Since 30429d744d29 the pool instance is stored per thread so to initialize a
pool within a thread, the instance must have been created in the same thread.
2024-04-03 09:48:48 +02:00
Cédric Krier
3f72367f13
Catch exception before the cron transaction is ended
...
To rollback the transaction must be done before the context manager calls stop
on exit.
Closes #13149
2024-04-01 16:18:13 +02:00
Cédric Krier
b0d40807ac
Update precision of cost price test from modification under stock continental accounting
...
Since 0809f9f56c4e the modified cost price is rounded with the price
precision.
Closes #13041
2024-04-01 14:04:52 +02:00
Cédric Krier
85da55352e
Setup a database for CacheTestCase
...
Since 8616fb62c5e9 some tests are decorated with transaction so the test case
needs a database to run.
2024-04-01 12:27:33 +02:00
Cédric Krier
82c1583112
Do not round Decimal to validate digits
...
Decimal may raise an InvalidOperation error if the context does not allow the
needed precision.
But rounding is not necessary for Decimal as we can just test the exponent
from the tuple version.
Closes #13138
2024-03-28 09:25:55 +01:00
Cédric Krier
79c5809cc2
Fix typo when processing refund on charge refund updated webhook from Stripe
...
Closes #13137
2024-03-27 19:38:52 +01:00
Cédric Krier
6610bf7e31
Do not set current record to the first id if the list is empty
...
Closes #13130
2024-03-26 11:20:07 +01:00
Cédric Krier
4f7acf0bbf
Use duck typing to convert single UPS package into a list
...
It seems that UPS has fixed its API such that it always returns a list for
PackageResults but it is still better to test the actual result.
Closes #13116
2024-03-21 16:55:01 +01:00
Cédric Krier
67e1423194
Use same error message for HTTP error
...
We should use the same error message between both clients.
2024-02-04 22:32:08 +01:00
Cédric Krier
6bae798031
Remove unnecessary preference keys from RPC context
...
The locale key is only used by the client to properly format in the locale.
And the '.rec_name' keys are used by preferences dialog.
Closes #13068
2024-03-01 18:06:33 +01:00
Cédric Krier
cd345c2399
Set cursor when displaying screen to select new record after copy
...
Closes #12820
2024-03-22 12:52:19 +01:00
Sergi Almacellas Abellana
8dc319a4cb
Set current record after copying records
...
Since ab82d479eca1 the current record is no longer set on load call
Closes #12820
2024-03-11 12:18:19 +01:00
Cédric Krier
2a8626afd5
Permit to remove ignored invoices and stock moves
...
Closes #13066
2024-03-01 14:44:47 +01:00
Cédric Krier
df31d37ae5
Enforce domain on ignored and recreated invoices and stock moves
2024-03-01 14:55:14 +01:00
Cédric Krier
ef56a18b3c
Set tab_domain in URL only for views that are not form
...
As the form view has an id and so tab_domain will be discarded on opening,
there is no need to add the parameter in the URL.
Closes #13046
2024-02-21 16:22:49 +01:00
Cédric Krier
e95057981d
Remove ending commit when loading modules
...
The commit call was added by a6624f31ff20 to release lock because Cache.resets
was called inside the transaction.
But Cache.resets was removed in a83631f4ba67 and Cache does not create any new
transaction since.
And since 2fd8c5f88265 the transaction is even committed only on module
update.
2024-03-13 08:42:10 +01:00