Skip to content

Commit

Permalink
[IMP] clean unnecessary models
Browse files Browse the repository at this point in the history
  • Loading branch information
clementmbr committed Mar 5, 2024
1 parent 34e7c36 commit 6d82144
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 248 deletions.
2 changes: 0 additions & 2 deletions sale_import_amazon/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
# 'views/amazon_marketplace.xml',
# 'views/sale_channel.xml',
# "views/res_partner.xml",
# "views/product_product.xml",
# "views/amazon_product.xml",
# "views/sale_order.xml",
"security/ir.model.access.csv",
],
Expand Down
10 changes: 4 additions & 6 deletions sale_import_amazon/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from . import sale_order
from . import amazon_product
from . import product_product
from . import res_partner
from . import amazon_marketplace
from . import queue_job_chunk
from . import sale_channel_importer_amazon
from . import res_partner
from . import sale_channel
from . import amazon_marketplace
from . import sale_channel_importer_amazon
from . import sale_order
146 changes: 0 additions & 146 deletions sale_import_amazon/models/amazon_backend.py

This file was deleted.

1 change: 1 addition & 0 deletions sale_import_amazon/models/amazon_marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class AmazonMarketplace(models.Model):
_description = "Amazon MarketPlace"
# List on https://developer-docs.amazon.com/sp-api/docs/marketplace-ids

# TODO: create xml data with all the Amazon Marketplaces
name = fields.Char()
country_code = fields.Char(required=True)
marketplace_ref = fields.Char()
12 changes: 0 additions & 12 deletions sale_import_amazon/models/amazon_product.py

This file was deleted.

10 changes: 0 additions & 10 deletions sale_import_amazon/models/product_product.py

This file was deleted.

1 change: 0 additions & 1 deletion sale_import_amazon/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
sale_import_amazon.access_sale_channel_importer_amazon,access_sale_channel_importer_amazon,sale_import_amazon.model_sale_channel_importer_amazon,base.group_user,1,1,1,1
sale_import_amazon.access_amazon_marketplace,access_amazon_marketplace,sale_import_amazon.model_amazon_marketplace,base.group_user,1,1,1,1
sale_import_amazon.access_amazon_product,access_amazon_product,sale_import_amazon.model_amazon_product,base.group_user,1,1,1,1
53 changes: 0 additions & 53 deletions sale_import_amazon/views/amazon_product.xml

This file was deleted.

18 changes: 0 additions & 18 deletions sale_import_amazon/views/product_product.xml

This file was deleted.

0 comments on commit 6d82144

Please sign in to comment.