PrestaShop-Odoo connector
connector_prestashop · OCA/connector-prestashop
- Repository
- OCA/connector-prestashop · module folder · Try on Runboat
- Module version
- 2.0.2
- Category
- Connector
- Folder size
- 3.01 MB
- License
- AGPL-3
- Application
- Yes
- Auto-installable
- No
- Website
- https://github.com/OCA/connector-prestashop
- Last tracking update
- 2026-08-07 07:47:48
- Authors
- Camptocamp, Akretion, Odoo Community Association (OCA), AvanzOSC, Tecnativa, Mind And Go
- Maintainers
- Camptocamp, Akretion, Odoo Community Association (OCA), AvanzOSC, Tecnativa, Mind And Go
- Committers
- GitHub, Florian da Costa, Weblate, OCA-git-bot, oca-ci, Florent THOMAS, Hai Lang
- Odoo dependencies
-
OCA/bank-payment:OCA/connector:OCA/connector-ecommerce:OCA/product-attribute:OCA/queue:OCA/sale-workflow:OCA/server-tools:odoo/odoo:- account- base- web- product- mail- bus- web_tour- uom- analytic- portal- digest- resource- base_vat- sale- payment- utm- stock- barcodes- delivery- purchase
- Python dependencies
- bs4, freezegun, html2text, prestapyt, vcrpy, requests, cachetools, openupgradelib
- System dependencies
- None
- Required by
- connector_prestashop_environment
- Description
Code Analysis ⓘ
Views touched (42)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_tax_group_connector_prestashop_tree_view |
prestashop.account.tax.group | tree | New | |
combination_connector_presta_form_view |
prestashop.product.combination | form | New | |
combination_connector_presta_tree_view |
prestashop.product.combination | tree | New | |
image_prestashop_binding_form_view |
Multi image prestashop binding form | prestashop.product.image | form | Inherits base_multi_image.image_form_view |
prestashop_binding_tax_group_form_view |
account.tax.group | form | New | |
product_category_connector_prestashop_form_view |
prestashop.product.category.form.view | prestashop.product.category | form | New |
product_category_connector_prestashop_tree_view |
prestashop.product.category | tree | New | |
product_category_prestashop_binding_form_view |
product.category | form | Inherits product.product_category_form_view | |
product_connector_presta_form_view |
prestashop.product.template | form | New | |
product_connector_presta_search |
prestashop.product.template.search | prestashop.product.template | search | New |
product_connector_presta_tree_view |
prestashop.product.template | tree | New | |
product_normal_form_view |
product.product | form | Inherits connector_base_product.product_normal_form_view | |
product_normal_form_view_default_check |
product.product | form | Inherits product.product_normal_form_view | |
product_product_tree_prestashop_view |
product.product.prestashop.tree | product.product | tree | Inherits product.product_product_tree_view |
product_template_common_form |
product.template | form | Inherits connector_base_product.product_template_common_form | |
product_template_default_category_form |
product.template | form | Inherits product_multi_category.product_template_only_form_view_add_categids | |
view_location_prestashop_inherited_form |
stock.location | form | Inherits stock.view_location_form | |
view_order_connector_prestashop_form |
sale.order.connector.prestashop.form | sale.order | form | Inherits connector_ecommerce.view_order_connector_form |
view_partner_category_form |
res.partner.category.form | res.partner.category | form | Inherits base.view_partner_category_form |
view_partner_form |
res.partner.form | res.partner | form | Inherits connector.view_partner_connector_form |
view_prestashop_address_form |
prestashop.address.form | prestashop.address | form | New |
view_prestashop_address_tree |
prestashop.address.tree | prestashop.address | tree | New |
view_prestashop_backend_form |
prestashop.backend.form | prestashop.backend | form | New |
view_prestashop_backend_tree |
prestashop.backend.tree | prestashop.backend | tree | New |
view_prestashop_delivery_carrier_form |
prestashop.delivery.carrier | form | New | |
view_prestashop_delivery_carrier_tree |
prestashop.delivery.carrier | tree | New | |
view_prestashop_partner_category_form |
prestashop.res.partner.category.form | prestashop.res.partner.category | form | New |
view_prestashop_partner_category_tree |
prestashop.res.partner.category.tree | prestashop.res.partner.category | tree | New |
view_prestashop_res_partner_form |
prestashop.res.partner.form | prestashop.res.partner | form | New |
view_prestashop_res_partner_tree |
prestashop.res.partner.tree | prestashop.res.partner | tree | New |
view_prestashop_sale_order_form |
prestashop.sale.order.form | prestashop.sale.order | form | New |
view_prestashop_sale_order_state_form |
prestashop.sale.order.state.form | prestashop.sale.order.state | form | New |
view_prestashop_sale_order_state_tree |
prestashop.sale.order.state.tree | prestashop.sale.order.state | tree | New |
view_prestashop_shop_form |
prestashop.shop.form | prestashop.shop | form | New |
view_prestashop_shop_group_form |
prestashop.shop.group.form | prestashop.shop.group | form | New |
view_prestashop_shop_group_tree |
prestashop.shop.group.tree | prestashop.shop.group | tree | New |
view_prestashop_shop_tree |
prestashop.shop.tree | prestashop.shop | tree | New |
view_queue_job_tree |
queue.job.tree | queue.job | tree | Inherits queue_job.view_queue_job_tree |
view_sale_order_state_form |
sale.order.state.form | sale.order.state | form | New |
view_sale_order_state_tree |
sale.order.state.tree | sale.order.state | tree | New |
view_stock_form |
stock.warehouse | form | Inherits stock.view_warehouse | |
view_tax_group_tree |
account.tax.group | account.tax.group | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (65)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
import_record(self, backend, prestashop_id, record=None, **kwargs)@api.modelImport a record from PrestaShop
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
prestashop_bind_idsOne2many → prestashop.refundcomodel_name='prestashop.refund'inverse_name='odoo_id'string='PrestaShop Bindings'
-
action_post(self)
-
prestashop_bind_idsOne2many → prestashop.account.taxcomodel_name='prestashop.account.tax'inverse_name='odoo_id'readonly=Truestring='prestashop Bindings'
No public methods.
-
company_idMany2one → res.companycomodel_name='res.company'index=Truestring='Company' -
prestashop_bind_idsOne2many → prestashop.account.tax.groupcomodel_name='prestashop.account.tax.group'inverse_name='odoo_id'readonly=Truestring='PrestaShop Bindings' -
tax_idsOne2many → account.taxcomodel_name='account.tax'inverse_name='tax_group_id'string='Taxes'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.product.imagecomodel_name='prestashop.product.image'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.delivery.carriercomodel_name='prestashop.delivery.carrier'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.mail.messagecomodel_name='prestashop.mail.message'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
odoo_idMany2one → account.taxcomodel_name='account.tax'ondelete='cascade'required=Truestring='Tax'
No public methods.
-
odoo_idMany2one → account.tax.groupcomodel_name='account.tax.group'ondelete='cascade'required=Truestring='Tax Group'
No public methods.
-
aliasCharargs: 'Prestashop Alias' -
backend_idMany2one → prestashop.backendcomodel_name='prestashop.backend'readonly=Truerelated='prestashop_partner_id.backend_id'store=Truestring='PrestaShop Backend' -
odoo_idMany2one → res.partnercomodel_name='res.partner'ondelete='cascade'required=Truestring='Partner' -
prestashop_partner_idMany2one → prestashop.res.partnercomodel_name='prestashop.res.partner'ondelete='cascade'required=Truestring='PrestaShop Partner' -
shop_group_idMany2one → prestashop.shop.groupcomodel_name='prestashop.shop.group'readonly=Truerelated='prestashop_partner_id.shop_group_id'store=Truestring='PrestaShop Shop Group' -
vat_numberCharargs: 'PrestaShop VAT'
No public methods.
-
companyCharstring='Address Company' -
date_addDatetimereadonly=Truestring='Created At (on PrestaShop)' -
date_updDatetimereadonly=Truestring='Updated At (on PrestaShop)'
No public methods.
-
activeBooleandefault=Truestring='Active' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>index=Truerequired=Truestring='Company' -
debugBooleanhelp="Activate PrestaShop's webservice debug mode" -
default_languageMany2one → res.langcomodel_name='res.lang'default=<expr> -
discount_product_idMany2one → product.productcomodel_name='product.product'index=Truerequired=Truestring='Discount Product' -
import_orders_sinceDatetimeargs: 'Import Orders since' -
import_partners_sinceDatetimeargs: 'Import partners since' -
import_payment_mode_sinceDatetimeargs: 'Import Payment Modes since' -
import_products_sinceDatetimeargs: 'Import Products since' -
import_refunds_sinceDatetimeargs: 'Import Refunds since' -
import_suppliers_sinceDatetimeargs: 'Import Suppliers since' -
importable_order_state_idsMany2many → sale.order.statecomodel_name='sale.order.state'help='If valued only orders matching these states will be imported.'string='Importable sale order states' -
language_idsOne2many → prestashop.res.langcomodel_name='prestashop.res.lang'inverse_name='backend_id'string='Languages' -
locationCharargs: 'Location' -
matching_customerBooleanhelp='The selected fields will be matched to the ref field of the partner. Please adapt your datas consequently.'string='Matching Customer' -
matching_product_chSelectionstring='Matching Field for product' args: [('reference', 'Reference'), ('barcode', 'Barcode')] -
matching_product_templateBooleanstring='Match product template' -
nameCharrequired=Truestring='Name' -
pricelist_idMany2one → product.pricelistcomodel_name='product.pricelist'default=<expr>help='Pricelist used in sales orders'required=Truestring='Pricelist' -
product_qty_fieldSelectiondefault='qty_available'help='Select how you want to calculate the qty to push to PS. 'required=Trueselection=[('qty_available_not_res', 'Immediately usable qty'), ('qty_available', 'Qty available')]string='Product qty' -
refund_journal_idMany2one → account.journalcomodel_name='account.journal'string='Refund Journal' -
sale_team_idMany2one → crm.teamcomodel_name='crm.team'help='Sales Team assigned to the imported sales orders.'string='Sales Team' -
shipping_product_idMany2one → product.productcomodel_name='product.product'index=Truerequired=Truestring='Shipping Product' -
stateSelectiondefault='draft'selection='_select_state'string='State' -
stock_location_idMany2one → stock.locationcomodel_name='stock.location'help='Location used to import stock quantities.'string='Stock Location' -
taxes_includedBooleanargs: 'Use tax included prices' -
tzSelectionhelp='The timezone of the backend. Used to synchronize the sale order date.' args: _tz_get, 'Timezone' -
verboseBooleanhelp='Output requests details in the logs' -
versionSelectionrequired=Trueselection='select_versions'string='Version' -
warehouse_idMany2one → stock.warehousecomodel_name='stock.warehouse'help='Warehouse used to compute the stock quantities.'required=Truestring='Warehouse' -
webservice_keyCharhelp="You have to put it in 'username' of the PrestaShop Webservice api path invite"string='Webservice key'
-
button_check_connection(self) -
button_reset_to_draft(self) -
change_matching_customer(self)@api.onchange('matching_customer') -
check_product_qty_field_dependencies_installed(self)@api.constrains('product_qty_field') -
fill_matched_fields(self, backend_id) -
get_version_ps_key(self, key) -
import_carriers(self) -
import_customers_since(self) -
import_payment_modes(self) -
import_products(self) -
import_refunds(self) -
import_sale_orders(self) -
import_stock_qty(self) -
import_suppliers(self) -
select_versions(self)@api.modelAvailable versions Can be inherited to add custom versions. -
synchronize_basedata(self) -
synchronize_metadata(self) -
update_product_stock_qty(self)
-
activeBooleandefault=Truestring='Active' -
backend_idMany2one → prestashop.backendcomodel_name='prestashop.backend'ondelete='restrict'required=Truestring='PrestaShop Backend' -
no_exportBooleanargs: 'No export to PrestaShop' -
prestashop_idIntegerargs: 'ID on PrestaShop'
-
check_active(self, backend) -
export_delete_record(self, backend, external_id, attributes=None)Delete a record on PrestaShop -
export_record(self, fields=None)Export a record on PrestaShop -
import_batch(self, backend, filters=None, **kwargs)@api.modelPrepare a batch import of records from PrestaShop -
import_record(self, backend, prestashop_id, force=False)@api.modelImport a record from PrestaShop -
resync(self)
-
odoo_idReferenceondelete='cascade'required=Trueselection=_get_selectionstring='Odoo binding'
No public methods.
-
active_extBooleanstring='Active in PrestaShop' -
export_trackingBooleanstring='Export tracking numbers to PrestaShop' -
id_referenceIntegerhelp="In PrestaShop, carriers can be copied with the same 'Reference ID' (only the last copied carrier will be synchronized with the ERP)"string='Reference ID' -
name_extCharstring='Name in PrestaShop' -
odoo_idMany2one → delivery.carriercomodel_name='delivery.carrier'ondelete='cascade'required=Truestring='Delivery carrier'
No public methods.
-
odoo_idMany2one → product.pricelistcomodel_name='product.pricelist'ondelete='cascade'required=Truestring='Odoo Pricelist'
No public methods.
-
odoo_idMany2one → mail.messagecomodel_name='mail.message'ondelete='cascade'required=Truestring='Message'
No public methods.
-
companyCharstring='Partner Company' -
date_addDatetimereadonly=Truestring='Created At (on PrestaShop)' -
date_updDatetimereadonly=Truestring='Updated At (on PrestaShop)' -
default_category_idMany2one → prestashop.res.partner.categorycomodel_name='prestashop.res.partner.category'help="This field is synchronized with the field 'Default customer group' in PrestaShop."string='PrestaShop default category' -
group_idsMany2many → prestashop.res.partner.categorycolumn1='partner_id'column2='category_id'comodel_name='prestashop.res.partner.category'relation='prestashop_category_partner'string='PrestaShop Groups'
No public methods.
-
activeBooleandefault=Truestring='Active' -
date_addDatetimereadonly=Truestring='Created At (on PrestaShop)' -
date_updDatetimereadonly=Truestring='Updated At (on PrestaShop)' -
default_shop_idMany2one → prestashop.shopcomodel_name='prestashop.shop' -
descriptionHtmlhelp='HTML description from PrestaShop'string='Description'translate=True -
link_rewriteCharstring='Friendly URL'translate=True -
meta_descriptionChartranslate=True args: 'Meta description' -
meta_keywordsCharstring='Meta keywords'translate=True -
meta_titleCharstring='Meta title'translate=True -
odoo_idMany2one → product.categorycomodel_name='product.category'ondelete='cascade'required=Truestring='Product Category' -
positionIntegerstring='Position'
No public methods.
-
main_template_idMany2one → prestashop.product.templatecomodel_name='prestashop.product.template'ondelete='cascade'required=Truestring='Main Template' -
odoo_idMany2one → product.productcomodel_name='product.product'ondelete='cascade'required=Truestring='Odoo Product' -
quantityFloathelp='Last computed quantity to send on PrestaShop.'string='Computed Quantity' -
referenceCharstring='Original reference'
-
export_inventory(self, fields=None)Export the inventory configuration and quantity of a product. -
export_product_quantities(self, backend)@api.model -
set_product_image_variant(self, backend, combination_ids, **kwargs)
-
group_typeSelectiondefault='select'string='Type' args: [('color', 'Color'), ('radio', 'Radio'), ('select', 'Select')] -
odoo_idMany2one → product.attributecomodel_name='product.attribute'ondelete='cascade'required=Truestring='Odoo Attribute' -
prestashop_positionIntegerargs: 'PrestaShop Position' -
public_nameCharstring='Public Name'translate=True
No public methods.
-
id_attribute_groupMany2one → prestashop.product.combination.optioncomodel_name='prestashop.product.combination.option' -
odoo_idMany2one → product.attribute.valuecomodel_name='product.attribute.value'ondelete='cascade'required=Truestring='Odoo Option' -
prestashop_positionIntegerdefault=1string='PrestaShop Position'
No public methods.
-
odoo_idMany2one → base_multi_image.imagecomodel_name='base_multi_image.image'ondelete='cascade'required=Truestring='Product image'
-
import_product_image(self, backend, product_tmpl_id, image_id, **kwargs)Import a product image
No new fields.
Public methods (1)-
recompute_prestashop_qty(self)
-
odoo_idMany2one → product.supplierinfocomodel_name='product.supplierinfo'ondelete='cascade'required=Truestring='Supplier info'
No public methods.
-
always_availableBooleandefault=Truehelp='If checked, this product is considered always available'string='Active Prestashop' -
available_for_orderBooleandefault=Truestring='Available for Order Taking' -
combinations_idsOne2many → prestashop.product.combinationcomodel_name='prestashop.product.combination'inverse_name='main_template_id'string='Combinations' -
date_addDatetimereadonly=Truestring='Created at (in PrestaShop)' -
date_updDatetimereadonly=Truestring='Updated at (in PrestaShop)' -
default_shop_idMany2one → prestashop.shopcomodel_name='prestashop.shop'required=Truestring='Default shop' -
description_htmlHtmlhelp='HTML description from PrestaShop'string='Description HTML'translate=True -
description_short_htmlHtmlstring='Short Description'translate=True -
link_rewriteCharrequired=Truestring='Friendly URL'translate=True -
low_stock_alertBooleanstring='Low Stock Alert' -
low_stock_thresholdIntegerstring='Low Stock Threshold' -
odoo_idMany2one → product.templatecomodel_name='product.template'ondelete='cascade'required=Truestring='Template' -
on_saleBooleanstring='Show on sale icon' -
out_of_stockSelectionstring='If stock shortage' args: [('0', 'Refuse order'), ('1', 'Accept order'), ('2', 'Default prestashop')] -
quantityFloathelp='Last computed quantity to send to PrestaShop.'string='Computed Quantity' -
referenceCharstring='Original reference' -
show_priceBooleandefault=Truestring='Display Price' -
visibilitySelectiondefault='both'selection=[('both', 'All shop'), ('catalog', 'Only Catalog'), ('search', 'Only search results'), ('none', 'Hidden')]string='Visibility' -
wholesale_priceFloatdigits='Product Price'string='Cost Price'
-
export_inventory(self, fields=None)Export the inventory configuration and quantity of a product. -
export_product_quantities(self, backend=None) -
import_inventory(self, backend) -
import_products(self, backend, since_date=None, **kwargs)
-
odoo_idMany2one → account.movecomodel_name='account.move'ondelete='cascade'required=Truestring='Invoice'
-
import_refunds(self, backend, since_date, **kwargs)
-
odoo_idMany2one → res.countrycomodel_name='res.country'ondelete='cascade'required=Truestring='Country'
No public methods.
-
odoo_idMany2one → res.currencycomodel_name='res.currency'ondelete='cascade'required=Truestring='Odoo Currency'
No public methods.
-
activeBooleandefault=Falsestring='Active in PrestaShop' -
odoo_idMany2one → res.langcomodel_name='res.lang'ondelete='cascade'required=Truestring='Language'
No public methods.
-
backend_idMany2one → prestashop.backendcomodel_name='prestashop.backend'readonly=Truerelated='shop_group_id.backend_id'store=Truestring='PrestaShop Backend' -
birthdayDatestring='Birthday' -
newsletterBooleanstring='Newsletter' -
odoo_idMany2one → res.partnercomodel_name='res.partner'ondelete='cascade'required=Truestring='Partner' -
shop_group_idMany2one → prestashop.shop.groupcomodel_name='prestashop.shop.group'ondelete='restrict'required=Truestring='PrestaShop Shop Group' -
shop_idMany2one → prestashop.shopcomodel_name='prestashop.shop'string='PrestaShop Shop'
-
import_customers_since(self, backend_record=None, since_date=None, **kwargs)Prepare the import of partners modified on PrestaShop
-
date_addDatetimereadonly=Truestring='Created At (on PrestaShop)' -
date_updDatetimereadonly=Truestring='Updated At (on PrestaShop)' -
odoo_idMany2one → res.partner.categorycomodel_name='res.partner.category'ondelete='cascade'required=Truestring='Partner Category'
No public methods.
-
odoo_idMany2one → sale.ordercomodel_name='sale.order'ondelete='cascade'required=Truestring='Sale Order' -
prestashop_delivery_numberCharargs: 'PrestaShop Delivery Number' -
prestashop_discount_line_idsOne2many → prestashop.sale.order.line.discountcomodel_name='prestashop.sale.order.line.discount'inverse_name='prestashop_order_id'string='PrestaShop Discount Lines' -
prestashop_invoice_numberCharargs: 'PrestaShop Invoice Number' -
prestashop_order_line_idsOne2many → prestashop.sale.order.linecomodel_name='prestashop.sale.order.line'inverse_name='prestashop_order_id'string='PrestaShop Order Lines' -
total_amountFloatdigits='Account'readonly=Truestring='Total amount in PrestaShop' -
total_amount_taxFloatdigits='Account'readonly=Truestring='Total tax in PrestaShop' -
total_shipping_tax_excludedFloatdigits='Account'readonly=Truestring='Total shipping without tax in PrestaShop' -
total_shipping_tax_includedFloatdigits='Account'readonly=Truestring='Total shipping with tax in PrestaShop'
-
export_sale_state(self) -
export_tracking_number(self)Export the tracking number of a delivery order. -
find_prestashop_state(self) -
import_orders_since(self, backend, since_date=None, **kwargs)Prepare the import of orders modified on PrestaShop
-
odoo_idMany2one → sale.order.linecomodel_name='sale.order.line'ondelete='cascade'required=Truestring='Sale Order line' -
prestashop_order_idMany2one → prestashop.sale.ordercomodel_name='prestashop.sale.order'index=Trueondelete='cascade'required=Truestring='PrestaShop Sale Order'
-
create(self, vals)@api.model
-
odoo_idMany2one → sale.order.linecomodel_name='sale.order.line'ondelete='cascade'required=Truestring='Sale Order line' -
prestashop_order_idMany2one → prestashop.sale.ordercomodel_name='prestashop.sale.order'index=Trueondelete='cascade'required=Truestring='PrestaShop Sale Order'
-
create(self, vals)@api.model
-
odoo_idMany2one → sale.order.statecomodel_name='sale.order.state'ondelete='cascade'required=Truestring='Sale Order State' -
openerp_state_idsOne2many → sale.order.state.listcomodel_name='sale.order.state.list'inverse_name='prestashop_state_id'string='Odoo States'
No public methods.
-
backend_idMany2one → prestashop.backendcomodel_name='prestashop.backend'compute='_compute_backend_id'store=Truestring='PrestaShop Backend' -
default_urlCharargs: 'Default url' -
nameCharhelp='The name of the method on the backend'required=Truestring='Name' -
odoo_idMany2one → stock.warehousecomodel_name='stock.warehouse'ondelete='cascade'readonly=Truerequired=Truestring='WareHouse' -
shop_group_idMany2one → prestashop.shop.groupcomodel_name='prestashop.shop.group'ondelete='cascade'required=Truestring='PrestaShop Shop Group'
No public methods.
-
company_idMany2one → res.companycomodel_name='res.company'related='backend_id.company_id'string='Company' -
nameCharrequired=True args: 'Name' -
shop_idsOne2many → prestashop.shopcomodel_name='prestashop.shop'inverse_name='shop_group_id'readonly=Truestring='Shops'
No public methods.
-
odoo_idMany2one → res.partnercomodel_name='res.partner'ondelete='cascade'required=Truestring='Partner'
-
import_suppliers(self, backend, since_date, **kwargs)
No new fields.
Public methods (0)No public methods.
-
prestashop_bind_idsOne2many → prestashop.product.combination.optioncomodel_name='prestashop.product.combination.option'inverse_name='odoo_id'string='PrestaShop Bindings (combinations)'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.product.combination.option.valuecomodel_name='prestashop.product.combination.option.value'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.product.categorycomodel_name='prestashop.product.category'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_groups_bind_idsOne2many → prestashop.groups.pricelistcomodel_name='prestashop.groups.pricelist'inverse_name='odoo_id'string='PrestaShop user groups'
No public methods.
-
default_onBooleanstring='Default On' -
impact_priceFloatdigits='Product Price'string='Price Impact' -
prestashop_combinations_bind_idsOne2many → prestashop.product.combinationcomodel_name='prestashop.product.combination'inverse_name='odoo_id'string='PrestaShop Bindings (combinations)'
-
create(self, vals)@api.model -
open_product_template(self)Utility method used to add an "Open Product Template" button in product.product views -
unlink(self) -
update_prestashop_qty(self) -
update_prestashop_quantities(self) -
write(self, vals)
-
prestashop_bind_idsOne2many → prestashop.product.supplierinfocomodel_name='prestashop.product.supplierinfo'inverse_name='odoo_id'string='PrestaShop bindings'
No public methods.
-
default_image_idIntegerstring='PrestaShop Default Image ID' -
prestashop_bind_idsOne2many → prestashop.product.templatecomodel_name='prestashop.product.template'copy=Falseinverse_name='odoo_id'string='PrestaShop Bindings' -
prestashop_default_category_idMany2one → product.categorycomodel_name='product.category'ondelete='restrict'string='PrestaShop Default Category'
-
update_prestashop_quantities(self)
No new fields.
Public methods (1)-
related_action_record(self, binding_id_pos=0)
-
prestashop_bind_idsOne2many → prestashop.res.countrycomodel_name='prestashop.res.country'inverse_name='odoo_id'readonly=Truestring='prestashop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.res.currencycomodel_name='prestashop.res.currency'inverse_name='odoo_id'readonly=Truestring='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.res.langcomodel_name='prestashop.res.lang'inverse_name='odoo_id'readonly=Truestring='PrestaShop Bindings'
No public methods.
-
prestashop_address_bind_idsOne2many → prestashop.addresscomodel_name='prestashop.address'inverse_name='odoo_id'string='PrestaShop Address Bindings' -
prestashop_bind_idsOne2many → prestashop.res.partnercomodel_name='prestashop.res.partner'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_supplier_bind_idsOne2many → prestashop.suppliercomodel_name='prestashop.supplier'inverse_name='odoo_id'string='PrestaShop supplier bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.res.partner.categorycomodel_name='prestashop.res.partner.category'inverse_name='odoo_id'readonly=Truestring='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.sale.ordercomodel_name='prestashop.sale.order'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
prestashop_bind_idsOne2many → prestashop.sale.order.linecomodel_name='prestashop.sale.order.line'inverse_name='odoo_id'string='PrestaShop Bindings' -
prestashop_discount_bind_idsOne2many → prestashop.sale.order.line.discountcomodel_name='prestashop.sale.order.line.discount'inverse_name='odoo_id'string='PrestaShop Discount Bindings'
No public methods.
-
company_idMany2one → res.companycomodel_name='res.company'required=Truestring='Company' -
nameChartranslate=True args: 'Name' -
prestashop_bind_idsOne2many → prestashop.sale.order.statecomodel_name='prestashop.sale.order.state'inverse_name='odoo_id'string='PrestaShop Bindings'
No public methods.
-
nameSelectionrequired=Trueselection=[('draft', 'Quotation'), ('sent', 'Quotation Sent'), ('sale', 'Sales Order'), ('done', 'Locked'), ('cancel', 'Cancelled')]string='Odoo State' -
prestashop_idIntegerreadonly=Truerelated='prestashop_state_id.prestashop_id'store=Truestring='PrestaShop ID' -
prestashop_state_idMany2one → prestashop.sale.order.statecomodel_name='prestashop.sale.order.state'string='PrestaShop State'
No public methods.
-
prestashop_synchronizedBooleanhelp='Check this option to synchronize this location with PrestaShop'string='Sync with PrestaShop'
-
get_prestashop_stock_locations(self)@api.model
No new fields.
Public methods (3)-
create(self, vals)@api.model -
unlink(self) -
write(self, vals)
-
prestashop_bind_idsOne2many → prestashop.shopcomodel_name='prestashop.shop'inverse_name='odoo_id'readonly=Truestring='PrestaShop Bindings'
No public methods.
Loading…
Loading…
Loading…