different email per org in inout print preview
Testcase to check if the email in Shipment print preview fits the organization of the shipment
Org e-mail in InOut Print Preview
- Correct email in Shipment of OrgX for Material Delivery DocBaseType
- Log in with OrgX
- Make sure the partner G000X does not have a printing format set/active (this can be verified in the Partner window, Print Format tab)
- Make sure you have Mail_Combination_Base_X but not Mail_Combination_SubType_X
- Create a Sales Order for organization OrgX, partner G000X
- Go to the created Shipment Schedule
- Create a Shipment out of it, complete it
- Go to the created Shipment, press on Print Preview
- => OK: The email in the report is the email from Mail_Combination_Base_X
- Correct email in Shipment of OrgX for Material Delivery DocBaseType, “Produktauslieferung” DocSubType
- Log in with OrgX
- Make sure the partner G000X does not have a printing format set/active (this can be verified in the Partner window, Print Format tab)
- Make sure you have Mail_Combination_Base_X and Mail_Combination_SubType_X
- Create a Sales Order for organization OrgX, partner G000X
- Go to the created Shipment Schedule
- Create a Shipment out of it, complete it
- Go to the created Shipment, press on Print Preview
- => OK: The email in the report is the email from Mail_Combination_SubType_X
- Correct email in Shipment of OrgY for Material Delivery DocBaseType
- Log in with OrgY
- Make sure the partner G000Y does not have a printing format set/active (this can be verified in the Partner window, Print Format tab)
- Make sure you have Mail_Combination_Base_Y but not Mail_Combination_SubType_Y
- Create a Sales Order for organization OrgY, partner G000Y
- Go to the created Shipment Schedule
- Create a Shipment out of it, complete it
- Go to the created Shipment, press on Print Preview
- => OK: The email in the report is the email from Mail_Combination_Base_Y
- Correct email in Shipment of OrgY for Material Delivery DocBaseType, “Produktauslieferung” DocSubType
- Log in with OrgY
- Make sure the partner G000Y does not have a printing format set/active (this can be verified in the Partner window, Print Format tab)
- Make sure you have Mail_Combination_Base_Y and Mail_Combination_SubType_Y
- Create a Sales Order for organization OrgY, partner G000Y
- Go to the created Shipment Schedule
- Create a Shipment out of it, complete it
- Go to the created Shipment, press on Print Preview
- => OK: The email in the report is the email from Mail_Combination_SubType_Y
- Regression
- Go to an old Shipment of OrgX, for a partner who has no printing format set
- Print Preview
- => OK: The email is the default email of OrgX
- Repeat the same steps for OrgY
- => OK: THe email is the default email of OrgY