1 parent
75fa7e22ca
commit
dcef019d80
4 files changed
+8
No files matched your search
@@ -1,3 +1,4 @@
|
||||
* Allow cancellation of done production
|
||||
* Add code to BOM
|
||||
|
||||
Version 7.2.0 - 2024-04-29
|
||||
|
||||
@@ -192,6 +192,7 @@ class Production(ShipmentAssignMixin, Workflow, ModelSQL, ModelView):
|
||||
('waiting', 'cancelled'),
|
||||
('assigned', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
* Allow cancellation of done shipments
|
||||
* Extend domain to reschedule not yet done shipment
|
||||
* Remove default planned date on supplier shipment
|
||||
* Add shipped state to customer shipment
|
||||
|
||||
@@ -468,6 +468,7 @@ class ShipmentIn(
|
||||
('draft', 'cancelled'),
|
||||
('received', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
@@ -880,6 +881,7 @@ class ShipmentInReturn(ShipmentAssignMixin, Workflow, ModelSQL, ModelView):
|
||||
('waiting', 'cancelled'),
|
||||
('assigned', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
@@ -1310,6 +1312,7 @@ class ShipmentOut(
|
||||
('packed', 'cancelled'),
|
||||
('shipped', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
@@ -2001,6 +2004,7 @@ class ShipmentOutReturn(
|
||||
('draft', 'cancelled'),
|
||||
('received', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
@@ -2491,6 +2495,7 @@ class ShipmentInternal(
|
||||
('waiting', 'cancelled'),
|
||||
('assigned', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('done', 'cancelled'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
|
||||
Reference in new issue
Block a user