Commit Graph
503 Commits
Author SHA1 Message Date
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
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
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
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 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 eeb0bc72d4 Apply sphinx-lint to documentation 2023-02-04 21:02:37 +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 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 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 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 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +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 349dd77ae5 Add barcode function on product identifier 2022-12-26 22:32:23 +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
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 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 fecffb3124 Update purchase request state after the purchase transition
Closes #6362
2023-01-23 00:43:49 +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
Sergi Almacellas Abellana e779b8107e Add rec_name searcher on reporting models
Closes #11263
2023-01-09 14:49:16 +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 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 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 5c622e69d8 Use direct downloads.tryton.org instead of CDN 2023-01-16 15:07:08 +01:00
Maxime Richez f653dc7b6d Apply check_stock_quantity per warehouse line 2023-01-09 16:13:22 +01:00