Sergi Almacellas Abellana
da99315a14
Remove duplicated timestamps from history_revisions
...
Closes #13528
2024-09-19 09:49:33 +02:00
Cédric Krier
a091c2b8fc
Order errors by descending id
...
Usually it is the latest errors that are interesting for the user.
2024-09-25 09:56:50 +02:00
Maxime Richez
348ea5c5bb
Extend domain to reschedule not yet done shipment
...
Closes #13536
2024-09-20 14:58:46 +02:00
Cédric Krier
008c1688bf
Set employee when changing company only if the user has one available value
2024-09-25 12:44:11 +02:00
Cédric Krier
37c44ffbde
Add simple list view for company and employee
...
The views have only the record name field so they can be used in Many2Many to
not display extra information.
2024-09-25 12:33:56 +02:00
Cédric Krier
e06b0dce8e
Set default companies and company for user only if there is one company
2024-09-25 12:24:54 +02:00
Cédric Krier
18f0801e60
Use design to fill companies and employees first on user form
...
To make it obvious that companies and employees must be filled first, they are
displayed first and the company and employee fields are hidden if there is no
values to select.
2024-09-24 19:31:56 +02:00
Cédric Krier
464eb3e572
Allow switching to non-form view even if no record is selected
...
Closes #13511
2024-09-24 17:23:12 +02:00
Cédric Krier
e5e17ab699
Remove shortcut hint in undelete button of One2Many
...
The shortcut is already explained in the help pop-up.
2024-09-24 15:51:14 +02:00
Cédric Krier
dd9ad81995
Add restore button on Many2Many widget
2024-09-24 15:50:18 +02:00
Cédric Krier
f496ca79d6
Disable remove button of Many2Many if all selected records are already removed
2024-09-24 14:55:14 +02:00
Cédric Krier
158069f42b
Activate delete and undelete buttons of One2Many depending of the selected records
...
If there are no deleted records selected, the undelete button is disabled and
if there are only deleted records selected, the delete button is disabled.
2024-09-24 14:54:11 +02:00
Cédric Krier
34d34b682c
Ensure current record is in the tree view selection
2024-09-24 14:46:39 +02:00
Cédric Krier
148f0cc5ce
Keep current record if it has not been destroyed after removal
...
This allows to keep selected the removed record on the xxx2Many widgets such
that it is easy to undo the removal.
2024-09-24 12:10:24 +02:00
Cédric Krier
92192b789a
Use One2Many length to set sensitivity on next/previous buttons
...
Closes #12950
2024-09-24 11:26:14 +02:00
Cédric Krier
e59d01aead
Enforce agent type on agent selection
2024-08-25 20:37:47 +02:00
Cédric Krier
373cfe75cc
Show products on agent form
2024-08-25 20:37:14 +02:00
Cédric Krier
267380a266
Allow agent to be deactivated
...
Closes #13282
2024-08-25 20:36:32 +02:00
Cédric Krier
aab7a7de97
Allow admin users to update invoice tax description and legal notice
...
Closes #13554
2024-10-01 15:31:05 +02:00
Cédric Krier
3fc39d0433
Reset cancelled invoice to posted when unpaid
...
Closes #13509
2024-09-13 15:30:26 +02:00
Sergi Almacellas Abellana
781856a3c9
Remove company domain from price list action window
...
Closes #13416
2024-07-23 11:12:24 +02:00
Nicolas Évrard
87ce09a7c7
Deactivate only the class buttons in x2M widgets
...
Closes #13530
2024-09-19 11:09:47 +02:00
Cédric Krier
d13f40521f
Remove print statement in exception handling of cron's run
2024-10-06 12:20:13 +02:00
Cédric Krier
2b9e1086a5
Use better name for the invoice account variable to compute remainder amount
2024-09-27 19:29:23 +02:00
Cédric Krier
6d5879cdb3
Add test scenario to defer invoice all at once
...
#13547
2024-09-27 19:28:27 +02:00
Cédric Krier
a69fffce46
Exclude the move which defer the invoice line amount
...
The move to defer amount must be created before creating the period move in
case we need to compute the remainder amount on the first run.
Closes #13547
2024-09-27 19:28:03 +02:00
Cédric Krier
68d093189a
Consider as loaded the fields marked as modified
...
As the load method skips setting modified fields, so they are not and will
never be marked as loaded.
2024-10-02 12:07:48 +02:00
Cédric Krier
6f372e2b92
Check load of only fields being validated
...
Closes #13556
2024-10-02 12:05:16 +02:00
Cédric Krier
db99bb6801
Do not copy origin of stock moves in each shipment
...
The ShipmentMixin is also used by the production which does not have a moves
field.
Closes #13555
2024-10-01 18:32:18 +02:00
Cédric Krier
a87be1db6a
Do not return empty for planned deliver date of purchase line when it is in the past
...
Closes #13298
2024-09-07 14:00:50 +02:00
Cédric Krier
48568f7856
Do not return today planned shipping date of sale line when in the past
...
Closes #13298
2024-09-07 13:59:57 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Nicolas Évrard
618f20d453
Return the display promise when creating a new record from the screen
...
This is necessary because otherwise it could result in concurrent update of the
models of the models used by the underlying widgets.
Closes #13545
2024-09-24 16:37:50 +02:00
Cédric Krier
514495cf1e
Rename "Product Quantities By Warehouse" into "Stock Quantities By Warehouse"
2024-09-14 13:07:43 +02:00
Cédric Krier
26f1f8fda6
Remove "Lots By Warehouse" relate
...
It is not very useful and the same view can be opened from the stock location
relate.
2024-09-14 13:00:53 +02:00
Cédric Krier
ca6bb39948
Rename "Locations * Quantity" into "Stock Locations *"
2024-09-14 12:51:16 +02:00
Cédric Krier
62e2e4f62e
Document viewing stock levels of lots
2024-09-14 12:39:28 +02:00
Cédric Krier
916a3ef855
Rename "Lots by Locations" into "Lots"
...
As the locations are added to the tab name, there is no need to specify that it
is "by Locations".
2024-09-14 12:39:07 +02:00
Cédric Krier
a65c9879dd
Rename "Products by Locations" into "Products"
...
As the locations are added to the tab name, there is no need to specify that it
is "by Locations".
2024-09-14 12:38:24 +02:00
Cédric Krier
d9b275e181
Move "Open Lines" button to product price list module
...
Closes #13527
2024-09-18 18:14:58 +02:00
Cédric Krier
e54322910c
Filter shipment moves before sorting them in the getters of Function field
...
This way the filtering can benefit of the cache alignent before the order of
the list is modified.
Closes #13526
2024-09-18 13:51:16 +02:00
Cédric Krier
1f0afd17a7
Iterate only once to sort records by order clauses
...
Instead of sorting the list multiple times applying order clause one by one in
reverse order, the list is sorted only once using a key composed of all the
order clauses.
An operator is used to reverse the comparison instead of using the reverse
keyword argument of sorted.
Closes #13525
2024-09-18 13:46:10 +02:00
Cédric Krier
e0be630f42
Do not export selected records by default when there is no record selected
2024-09-17 18:17:58 +02:00
Cédric Krier
15c468a860
Use dedicated buttons for CSV import and export
...
Closes #10115
2024-09-17 17:24:36 +02:00
Cédric Krier
4e37fb2039
Keep CSV export window opened
...
Closes #13521
2024-09-17 16:50:50 +02:00
Cédric Krier
dba33cbb64
Prevent modification of the stock lot of stock move done or cancelled
...
Closes #13520
2024-09-17 15:49:46 +02:00
Cédric Krier
37022fff21
Prevent deletion of stock lot used for stock move
...
Closes #13519
2024-09-17 15:48:01 +02:00
Cédric Krier
67daf2085b
Use correct binary operator for PYSON Greater and Less
...
Opposite binary operators were commit in b71b2417c4bc.
2024-09-28 16:51:26 +02:00
Cédric Krier
2e9117f6c4
Synchronise PYSON code to represent params
...
Different versions of the code were commit in e2bb5ac20d22
2024-09-28 16:50:07 +02:00
Cédric Krier
c0077445d0
Check that rec_name is searchable on searchable model
2024-09-10 15:40:19 +02:00