Bug 18177: remove aqbooksellers.currency

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-03-17 09:53:04 +01:00 committed by Martin Renvoize
parent 6070492462
commit 93ed21862a
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 1 additions and 5 deletions

View file

@ -85,7 +85,6 @@ on the API.
sub to_api_mapping {
return {
currency => undef,
listprice => 'list_currency',
invoiceprice => 'invoice_currency',
gstreg => 'gst',

View file

@ -764,10 +764,7 @@ $schema->storage->txn_rollback();
sub field_filter {
my ($struct) = @_;
for my $field (
'currency', 'invoiceprice',
'listprice', 'contacts'
)
for my $field ( qw(invoiceprice listprice contacts) )
{
if ( grep { /^$field$/ } keys %$struct ) {