Cédric Krier
ead6ea96dd
Group generation of BOM's code at creation
2024-08-25 11:00:20 +02:00
Cédric Krier
10949e13fa
Group generation of product code at creation
2024-08-25 10:59:44 +02:00
Cédric Krier
b468d3e762
Group generation of product category code at creation
2024-08-25 10:59:20 +02:00
Cédric Krier
911861837a
Group generation of party code at creation
2024-08-25 10:58:36 +02:00
Cédric Krier
2c87de506c
Group numbering account move at creation
2024-08-25 10:58:04 +02:00
Cédric Krier
b595b68b79
Support getting many sequences at once
...
Closes #13474
2024-08-25 11:02:42 +02:00
Cédric Krier
546247b635
Add sequence_nextval function to Database
2024-08-24 15:44:06 +02:00
Cédric Krier
f3485d10cf
Remove nonexistent sequence from purchase request quotation line view
...
Closes #13541
2024-09-22 18:21:25 +02:00
Cédric Krier
5dc10a92e1
Do not update multivalue record if the value is not modified
...
When a ValueMixin is used for many MultiValue fields, they are created with
default values when the first MultiValue is set.
But often the other MultiValue fields are set with the default value so by not
forcing the change, we avoid a unnecessary UPDATE query.
2024-09-22 12:42:42 +02:00
Cédric Krier
445df1ccc5
Cache all the records of ValueMixin without a Many2One
...
Closes #6984
2024-08-23 17:31:02 +02:00
Cédric Krier
88ed73598b
Add __slots__ to ValueMixin
2024-08-23 17:29:52 +02:00
Cédric Krier
8c7034ed1a
Display cache name on unique instance assertion
2024-08-23 17:28:43 +02:00
Cédric Krier
d8e6b42c58
Save generated avatar in a single call
...
Instead of saving the avatar on each record which result in an UPDATE query
for each record, grouping the saving of the avatars allows to INSERT multiple
row at once.
Closes #13472
2024-08-23 15:25:16 +02:00
Cédric Krier
07e582e395
Test more attributes in test_view
...
Closes #13462
2024-09-11 17:51:49 +02:00
Cédric Krier
34d7fd19c4
Make package measurements read-only when closed
2024-09-07 17:57:44 +02:00
Cédric Krier
38bb6cada6
Add sale reporting per promotion
2024-09-05 19:28:51 +02:00
Cédric Krier
e495d2dbfa
Support POS sale line columns defined before mixin is applied
...
The mixin is applied after the Model so if another module wants to extend the
method, the method may be in the super class.
2024-09-05 19:27:36 +02:00
Cédric Krier
6451c3f157
Add relate from promotions to sales
2024-09-05 12:39:05 +02:00
Cédric Krier
b3e4b7330e
Improve label of destination in party replace ask form
2024-09-03 12:00:43 +02:00
Cédric Krier
e6e93134e4
Add missing copyright notice to party replace ask form
2024-09-03 12:00:17 +02:00
Cédric Krier
8b8e54df23
Enforce randomness on unspecified value of scheduled task
...
Closes #13484
2024-08-30 17:52:43 +02:00
Cédric Krier
546e8c92f5
Group links from the same area together
2024-08-29 15:57:31 +02:00
Cédric Krier
6ac7de5098
Update test scenario to use two Many2Many for handling exceptions
...
#8142
2024-09-20 00:48:48 +02:00
Cédric Krier
b3794e1151
Fix documentation about Views menu
2024-09-18 09:44:20 +02:00
Cédric Krier
90f6084c87
Replace menu entries for view configuration by relate on model in the documentation
...
#12995
2024-09-18 09:43:59 +02:00
Cédric Krier
3651b9d7d4
Replace menu entries for view configuration by relate on model
...
#12995
2024-08-27 13:14:18 +02:00
Cédric Krier
b5f2946b0a
Add foreign keys for model to view search
2024-08-27 11:07:36 +02:00
Cédric Krier
2d12c5ce74
Add foreign keys for model and field to view tree state
2024-08-27 10:57:26 +02:00
Cédric Krier
a4a97c9369
Rename view id from view tree optional into view
2024-08-27 10:47:25 +02:00
Cédric Krier
5aa6ae9118
Add model and foreign keys to view tree optional
2024-08-27 10:40:49 +02:00
Cédric Krier
885e40d4be
Add button to update Braintree customer
...
Closes #13469
2024-08-22 18:39:53 +02:00
Cédric Krier
ee3deba96b
Raise error when updating Braintree customer
...
#13469
2024-08-22 18:36:19 +02:00
Cédric Krier
3abe5f6fc5
Add button to update Stripe customer
...
Closes #13468
2024-08-22 18:33:39 +02:00
Cédric Krier
8468d694ac
Raise error when updating Stripe customer
...
#13468
2024-08-22 18:33:16 +02:00
Cédric Krier
b222ab29f9
Improve exception handling wizard
...
We use two Many2Many fields to let the user explicitly fill them with the
records to ignore or recreate.
Any cancelled records that have not been added to one of the fields, will stay
in exception to be proceeded later.
Closes #8142
2024-08-21 17:33:14 +02:00
Cédric Krier
da0479c619
Compare selection and model of multiselection with the same type
...
The selection can be a list of tuple or a list of list.
2024-08-27 20:41:31 +02:00
Cédric Krier
44019be668
Display checkbox on multiselection
...
This removes ambiguity between the multiselection widget and the other
xxx2Many that already has checkboxes.
Closes #13458
2024-08-21 10:57:07 +02:00
Cédric Krier
b73e9ca7f1
Toggle the option's selected state of multiselection on mouse down
...
This provides a more intuitive behavior for user.
Closes #13459
2024-08-21 12:58:30 +02:00
Cédric Krier
ac7fdeb988
Add selection checkbox to display selected state of treeview rows
...
Closes #13457
2024-08-21 12:46:39 +02:00
Cédric Krier
9dc25266b0
Implement a strategy of O(n) to find the best combination of lines to reconcile
...
The combination implementation is replaced by strategy that search the
smallest remaining from the order lines by removing the last debit or credit
depending on the remaining sign.
Closes #13451
2024-08-19 23:58:41 +02:00
Cédric Krier
c384f8e658
Add cache to get_groups of actions
2024-09-12 16:55:53 +02:00
Cédric Krier
098458daa8
Move all access checks of report to check_access method
2024-09-12 16:45:34 +02:00
Cédric Krier
754a868bdf
Test execute report without model access
2024-09-12 16:36:42 +02:00
Cédric Krier
bb8b4cb235
Test execute wizard without access
2024-09-12 16:36:22 +02:00
Cédric Krier
e4bd186091
Test create session for wizard without access
2024-09-12 16:36:04 +02:00
Cédric Krier
c59503910a
Use proper placeholder to format message about wizard access error
...
Closes #13507
2024-09-12 16:34:58 +02:00
Cédric Krier
2bce5d7240
Retrieve groups of actions without checking access
...
Closes #13506
2024-09-12 16:33:03 +02:00
Cédric Krier
a75f6b3f9c
Test access to report execute
2024-09-12 16:10:29 +02:00
Cédric Krier
b32cbb18a9
Check read access of report records
...
Closes #13505
2024-09-12 16:09:39 +02:00
Cédric Krier
9cec77a88c
Add payment amount cache to account move line
...
Closes #13407
2024-07-22 12:12:07 +02:00