Commit Graph
58607 Commits
Author SHA1 Message Date
José Antonio Díaz Miralles e814732e9c Sort purchase request by purchase and line key before create purchases
This is needed to have requests ordered also when grouping them into purchase
line.

Closes #12073
2023-02-10 21:34:59 +01:00
Hartmut Goebel 30bd29a236 Make isort output required changes 2023-02-11 12:55:43 +01:00
Cédric Krier cb59e11ad4 Add reversal option when cancelling move
Closes #5180
2023-01-27 01:06:15 +01:00
Cédric Krier 84514c49de Add relates to sale and purchase lines from party and product 2023-01-26 15:11:21 +01:00
Cédric Krier 0b159befc6 Regroup purchase and sale relates
By testing active_model in the domain, it is possible to simplify the number
of relate to define.
Also for relate from party, it gives more information to the user to display
the number of pending and done.
2023-01-26 15:08:56 +01:00
Cédric Krier 5eb185ab15 Prevent creating line for sale or purchase not in draft 2023-01-26 15:03:41 +01:00
Cédric Krier e0182d9ecb Do not allow to create line or tax on invoice not in draft
Adding new line or tax should also be forbidden for validated state.
2023-01-26 15:01:10 +01:00
Cédric Krier 1d0bd3aef6 Remove user name placeholder which repeat the label
Closes #7180
2023-01-23 23:28:09 +01:00
Cédric Krier 1f8016700d Add cumulative balance to payable/receivable lines
Closes #11994
2023-01-06 00:16:06 +01:00
Cédric Krier f438072cb5 Mute reconciled payable/receivable lines
Closes #10951
2023-01-06 18:01:36 +01:00
Cédric Krier c7790731ef Add optional column on tree view
Closes #10989
2023-01-06 18:00:27 +01:00
Cédric Krier 28ab7d64a4 Check mercurial status only in trytond directory after updating rng
Closes #12075
2023-02-10 09:35:52 +01:00
Cédric Krier eeb0bc72d4 Apply sphinx-lint to documentation 2023-02-04 21:02:37 +01:00
Nicolas Évrard 967a41f467 Add global and local set of ignored context keys
Closes #11234
2023-02-06 18:40:00 +01:00
Nicolas Évrard c989938e68 Do not trigger button on not selected records
Closes #11824
2023-02-03 18:19:31 +01:00
Cédric Krier 1aac0fe54f Prevent calendar pop-up to be displayed outside the monitor
Closes #5339
2023-01-22 16:33:41 +01:00
Cédric Krier ff4e96a0c7 Remove aliases from grouped columns of move line when used in "group by"
Closes #11993
2023-01-05 17:26:36 +01:00
Cédric Krier 3c771cff02 Implement listed records for calendar and list-form views 2022-12-31 00:57:23 +01:00
Cédric Krier 56a332d18e Set record as modified after calling changed
The record must be modified after the call to changed because set_modified
trigger the changed calls of the parent which need to have the changed values.

Closes #12065, #12072
(backout 6b882007fd6e)
2023-02-06 18:09:20 +01:00
Cédric Krier 61324ec547 Replace lstrip usage to remove field name from clause operand
Closes #12041
2023-01-29 00:46:36 +01:00
Sergi Almacellas Abellana 33aa8bad09 Limit tax kind of invoice tax based on invoice type 2023-01-27 11:55:05 +01:00
Cédric Krier cebf486f6f Enforce unique creation of singleton with lock and constraint
Closes #10748
2023-01-30 14:54:07 +01:00
Cédric Krier f3489dc20c Add cache for check-trytond-rng
As the job install rnc2rng, it is better to use cache.
2023-02-04 21:19:55 +01:00
Cédric Krier 79768b4890 Manage RPCReturnException in proteus
35ed4aa50b16 introduced this new exception so proteus execute the returned
action when configured with trytond.
2023-02-02 18:09:52 +01:00
Cédric Krier 58d00ed942 Search also for select tag for the focus chain
Closes #12051
2023-01-30 00:44:18 +01:00
Cédric Krier 3be0472924 Test all depends of fields
Since 4ceb8ad07bd5 the depends attribute contains only some of the depending
fields. Tests should include the computed depends.
2023-01-27 14:04:37 +01:00
Cédric Krier e90e274a82 Make moves_drop invisible when moves_drop is empty 2023-01-28 15:05:02 +01:00
Cédric Krier 4639991356 Remove readonly states for account type in budget line
There is no lines field on budget line.
2023-01-27 14:02:57 +01:00
Nicolas Évrard 5414f334e8 Restore tree sates on List Form
Closes #12023
2023-01-19 19:03:42 +01:00
Nicolas Évrard 7d4a991104 Do record (pre)validation and saving on selection change for list-form views
Closes #12025
2023-01-29 00:56:28 +01:00
Nicolas Évrard 0d679effe2 Warn when cancelling a move related to an invoice
Closes #4981
2023-02-02 18:50:26 +01:00
Cédric Krier b48e4966d5 Add functions and attribute to handle check access and active records
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier a6419fd273 Append domain label to link
The domain labels are replacing the link label instead of being appended.
2023-01-26 14:56:44 +01:00
Cédric Krier e7d357098f Set correct limit/offset in search_count of Link
a96bf0b0b065 adds limit to the search_count call but the argument position is
wrong in the call for the Link widget.
2023-01-26 14:55:50 +01:00
Nicolas Évrard 556918f7c5 Check that fields used to order are sortable
Closes #11747
2023-01-16 11:12:29 +01:00
Nicolas Évrard e2a56a6cac Add searchable and sortable methods on Field 2023-01-02 22:12:09 +01:00
Cédric Krier 5403074f1d Convert empty value as null instead of 0 in Dict numeric fields
Closes #12038
2023-01-25 00:38:36 +01:00
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