Revision 56803dc2
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
SL/Controller/CsvImport/Part.pm | ||
---|---|---|
my ($self) = @_;
|
||
|
||
my $profile = $self->SUPER::init_profile;
|
||
delete @{$profile}{qw(alternate assembly bom expense_accno_id income_accno_id inventory_accno_id makemodel priceupdate stockable type)};
|
||
delete @{$profile}{qw(assembly bom expense_accno_id income_accno_id inventory_accno_id makemodel priceupdate stockable type)};
|
||
|
||
$profile->{"pricegroup_$_"} = '' for 1 .. scalar @{ $_[0]->all_pricegroups };
|
||
|
SL/DB/MetaSetup/Part.pm | ||
---|---|---|
__PACKAGE__->meta->table('parts');
|
||
|
||
__PACKAGE__->meta->columns(
|
||
alternate => { type => 'boolean', default => 'false' },
|
||
assembly => { type => 'boolean', default => 'false' },
|
||
bin_id => { type => 'integer' },
|
||
bom => { type => 'boolean', default => 'false' },
|
SL/IC.pm | ||
---|---|---|
partnumber = ?,
|
||
description = ?,
|
||
makemodel = ?,
|
||
alternate = 'f',
|
||
assembly = ?,
|
||
listprice = ?,
|
||
sellprice = ?,
|
sql/Pg-upgrade2/remove_alternate_from_parts.sql | ||
---|---|---|
-- @tag: remove_alternate_from_parts
|
||
-- @description: Veraltete Spalte »alternate« aus Tabelle »parts« entfernen
|
||
-- @depends: release_3_4_1
|
||
ALTER TABLE parts DROP COLUMN alternate;
|
templates/webpages/ic/form_header.html | ||
---|---|---|
<input name="item" type="hidden" value="[% HTML.escape(item) %]">
|
||
<input name="title" type="hidden" value="[% HTML.escape(title) %]">
|
||
<input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
|
||
<input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
|
||
<input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
|
||
<input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
|
||
<input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
|
Auch abrufbar als: Unified diff
nicht benutzte Spalte parts.alternate entfernen