Cédric Krier
65c8d8dd36
Set width on numeric input instead of the input group
...
Closes #12037
2023-01-25 00:28:00 +01:00
José Antonio Díaz Miralles
2668ff013a
Do not write creation values in ModelSingleton
2023-02-03 20:08:26 +01:00
Nicolas Évrard
5ea2598611
Call set_modified on record in set_client
...
403bc7a95b0a introduced set_modified as a record method but not a field one.
It was unfortunately called on the field in set_client in the same commit.
Closes #12061
2023-02-01 17:54:26 +01:00
Cédric Krier
7958f04d66
Set default badge and sent record message when current record is None
...
Closes #12032
2023-01-24 01:00:12 +01:00
Cédric Krier
ef11936771
Apply muted visual for deleted or removed row
...
Closes #7355
2023-01-24 00:41:48 +01:00
Cédric Krier
9375dcb878
Ensure right model is used in Many2One sql_format
...
Closes #6074
2023-01-23 00:12:44 +01:00
Cédric Krier
68753ff402
Run action from button with proteus
2023-01-17 14:39:18 +01:00
Cédric Krier
9ae4f0e80c
Copy original state of wizard to avoid side effect
...
Closes #4948
2023-01-22 01:41:52 +01:00
Cédric Krier
6edf1f9943
Use different pattern for sale extra and sale extra line
...
Also get_pattern functions are removed in favor of parameters in get_lines.
Closes #4746
2023-01-22 01:07:02 +01:00
Cédric Krier
79991ef718
Skip unknown icon instead of trying to read it again
...
Closes #3722
2023-01-22 00:06:38 +01:00
Cédric Krier
349dd77ae5
Add barcode function on product identifier
2022-12-26 22:32:23 +01:00
Cédric Krier
871695b912
Add support for barcode and QR code
...
Closes #11791
2022-12-26 22:32:03 +01:00
Cédric Krier
00f9cec64a
Use the hostname instead of host to retrieve authentication services
...
The host may contain the port number which is not a valid host for the
ServerProxy.
2023-01-26 18:36:13 +01:00
Cédric Krier
7010cd1717
Lock journal period when automatically creating one
...
This avoids uniqueness constraint error in case of concurrent creation.
Closes #10747
2023-01-21 18:47:49 +01:00
Cédric Krier
a228bb153b
Cancel Stripe Setup Intent using the right id
...
Closes #12031
2023-01-23 16:24:14 +01:00
Nicolas Évrard
1fdfe31b1e
Get directly the string value of Selection fields in non editable views
...
Closes #10331
2023-01-29 01:12:24 +01:00
Cédric Krier
51d2a1ad1a
Set cursor on type of identifier
...
This is the first field to fill when creating a new identifier.
2023-01-30 00:41:30 +01:00
Cédric Krier
3c506fe15d
Add ButtonActionException and RPCReturnException
...
The RPCReturnException returns the result method instead of raising an
exception.
The ButtonActionException launch an action instead of executing the button.
Closes #12009
2023-01-17 13:26:42 +01:00
Cédric Krier
8532fa3bd5
Update One2Many validate to use promise based API of pre_validate
...
Closes #12039
2023-01-30 00:16:07 +01:00
Cédric Krier
ee5cb27962
Create lot for output product when needed
...
When the output product has a sequence and a lot is required, we create a new
lot to set on the output move.
Closes #11923
2023-01-24 10:53:23 +01:00
Cédric Krier
8ee974fb19
Add prefix and suffix as optional column of sequence list
...
Closes #5424
2023-01-22 16:50:38 +01:00
Cédric Krier
86587f8c94
Use exception logger when catching exception
2023-01-26 18:33:40 +01:00
Cédric Krier
4573a5c90e
Call preventDefault as soon as possible in sao
...
This is safer in case exception is raised before so the browser may try to
submit the form and trigger a reload of the application.
Closes #6419
2023-01-27 00:03:00 +01:00
Cédric Krier
defb428339
Do not register tests module when pool is not started for testing
...
Closes #6846
2023-01-23 23:00:29 +01:00
Cédric Krier
fbbd4ac109
Use only 2 digits for module percentage
...
Closes #5838
2023-01-22 23:39:18 +01:00
Cédric Krier
fecffb3124
Update purchase request state after the purchase transition
...
Closes #6362
2023-01-23 00:43:49 +01:00
Cédric Krier
debf8aabfa
Use tzinfo.tzname instead of key to display timezone on cron
...
key is a specific to ZoneInfo implementation when tzname is part tzinfo API.
Closes #12036
2023-01-25 00:53:43 +01:00
Nicolas Évrard
e1361ddac3
Use arrow functions in Sao.Window.Form.response
2023-01-26 22:46:53 +01:00
Nicolas Évrard
45043d706e
Use a promise based API for Record.pre_validate()
...
Closes #12039
2023-01-25 15:14:26 +01:00
Cédric Krier
575527bf60
Do not check access for action window without model
...
The check was introduced in d41d48d68cdf but without ensuring that the action
has a model to check.
Closes #12029
2023-01-26 21:28:28 +01:00
Cédric Krier
ae0775abd0
Activate tests module in setup of FieldMany2OneTreeTestCase
2023-01-23 00:14:26 +01:00
Cédric Krier
639168a7b0
Fill warehouse locations in stock_shipment_measurements tests
...
Since 6efb7bc9d60f the warehouse locations are required but they are not
filled in unit test because on_change's are not called.
Closes #12045
2023-01-27 12:18:14 +01:00
Sergi Almacellas Abellana
20ddd2e911
Include supervised employees in timesheet reporting
2023-01-26 12:17:52 +01:00
Sergi Almacellas Abellana
07d8b81c1b
Add access rules for weekly and monthly reporting
...
Closes #11944
2023-01-09 15:03:49 +01:00
Sergi Almacellas Abellana
0d2a594fb0
Remove employee from employee hours rule
2023-01-09 15:03:45 +01:00
Cédric Krier
7fba550c13
Update cookiecutter url in module tutorial
2023-01-23 12:57:53 +01:00
Sergi Almacellas Abellana
e779b8107e
Add rec_name searcher on reporting models
...
Closes #11263
2023-01-09 14:49:16 +01:00
Cédric Krier
e072f4bc9e
Fix source clause of empty translation source introduced by 4ec2377b84e5
2023-01-25 09:41:24 +01:00
Cédric Krier
b0b4ff7592
Notify when product is supplied on sale and has purchase order point
...
Closes #11969
2022-12-29 13:05:20 +01:00
Cédric Krier
e7b8a145f0
Add reference in record name of sale opportunity
...
Closes #3641
2023-01-21 20:35:15 +01:00
Cédric Krier
69a1be6404
Assign all possible shipments and productions when trying
...
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.
Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier
d62f2acb08
Instantiate always Screen for xxx2Many fields with the same parameters
...
The screen must be instantiated with the context of the parent screen so
eventual field_view_get would give the same result.
The limit must always be set to None/null to ensure to load all the records.
The breadcrumb must be set to show navigation to the user.
Closes #3140
2023-01-21 19:37:19 +01:00
Cédric Krier
aa5885ff6f
Make product supplier price list editable
...
Closes #3618
2023-01-21 20:23:51 +01:00
Cédric Krier
bb8dc2961b
Put sequence on top right of the form for product supplier price
2023-01-21 20:22:59 +01:00
Cédric Krier
5d82f65fd8
Add generic test for field function searcher and domain field method
2023-01-11 12:29:25 +01:00
Cédric Krier
704aaf01de
Support None as search value of composite rec_name
2023-01-12 11:36:41 +01:00
Cédric Krier
cad8cad4ef
Do not convert into float search amount of invoice if it is None
2023-01-12 11:36:01 +01:00
Cédric Krier
cab1cf2f87
Add help text about price selection of product
...
Closes #8950
2023-01-08 18:12:49 +01:00
Cédric Krier
0da84b21a3
Allow children location as source of outgoing moves for customer shipment
...
When the output location is the same as the storage location, we should allow
to record that products have been picked in a children location.
Closes #11973
2022-12-29 19:07:56 +01:00
Cédric Krier
25b83527a0
Do not try to fuzzy update empty source of translation
...
Closes #11881
2022-12-26 22:28:04 +01:00