-
Notifications
You must be signed in to change notification settings - Fork 57
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
202411 feat print part labels for stock #406
base: master
Are you sure you want to change the base?
Conversation
für z.B. Etiketten
Kein Neuladen der Seite nach dem Speichern notwendig.
Setze die von Template erwarteten Variablen. Übersetze den Templatenamen. Suche nach Template der Sprache.
Tabelle zum Merken ob Etiketten für eine Preisänderung gedruckt wurden.
8ab5366
to
d13114c
Compare
Artikelklassifizierung: & $( KiviLatex.filter(LxERP.t8(part.classification.description)) )$ \\ | ||
%$(END)$ | ||
%$(IF part.customm_tariff_number )$ | ||
Zolltarifnummer: & $( KiviLatex.filter(LxERP.t8(part.customm_tariff_number)) )$ \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
customm_
Das sieht nach einem Typo aus.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moin Tamino, erster Block Review von diesem Monster.
Vorweg: Ich hab mir hier nur die Sachen angeschaut, die nach dem 202410-feat-part_printing reingekommen sind, und selbst das ist recht schwer zu lesen. Ich würde auf jeden Fall zusehen, dass der vorher noch gemergt wird.
Das was ich gefunden habe bisher sieht zumindest kaputt aus und muss noch gefixt werden, ich habe aber auch das filter query im Part Manager noch nicht verstanden, da kommt nochmal eine zweite Runde.
|
||
$self->models->finalize; # for filter laundering | ||
|
||
$::form->{filter}->{price_change_printed} = ${$::form->{filter}->{price_change_printed}}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das hier verstehe ich nicht ganz. Soll das price_change_printed
vor dem laundering retten?
return | ||
[\qq{( | ||
SELECT DISTINCT CASE WHEN count(*) $comp 1 THEN FALSE ELSE TRUE END | ||
FROM ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das geht zumindest auf meiner postgres 12 kaputt, weil subqueries in FROM
clauses einen alias brauchen. Ich hab nachgeschaut, das ist erst ab postgres 16 optional. Die UPGRADE nennt immernoch Postgres 12 als minimum.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die beiden templates fehlen in den alten templates, oder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die beiden templates fehlen in den alten templates, oder?
@@ -43,7 +43,7 @@ __PACKAGE__->run_before('set_layout'); | |||
sub action_stock_in { | |||
my ($self) = @_; | |||
|
|||
$::form->{title} = t8('Stock'); | |||
$::form->{title} = t8('Store'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, ich bin kein Freund von der Umbenennung. Üblicherweise haben wir für "Einlagern" dann "Stock In" benutzt. Auch nicht schön, aber zumindest eindeutig. "Store" kann ausserdem noch Geschäft, Filiale oder Speicher heißen, finde ich hier sehr verwirrend.
Basiert auf 202410-feat_part_printing