Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] connector_prestashop_catalog_manager: Migration to 16.0 #181

Open
wants to merge 34 commits into
base: 16.0
Choose a base branch
from

Conversation

AurelijaNorvaisaite
Copy link

No description provided.

pedrobaeza and others added 30 commits June 26, 2024 16:10
=============================================
Catalog Manager for Odoo PrestaShop Connector
=============================================

This module is an extension for *connector_prestashop*. With it, you will be
able to manage your catalog directly from Odoo:

* Create/modify attributtes and values in Odoo and push then in PrestaShop.
* Create/modify products and push them in PrestaShop.
* Create/modify products variants and push them in PrestaShop (combinations).
* Create/modify category and push them in PrestaShop.
* Create/modify image and push then in PrestaShop.

Known issues / Roadmap
======================

* Tests.
…om category view. Better option when you want export a lot of categories
…date in product_mapper, in PrestaShop this field determine the 'new' state
…t_combination from product template export mapper
* Passing arguments between ConnectorUnits should be done using
  **kwargs, passing values in context should be discouraged
* This shop_url attribute/arg is not used anywhere but a specific addon
  for a specific use case, it should be done in a custom extension
  addon. Changes that aim to make the extension more easy should be
  encouraged. In this regard, I extracted some methods in
  ProductTemplateImporter to allow the forward of custom **kwargs
This allows to drop all the "_create" overrides.
The default value of the 'Product Price' rounding is 2, which is
insufficient to get back and forth from the tax included and tax
excluded prices. 6 should be sufficient (e.g. from 250.00 and a tax of
8%, we get 231.481481 and from the latter we can get back our 250.00)
* [FIX] manufacturer export on template

  Export of manufacturer on template was broken due to a probable typo.
  `id_manufacturer` value was taken using `to_odoo` instead of `to_backend`.

* [IMP] filter of importable orders by state

  If `backend_record.importable_order_state_ids` is valued we check if current order is in the list.
  If not, the job fails gracefully.

* [FIX] combination image: do not default to `False` when missing
sergio-teruel and others added 4 commits June 26, 2024 16:10
…tabase store to linked to ps image after export

(cherry picked from commit 8e3b16b)
That may pass the prestashop id insted of the binding id to the exporter
That can cause the following problems:

* A job Error: Key (id_attribute_group)=(4) is not present in table "prestashop_product_combination_option"

* Wrong combination or combination values export or updated
* Combination or combination value never exported
* Faulty value in fields 'id_attribute_group' leading to data
  incoherence

(cherry picked from commit 767ba36)
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants