Commit Graph
1589 Commits
Author SHA1 Message Date
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
Cédric Krier 88ba4c7762 Expand address fields on sale and purchase form 2023-01-14 19:55:05 +01:00
Cédric Krier f3b8a9dcd3 Compute history datetime only when invoice has been actually posted
Relying only on the numbered_at being filled make the posting process use the
history data once the number has been set on the invoice. But as the move
computation (with the payment term) happens after, they are done using the
history data (which maybe corrupted see #11980).

Closes #11982
2023-01-02 13:16:07 +01:00
Cédric Krier 66349b4121 Store warehouse locations on shipments
This ensures that the domain based on warehouse location stays valid even if
the warehouse configuration is changed after the creation of the shipment.

Closes #11974
2022-12-30 01:36:00 +01:00
Cédric Krier d0dea0efca Rename check_fifo_quantity_out constraint to check_fifo_quantity
Closes #1781
2023-01-09 00:37:15 +01:00
Cédric Krier 182f1ede57 Do not supply stock with user without company
Closes #11501
2023-01-15 00:19:15 +01:00
Cédric Krier ec5f7b8890 Create move for produced product without bom as output
Closes #12024
2023-01-19 11:55:09 +01:00
Maxime Richez 77c949aa92 Add more details in tariff code list on product form
Closes #11888
2023-01-11 14:32:09 +01:00
Cédric Krier 962bdd2c2a Support country organization for tariff code and duty rate
Closes #11838
2022-12-26 15:02:52 +01:00
Cédric Krier 6f8a705fbb Set border to avatar images
We use circle for individuals and rounded for group like companies.
2023-01-15 15:16:14 +01:00
Cédric Krier 1df14f932b Factorize explode bom to use depends
Closes #11916
2022-12-26 13:22:06 +01:00
Cédric Krier 9936e46e22 Rename reconciliation name to number 2023-01-08 20:10:39 +01:00
Cédric Krier a39d25b354 Pass the grouped instance to the grouping methods
This allows more possibilities to implement grouping methods.
2023-01-14 17:25:39 +01:00
Cédric Krier 5904eabe4a Use correct name for test scenario of sale shipment grouping 2023-01-14 17:11:07 +01:00
Cédric Krier d2664f898d Test shipment grouping with return for #11998 2023-01-14 17:10:40 +01:00