projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Vor dem Ausführen von (pdf)latex das HOME auf das users-Verzeichnis setzen
[kivitendo-erp.git]
/
SL
/
DB
/
Part.pm
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
1acd8ef
..
ce9738f
100644
(file)
--- a/
SL/DB/Part.pm
+++ b/
SL/DB/Part.pm
@@
-18,6
+18,11
@@
__PACKAGE__->meta->add_relationships(
class => 'SL::DB::Assembly',
column_map => { id => 'id' },
},
class => 'SL::DB::Assembly',
column_map => { id => 'id' },
},
+ partsgroup => {
+ type => 'one to one',
+ class => 'SL::DB::PartsGroup',
+ column_map => { partsgroup_id => 'id' },
+ },
);
__PACKAGE__->meta->initialize;
);
__PACKAGE__->meta->initialize;
@@
-103,6
+108,11
@@
sub available_units {
shift->unit_obj->convertible_units;
}
shift->unit_obj->convertible_units;
}
+# autogenerated accessor is slightly off...
+sub buchungsgruppe {
+ shift->buchungsgruppen(@_);
+}
+
1;
__END__
1;
__END__