forked from Wavyzz/dolibarr
Fix: Duplicate test on "shipping", replaced duplicate with delivery_note
# Fix: Duplicate test on "shipping", replaced duplicate with delivery_note The second test on "shipping" was without effect but as the module was set to "expedition_bon", I modified the test to delivery_note and put it closer to the test on "shipping"
This commit is contained in:
@@ -12169,16 +12169,16 @@ function getElementProperties($elementType)
|
||||
$classname = 'Expedition';
|
||||
$module = 'expedition';
|
||||
$table_element = 'expedition';
|
||||
} elseif ($elementType == 'delivery_note') {
|
||||
$classpath = 'expedition/class';
|
||||
$subelement = 'expedition';
|
||||
$module = 'expedition_bon';
|
||||
} elseif ($elementType == 'supplier_proposal') {
|
||||
$classpath = 'supplier_proposal/class';
|
||||
$module = 'supplier_proposal';
|
||||
$element = 'supplierproposal';
|
||||
$classfile = 'supplier_proposal';
|
||||
$subelement = 'supplierproposal';
|
||||
} elseif ($elementType == 'shipping') {
|
||||
$classpath = 'expedition/class';
|
||||
$subelement = 'expedition';
|
||||
$module = 'expedition_bon';
|
||||
} elseif ($elementType == 'delivery') {
|
||||
$classpath = 'delivery/class';
|
||||
$subelement = 'delivery';
|
||||
|
||||
Reference in New Issue
Block a user