It's not possible to complete a sales order with products where Attribute Sets that have mandatory type = When Shipping.
Fix will soon be provided.
Thanks for the info. How exactly would you change the asi mandatory per document type? I can't find any setting for it.
The problem with changing per document type is that ASI mandatory settings are set on the actual product. In this case I want a serial number to be mandatory when shipping (but not when ordering).
I add an attribute set called "serial number" to the product. This attribute set gets the mandatory type "When shipping".
Trying to order a product with that attribute set will produce an error that attribute mandatory.
I could make ASI not mandatory on purchase orders by changing the window settings, but that's too crude, since perhaps on some other products I want attributes to be mandatory even when ordering (ie colors / sizes).
i miss here. you can exclude it trough Attribute Set - related tab Exclude then enter table e.g. C_OrderLine. So no doctype based but database table !!
I see, that's a good enough work around for now. Thanks
I'm attaching a patch that would patch release-2.0 according to how I think it should work.
(e4b51839d810) Invoice Print NPE in zk
I think the changes are reasonable, so if people agree it would be nice to have the patch in "core".
Changing status to minor since a workaround exists. It don't find the workaround intuitive but if you know about it this bug doesn't need solving. I'm keeping the issue open since I believe it's a question of useability, ie I think the Mandatory type = "When shipping" should work as expected.
triaging marco longo
not workaround it is standard way..not to easy maybe