#338 Get rid of legacy NOT-EQUALS operators from logic expression
Testcase to check readonly, display and color logic
Readonly logic
-
Check readonly logic, using AND, OR logic
- go to Product window and find a product which is of type R, E or O
- => product’s uom is readonly
- go to Product window and find a product which is not of type R, E or O
- => product’s uom is editable
-
Check readonly logic, using simple = logic
-
Go to Geschaftspartner window, subtab Customer
- set bpartner.isSales = N
- set bpartner.isSales = Y
Color Logic
- create a sales order, complete and go to shipment schedule (set it on forced if is not)
- Make a partial inout, see shipment schedule
- make inout for the remaining qty
Display logic
-
test display logic using simple = logic
- go to sales order and create a new one, set isdropship on Y
- => 3 new fields appear: bpartner, address and location of dropship
- set isdropship on N
- => those 3 fields disappear
-
test display logic using AND, OR logic
-
create an invoice, for a bpartner which is edi, set isEdi on Y
- close or complete the invoice
- => edi button for validation appears
-
test display logic using 1=2 (false)
- go to sales order and see if there is any processed checkbox
- => no processed checkbox is ever seen
-
test display logic using !
- create a purchase invoice, add a product and complete it
- => there is no reversal_id shown
- reverse correct the invoice
- => reversal_id field is shown and set
-
test display logic using > or <
- create a new allocation header or open existing one which was made when you reversed the invoice above
- => there is no reversal_id shown
- reverse correct the allocation
- => reversal_id field is shown and set
View source file on GitHub.com