Cédric Krier
2d6c34db34
Always fill product and template of cost price revision
...
If an error is raised when computing the new cost price, the management tries
to display the product name. So the product and the template must be set
explicitly because the revision is not yet saved in the database.
Closes #12616
2023-10-05 13:06:22 +02:00
Cédric Krier
639ead79a6
Add number and reference fields to ShipmentMixin
2023-10-07 17:17:32 +02:00
Sergi Almacellas Abellana
a22de3c794
Make shipment reference not readonly
...
Closes #11879
2023-05-17 09:04:54 +02:00
Maxime Richez
ea052f9930
Set inventory moves readonly for picked customer shipment
...
Closes #12613
2023-10-05 13:33:29 +02:00
Maxime Richez
76921bfccc
Add menu entry to list warehouses
...
Closes #12608
2023-10-09 12:43:39 +02:00
Cédric Krier
a30ff416a2
Remove group access on action window
...
Since d41d48d68cdf the read access to the target model of action window is
checked.
2023-09-20 09:48:14 +02:00
Cédric Krier
96a24bcaf6
Remove extra button group access
...
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.
Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier
555102f942
Display shipment state on internal shipment report
...
Closes #12501
2023-08-26 12:54:44 +02:00
Cédric Krier
8eb0fb4ecf
Display shipment state on supplier restocking list
...
Closes #12501
2023-10-03 13:01:59 +02:00
Cédric Krier
bf84ee262b
Display shipment state on customer return restocking list
...
Closes #12501
2023-08-26 12:53:42 +02:00
Cédric Krier
65e1180d34
Display shipment state on picking list
...
Closes #12501
2023-08-26 12:52:53 +02:00
Cédric Krier
7cc2b40942
Display shipment state and warehouse country on delivery note
...
Closes #12501
Closes #5224
2023-08-26 12:51:51 +02:00
Cédric Krier
f4f4a9cec1
Check outgoing product quantities for internal shipment
2023-08-23 19:45:33 +02:00
Cédric Krier
85712761dc
Check inventory product quantities for customer return shipment
2023-08-23 19:37:13 +02:00
Cédric Krier
da8f2d7c2d
Check outgoing product quantities of customer shipment
2023-08-24 09:36:16 +02:00
Cédric Krier
742725d333
Do not prevent to pack customer shipment with cancelled inventory moves
2023-08-23 18:18:20 +02:00
Cédric Krier
9b2564145e
Check inventory quantity of supplier shipment
...
Closes #4545
2023-08-23 19:04:28 +02:00
Cédric Krier
5de4f639db
Store original planned date of shipments to compute delay
2023-09-10 21:27:51 +02:00
Cédric Krier
a20b805f16
Store original planned date of stock move and compute delay
2023-09-10 21:28:51 +02:00
Cédric Krier
b0ea6003e9
Fallback to original copied value of assigned stock move
...
The default values used by 9d4aff3c72e2 to group copy calls may contains keys
that are not in the modified values because of the union.
In order to keep the copy call grouped as much, we just need to fallback to
the original data value for the fields that are not modified.
Closes #12290
2023-09-17 19:55:50 +02:00
Cédric Krier
2ed89ae14c
Rename uom into unit in customer return restocking list report
...
Since 7129f417a22c uom on stock move is renamed into unit.
2023-09-19 10:15:03 +02:00
Cédric Krier
2df68915d8
Remove quantity UoM digits on stock location
2023-08-20 12:49:38 +02:00
Cédric Krier
a4cb3f9f61
Normalize Unit of Measure labels
...
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier
cb08557fad
Rename Uom to Unit for move and inventory
...
Closes #2221
2023-08-22 13:18:33 +02:00
Cédric Krier
8d7e1b6b83
Do not try to duplicate moves for transit if internal shipment has no move
...
Closes #12541
2023-09-04 16:47:49 +02:00
Cédric Krier
7f9550e9ba
Return 0 as default recomputed fixed cost price
...
Closes #12535
2023-08-29 14:24:58 +02:00
Cédric Krier
523bcd4011
Use module name to build path for readthedocs requirements
2023-09-03 12:03:49 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +02:00
Cédric Krier
98eeb1727a
Remove unused _location_amount from customer shipment
...
The method was introduced by a3aa9d985589 for the assign_try method but it is
no more used.
2023-08-20 01:18:11 +02:00
Cédric Krier
855a0aaeab
Update origin of outgoing moves for internal shipment
...
When synchronize moves, the origin of outgoing is updated to point the
new incoming move instead of the original one.
Closes #12272
2023-08-25 18:08:17 +02:00
Maxime Richez
f082344b66
Update origin of inventory moves for customer shipment
...
When synchronize inventory to outgoing moves, the origin of the inventory is
updated to point to the new corresponding outgoing move instead of the
original one.
Closes #12272
2023-08-25 16:34:06 +02:00
Cédric Krier
b32eeae46a
Store synchronized moves of customer shipment even when quantity is not updated
...
ed41959390ff added a synchronization on assign to prevent infinite warning
loop on pack if it creates new move without origin.
But 38e2a76db719 refactoring lost this behavior.
Closes #12503
2023-08-18 14:47:39 +02:00
Cédric Krier
ad0b2411c8
Order number fields first by length
...
This is more natural for incremental field.
2023-08-03 15:53:18 +02:00
Cédric Krier
301cb13dca
Evaluate also parent shipment to make readonly dates and buttons of stock move
...
Closes #12404
2023-07-23 21:07:34 +02:00
Cédric Krier
adc26533da
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier
7b9a61c624
Add product cost price to move
...
It is used to store the cost price of the product when the cost price of the
move is not the same.
2023-06-16 13:43:09 +02:00
Cédric Krier
c1d4a667bd
Do not try to assign shipments that do not need to be assigned
...
Closes #12311
2023-06-07 16:53:24 +02:00
Cédric Krier
abf3167bcb
Allow to use storage location as input or output location
...
When the input or output location is the same as the storage location, it can
be of type view.
2023-06-05 18:55:41 +02:00
Cédric Krier
b2abd35dca
Allow to store view location as warehouse storage on shipments
...
It is allowed to have a view location as storage for a warehouse so the
shipment should support it.
Closes #12307
2023-06-05 18:20:44 +02:00
Cédric Krier
74fb2982d6
Remove computed unit digits fields for stock quantity
...
The unit field can be used directly as digits.
2023-06-12 16:23:25 +02:00
Maxime Richez
df3aca4022
Add location and date to inventory name
...
Closes #12188
2023-06-09 09:15:31 +02:00
Maxime Richez
b4ab5413ac
Disable unaccented search for inventory number
2023-06-07 15:37:17 +02:00
Cédric Krier
d0b24968c8
Delete delivered to warehouse when party is deleted
2023-06-02 17:46:11 +02:00
Cédric Krier
08639d8b9b
Add company to context model of stock quantity models
...
Closes #12268
2023-05-30 13:05:34 +02:00
Cédric Krier
b4e809df2a
Instantiate transaction only once when computing stock quantity
2023-05-30 13:03:55 +02:00
Cédric Krier
0c9269d6b2
Do not compute stock quantity for user without company
...
User without company should not see the stock quantity of all the companies
except for root user (as it is used to check for empty location).
2023-05-30 13:02:19 +02:00
Cédric Krier
59759f9b87
Do not repeat "Location" in the string of location type
...
This is redundant and is awkward when typing a filter by type on stock move
like "From Location.Location Type".
2023-05-10 08:51:23 +02:00
Cédric Krier
8da59ae521
Use sum_tree for stock reporting margin
2023-05-11 16:35:03 +02:00
Sergi Almacellas Abellana
c594bc67df
Manage empty stock end date values on location quantities
...
Closes #12289
2023-05-25 15:55:40 +02:00
Cédric Krier
399b443831
Remove timezone info after converting datetime in UTC
...
The datetime are always in UTC without tzinfo so they can be compared with the
data from the database.
Closes #12262
2023-05-10 10:07:34 +02:00