Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: S:C:DeliveryOrder: instances of SL::DB::Unit have attribute $name #418

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

kiviniklas
Copy link
Contributor

@kiviniklas kiviniklas commented Jan 3, 2025

Hier war der Name des scalar Attributes falsch. Statt '$unit->unit' sollte es '$unit->name' sein.
Bspw. ergibt
$main::lxdebug->dump(0, "$unit", $unit);

$VAR1 = {
          'base_unit' => undef,
          'factor' => undef,
          'id' => '1',
          'name' => 'Stck',
          'sortkey' => '1',
          'type' => 'dimension'
        };

In der Weboberfläche betrifft dies unter Einkauf → Lieferschein bearbeiten im Popup Lagerbewegungen das Feld Menge laut Lieferschein.

@kiviniklas kiviniklas requested a review from jbueren January 3, 2025 11:44
@jbueren jbueren merged commit e20ce3b into master Jan 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants