Cédric Krier
98adfc2c3e
Add kind to info bar message to keep notification message longer
...
The notification message should not be cleared when the record is changed but
only when a new notification is computed.
Closes #12050
2023-01-30 00:23:16 +01:00
Cédric Krier
7843e47389
Add scroll time for calendar view
2023-01-28 10:42:58 +01:00
Cédric Krier
dd8c5721be
Use the same order for Month, Week and Day button as sao
2023-01-27 23:46:58 +01:00
Cédric Krier
35ca586826
Put GooCalendar widget in Viewport before ScrolledWindow
...
It is needed because GooCalendar does not implement scrollability.
2023-01-27 23:43:35 +01:00
Cédric Krier
90c3c5cc13
Compute calendar height to fit to the page of sao
...
This way if needed the scroll bar are inside the fullcalendar view and it can
scroll to an initial time.
2023-01-27 23:38:55 +01:00
Adrià Tarroja Caubet
5375918428
Include in credit amount only invoice lines of type line
...
Closes #12076
2023-02-14 12:48:01 +01:00
Cédric Krier
7d92024c63
Use same design to set extra than to set shipment cost
2023-02-12 23:03:15 +01:00
Cédric Krier
be35a722ea
Reset sale state to draft before adding or deleting extra lines
...
Closes #12082
2023-02-12 22:59:37 +01:00
Cédric Krier
147140ebd1
Reload screen after creating purchase from purchase request
...
This way the user see that the selected purchase requests have been purchased
as they are no longer in the draft tab.
2023-02-09 11:06:42 +01:00
Sergi Almacellas Abellana
1f398f071e
Use number and reference for subscription rec name
2023-02-15 17:43:00 +01:00
Sergio Hervas
472b4b0aa7
Display and order by planned date when searching incoming moves from supplier shipment
...
Closes #12060
2023-02-13 14:30:29 +01:00
Cédric Krier
9f18ee3aea
Replace shipment_type by Shipment in sale grouping method
...
Since the introduction in 344956d44189 of the _get_shipment_sale method, it is
the shipment class that is passed as argument and never the shipment type.
2023-02-09 11:12:20 +01:00
Cédric Krier
5105b1cdb4
Support having a price without weight
...
Closes #12055
2023-01-30 17:37:12 +01:00
Nicolas Évrard
a2662386c3
Save moves before reconciling the lines
...
The previous organization of the code made it less efficient to save the move
before reconciling the lines which should the logical order.
2023-01-29 01:08:22 +01:00
Nicolas Évrard
ab020a78e8
Reconcile the zero lines after saving moves
2023-01-23 17:05:55 +01:00
Cédric Krier
fd3ea318a8
Allow cache size to be configured
...
Closes #11383
2023-01-14 20:11:32 +01:00
Maxime Richez
ad5ed8cb5f
Display stock moves and invoice lines in sale and purchase lines form
...
Closes #12003
2023-01-27 14:38:36 +01:00
Cédric Krier
c374627a23
Notify for duplicate identifier
...
Closes #12049
2023-01-30 00:11:21 +01:00
Cédric Krier
40db6c18a6
Test message of DomainValidationError
2023-02-07 16:44:30 +01:00
Cédric Krier
222b39c54f
Fill DomainValidationError message using an invalid record
...
The invalid relations are the invalid records only if Target is the class.
2023-02-07 16:44:14 +01:00
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