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:
parent
6070492462
commit
93ed21862a
2 changed files with 1 additions and 5 deletions
|
@ -85,7 +85,6 @@ on the API.
|
|||
|
||||
sub to_api_mapping {
|
||||
return {
|
||||
currency => undef,
|
||||
listprice => 'list_currency',
|
||||
invoiceprice => 'invoice_currency',
|
||||
gstreg => 'gst',
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue