-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
[MIG][17.0] connector_ecommerce: Migration to 17.0 #80
base: 17.0
Are you sure you want to change the base?
[MIG][17.0] connector_ecommerce: Migration to 17.0 #80
Commits on Jan 12, 2024
-
[CHG] rename 'base_sale_multichannels' to 'connector_ecommerce'
[FIX] decimal_precision import does not use openerp.addons namespace
Configuration menu - View commit details
-
Copy full SHA for e0c86c2 - Browse repository at this point
Copy the full SHA e0c86c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d26b626 - Browse repository at this point
Copy the full SHA d26b626View commit details -
Configuration menu - View commit details
-
Copy full SHA for 527022a - Browse repository at this point
Copy the full SHA 527022aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a023038 - Browse repository at this point
Copy the full SHA a023038View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8784181 - Browse repository at this point
Copy the full SHA 8784181View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e7d01 - Browse repository at this point
Copy the full SHA a4e7d01View commit details -
[FIX] styling, license, imports, some fixes
[FIX] remove an old view not installable
Configuration menu - View commit details
-
Copy full SHA for fba7eab - Browse repository at this point
Copy the full SHA fba7eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7430b95 - Browse repository at this point
Copy the full SHA 7430b95View commit details -
[IMP] start adding support of onchange in connector-ecommerce
[IMP] finish onchange support, add doc string, support tax. The option use external taxe will be not implemented, as re-computing tax in OpenERP is the best option. If you need it, create a independant module for it, fix copyright [REF] refactor introduce the class SaleOrderOnChange
Configuration menu - View commit details
-
Copy full SHA for f7d1939 - Browse repository at this point
Copy the full SHA f7d1939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3196388 - Browse repository at this point
Copy the full SHA 3196388View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bcfecb - Browse repository at this point
Copy the full SHA 1bcfecbView commit details -
[IMP] play on change on sale.order and sale.order.lines in new framew…
…ork, + support adding extra s.o. lines on the fly add comments on the internals of SaleOrderOnChange.play()
Configuration menu - View commit details
-
Copy full SHA for 55ea19b - Browse repository at this point
Copy the full SHA 55ea19bView commit details -
[FIX] wrong arguments in action_done
[IMP] work on stock.picking.out instead of stock.picking [REM] clean delivery carrier old code [ADD] a connector hook in the stock.picking.out view [FIX] action_done is not called on stock.picking.out but only on stock.picking [CHG] rename base_sale_data.xml to ecommerce_data.xml [ADD] hook in invoice view for connectors [ADD] account_invoice.origin_order_id, link to the order which created the invoice [REF] moved sale.py code to old_stuff.py [ADD] copy the order id to the invoice it creates [REM] remove code [REF] move content of partner.py to old_stuff.py [REF] move partner_view.xml content to old_xml_stuff.xml [REF] moved code from product.py to old_stuff.py [REF] removed views and act_window links to ir.model.data from sale_view.xml [REF] removed external.referential.category.csv [REF] remove obsolete access groups [REF] comment out the sale exception until its reimplementation [REF] removed the import order wizard [REF] removed connector.py [FIX] style [REF] moved external_referential.py code to old_stuff.py [REF] remove empty files [ADD] hook for connectors in sale view [FIX] do not load removed file [REF] updated __openerp__ manifest, changed copyright attribution to reflect the facts, changed the license from GPL to AGPL-3 [FIX] reintroduce methods used for the import of magento sale orders [FIX] connector_ecommerce: replace dependencies on sale_quick_payment by sale_quick_payment [ADD] connector_ecommerce: add import_rule and days_before_cancel in payment.method, theses fields will be used by the connectors [IMP] connector_ecommerce: call the onchanges on the sale order to apply the workflow default values [IMP] connector_ecommerce: activate the options 'Allow different addresses', 'Multiple shop', 'Discount on SO lines' [FIX] noupdate=1 on the global settings activation [FIX] missing name in a view [IMP] add hints in payment method view to help in the choice of the import rules [ADD] on_product_price_changed Event, fired when the price of a product could have changed As the price is a fields.function based on the contextual pricelist, we can never be sure that a price has changed, it depends on the context. So we search all the base fields used to compute the price, and if one of these has changed, the event is fired. [FIX] initialize the context when None [IMP] reviewed the connector_ecommerce's description in the manifest __openerp__.py [FIX] remove obsolete sale exception [ADD] fields cancelled_in_backend and cancellation_resolved to handle the cancellation of the sales orders from a backend [IMP] add a notification when a user choose to not cancel a sales order cancelled on the backend [ADD] notification when a sales order is cancelled on the backend [IMP] ignore the cancellation from the backend should be done by a sales manager only [IMP] ask for a reason when the sale order is not cancelled despite the cancellation on the backend [FIX] filter on cancels should exclude the resolved cancels [ADD] a parent_id field on the sale order, base implementation, the logic needs to be implemented in the connectors due to their own specificities [ADD] button to open the parent sale order [ADD] sale exception preventing confirmation of a sale order when it has a parent order cancelled on the backend [IMP] add the sales manager rights to the connector manager because they usually need these rights [IMP] fields 'need_cancel' and 'parent_need_cancel' [FIX] spells cancelled with the US form: canceled [FIX] typos in views [FIX] hide the 'keep open' button in canceled state [ADD] when we write 'canceled_in_backend' in a sales order, try to automatically cancel it [FIX] filter out already cancelled sales orders from the filter 'to cancel' [FIX] domain for the invisible attribute of the 'keep open' button, logic was reversed [IMP] add a note on the related pickings and invoices of an order cancelled from backend [FIX] cancelation of sales order: quotation states requires to be canceled via the workflow, sales order states with the action_cancel method. Some states can not be canceled. [ADD] sale exception when an ordered product has a pending connector checkpoint [ADD] french translation
Configuration menu - View commit details
-
Copy full SHA for 92e71bd - Browse repository at this point
Copy the full SHA 92e71bdView commit details -
[ADD] 'Authorized' import rules to be able to import sales orders aut…
…horized by a payment institute but not paid yet.
Configuration menu - View commit details
-
Copy full SHA for 444c787 - Browse repository at this point
Copy the full SHA 444c787View commit details -
[REF] started to use ConnectorUnit classes to add extra lines in sale…
… orders (shipping, ...), need a refactoring of the Mapper though. WIP
Configuration menu - View commit details
-
Copy full SHA for 8912e4d - Browse repository at this point
Copy the full SHA 8912e4dView commit details -
Fix a bug : remove special fields before database storage (avoid to t…
…ry to store non existing fields in db)
Configuration menu - View commit details
-
Copy full SHA for 47664a9 - Browse repository at this point
Copy the full SHA 47664a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b95ef06 - Browse repository at this point
Copy the full SHA b95ef06View commit details -
[IMP] - make possible to inherit the method _add_order_extra_line (do…
…ne for prestashoperpconnect in a first place to be able to add or not the tax on delivery lines)
Configuration menu - View commit details
-
Copy full SHA for a250b83 - Browse repository at this point
Copy the full SHA a250b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27a6434 - Browse repository at this point
Copy the full SHA 27a6434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c91031 - Browse repository at this point
Copy the full SHA 3c91031View commit details -
[FIX] the onchange test had a TypeError, now it fails for some reason
[ADD] a test which check if on_invoice_validated is correctly fired [ADD] test the fire of 'on_invoice_paid' [FIX] formatting of the onchange test [FIX] fix the failing test: the payment_method_id and workflow_payment_id are not mandatory in a sale order [FIX] fr_FR.po files not loaded, should be named fr.po [FIX] context not propagated [ADD] docstring [CHG] rename ExtraOrderLineBuilder to SpecialOrderLineBuilder [FIX] use session [ADD] deprecation warning [IMP] allow to use a product id or a product browse_record in lines builders [FIX] Sales Orders onchanges: allow to have lines with other commands than (0, 0, {values}). [FIX] simplify last change [FIX] in lines builders, product_ref is not mandatory if we provide a product, renames 'product_id' to 'product', keeping ambiguity as we can have an int or browse_record. [IMP] propagate the 'shop_id' in the context if it exists so the fiscal position rules (from openerp-fiscal-rules' project) can apply automatically [FIX] 'int' object is not iterable error [FIX] 'int' object is not iterable error, again
Configuration menu - View commit details
-
Copy full SHA for 1057c8e - Browse repository at this point
Copy the full SHA 1057c8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4613d9 - Browse repository at this point
Copy the full SHA f4613d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc338c0 - Browse repository at this point
Copy the full SHA cc338c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7824c1e - Browse repository at this point
Copy the full SHA 7824c1eView commit details -
The special sales orders lines can have a sequence and have low prior…
…ity by default so they are likely to appear at the bottom, shipping line being the last one
Configuration menu - View commit details
-
Copy full SHA for a8d7698 - Browse repository at this point
Copy the full SHA a8d7698View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7811bb - Browse repository at this point
Copy the full SHA c7811bbView commit details -
rise the sequence of the special lines to reduce chances to be reache…
…d in case of orders with many lines, leave some space if people want to insert custom special lines in between The default special's sequence is 980, for the same reason than before do not build a new dict when default is an empty dict, not necessary to build a context dict (not used) add read accesses on the sales users so they can confirm a sales order
Configuration menu - View commit details
-
Copy full SHA for 9c3d2fd - Browse repository at this point
Copy the full SHA 9c3d2fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8652e7c - Browse repository at this point
Copy the full SHA 8652e7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05fa15c - Browse repository at this point
Copy the full SHA 05fa15cView commit details -
set modules to not installable
Move connector_ecommerce in the root folder and set installable It now depends on sale_payment_automatic_workflow In v7. sale_automatic_workflow had a dependency on sale_payment_method. This is no longer true, now the module sale_payment_automatic_workflow makes the glue between sale_automatic_workflow and sale_payment_method. sale.shop has passed away Remove the deprecated methods used to generate special lines, yeah! stock.picking.out is no longer there Remove the fiscal position rule onchange As something similar has been implemented in v8, I'm not sure that the fiscal position rule will be used and if it will, the onchange signature will change, so let's remove it and add it again if necessary later. Adapt the onchange players to the new API Thanks to Model.onchange(), we apply the onchanges on a temporary 'new record' and get back the changed values. Then we apply these values on our order values. Use relative imports and remove fast_suite, checks in tests Use the new env when building special lines Rename environment to connector_env (follows connector's changes) Use the new API Correctly raise the event when a picking becomes 'done' Test that on_tracking_number_added is fired Correctly fire the event for partial pickings Update the manifest and description; bump to 3.0.0 Correction of typos Use @api.one as we have nothing outside the loop Corrections of more typos
Configuration menu - View commit details
-
Copy full SHA for 48ce15d - Browse repository at this point
Copy the full SHA 48ce15dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31d72d6 - Browse repository at this point
Copy the full SHA 31d72d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3aef2d - Browse repository at this point
Copy the full SHA e3aef2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc3135 - Browse repository at this point
Copy the full SHA ddc3135View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdaecba - Browse repository at this point
Copy the full SHA fdaecbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c698507 - Browse repository at this point
Copy the full SHA c698507View commit details -
[IMP] changes related to accounting views [IMP] changes related to sales and stock views [REN] renamed inherited class [IMP] changes related to object rename [FIX] indentation [FIX] indentation with spaces
Configuration menu - View commit details
-
Copy full SHA for cc0bdd4 - Browse repository at this point
Copy the full SHA cc0bdd4View commit details -
Replace product.price.type by predefined fields
Remove workflow related code in sales cancelation Rework onchange manager as we have only new API remove +x on csv Move line builder units in the unit directory Use ConnectorSession.from_env() idiom Fix OnChangeManager unit * pass model to play_onchanges() * extract id from (id, name) tuples on many2one fields * get actual model and not 'model'
Configuration menu - View commit details
-
Copy full SHA for 254e3a2 - Browse repository at this point
Copy the full SHA 254e3a2View commit details -
[FIX] changed to MVC structure
[FIX] changed to MVC structure - modifications [IMP] modifications for account_payment_mode
Configuration menu - View commit details
-
Copy full SHA for 2f2d467 - Browse repository at this point
Copy the full SHA 2f2d467View commit details -
Remove account.tax.group, now exists in 'account'
Improve phrasing, short license headers, ... Rename class Environment to ConnectorEnvironment Following the upstream change
Configuration menu - View commit details
-
Copy full SHA for aad8f8d - Browse repository at this point
Copy the full SHA aad8f8dView commit details -
[FIX] renamed filename to account_payment_mode
[FIX] sale exception rule eval correction and xml odoo definition
Configuration menu - View commit details
-
Copy full SHA for 79b5dbd - Browse repository at this point
Copy the full SHA 79b5dbdView commit details -
Capitalize products names for consistency
Correct tests of connector_ecommerce Do not copy sale fields (+ _compute naming)
Configuration menu - View commit details
-
Copy full SHA for 3dd78c3 - Browse repository at this point
Copy the full SHA 3dd78c3View commit details -
[FIX] dependency on taxes_id for tax_group [FIX] indentetion issue with python expression [FIX] code optimization for tax [REM] removed unnecessary attribute [FIX] flake8 validation
Configuration menu - View commit details
-
Copy full SHA for 037eb86 - Browse repository at this point
Copy the full SHA 037eb86View commit details -
Extract onchange fields for better extensibility
Subclasses of the SaleOrderOnChange are now able to add or remove fields from the list of fields on which the onchanges are applied.
Configuration menu - View commit details
-
Copy full SHA for 5a73a6c - Browse repository at this point
Copy the full SHA 5a73a6cView commit details -
[MIG] Make modules uninstallable
[MIG] Rename manifest files
Configuration menu - View commit details
-
Copy full SHA for 52349d9 - Browse repository at this point
Copy the full SHA 52349d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 043846c - Browse repository at this point
Copy the full SHA 043846cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a697c3a - Browse repository at this point
Copy the full SHA a697c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b72257f - Browse repository at this point
Copy the full SHA b72257fView commit details -
fix message_post() expecting a len(recordset) == 1
Use new component system Correct model name Add new style events Show connector tab only for connector manager Fix indentation of views Dispatch on_picking_out_done on stock.picking Create sale shipping line as 'is_delivery' And do not recreate it on delivery if it has been created in the first place Bump connector_ecommerce version
Configuration menu - View commit details
-
Copy full SHA for f72d727 - Browse repository at this point
Copy the full SHA f72d727View commit details -
Fire new event: 'on_picking_dropship_done' when an 'incoming' shipmen…
…t happens but is effectively a 'dropship' Reduce duplicate code. Simplify method expression.
Configuration menu - View commit details
-
Copy full SHA for 9c17855 - Browse repository at this point
Copy the full SHA 9c17855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 519bed4 - Browse repository at this point
Copy the full SHA 519bed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for caa3b08 - Browse repository at this point
Copy the full SHA caa3b08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5856f7d - Browse repository at this point
Copy the full SHA 5856f7dView commit details -
Update connector_ecommerce/views/sale_view.xml
Co-Authored-By: acm1pt-colorado <luisadanjimenez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0d01132 - Browse repository at this point
Copy the full SHA 0d01132View commit details -
Update connector_ecommerce/tests/test_picking_event.py
Co-Authored-By: Iván Todorovich <ivan.todorovich@druidoo.io>
Configuration menu - View commit details
-
Copy full SHA for bbf5b5a - Browse repository at this point
Copy the full SHA bbf5b5aView commit details -
Update connector_ecommerce/tests/test_picking_event.py
Co-Authored-By: Iván Todorovich <ivan.todorovich@druidoo.io>
Configuration menu - View commit details
-
Copy full SHA for ca40fc1 - Browse repository at this point
Copy the full SHA ca40fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fd063 - Browse repository at this point
Copy the full SHA 39fd063View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa3e775 - Browse repository at this point
Copy the full SHA fa3e775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40a126e - Browse repository at this point
Copy the full SHA 40a126eView commit details -
[FIX]not exist field in model raise error so remove those before call…
…ing onchange and then add back
Configuration menu - View commit details
-
Copy full SHA for c218dab - Browse repository at this point
Copy the full SHA c218dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ab710 - Browse repository at this point
Copy the full SHA 33ab710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9469507 - Browse repository at this point
Copy the full SHA 9469507View commit details -
Configuration menu - View commit details
-
Copy full SHA for faf2f9e - Browse repository at this point
Copy the full SHA faf2f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for efcddb6 - Browse repository at this point
Copy the full SHA efcddb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b3f3b7 - Browse repository at this point
Copy the full SHA 6b3f3b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ace1450 - Browse repository at this point
Copy the full SHA ace1450View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8869de7 - Browse repository at this point
Copy the full SHA 8869de7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d0bcf9 - Browse repository at this point
Copy the full SHA 3d0bcf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20e84a2 - Browse repository at this point
Copy the full SHA 20e84a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 553dc41 - Browse repository at this point
Copy the full SHA 553dc41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e717e2 - Browse repository at this point
Copy the full SHA 8e717e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b788ab0 - Browse repository at this point
Copy the full SHA b788ab0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a369855 - Browse repository at this point
Copy the full SHA a369855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94a4469 - Browse repository at this point
Copy the full SHA 94a4469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1609b7d - Browse repository at this point
Copy the full SHA 1609b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3c325 - Browse repository at this point
Copy the full SHA 0e3c325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cc0c10 - Browse repository at this point
Copy the full SHA 9cc0c10View commit details -
[16.0][MIG] connector_ecommerce: adapt necessary changes for correct …
…operation in v16
Configuration menu - View commit details
-
Copy full SHA for 89d14f4 - Browse repository at this point
Copy the full SHA 89d14f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8db89 - Browse repository at this point
Copy the full SHA ca8db89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf8c0c - Browse repository at this point
Copy the full SHA 2cf8c0cView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-ecommerce-16.0/connector-ecommerce-16.0-connector_ecommerce Translate-URL: https://translation.odoo-community.org/projects/connector-ecommerce-16-0/connector-ecommerce-16-0-connector_ecommerce/
Configuration menu - View commit details
-
Copy full SHA for c169bf5 - Browse repository at this point
Copy the full SHA c169bf5View commit details -
Translated using Weblate (Spanish)
Currently translated at 93.9% (62 of 66 strings) Translation: connector-ecommerce-16.0/connector-ecommerce-16.0-connector_ecommerce Translate-URL: https://translation.odoo-community.org/projects/connector-ecommerce-16-0/connector-ecommerce-16-0-connector_ecommerce/es/
Configuration menu - View commit details
-
Copy full SHA for 9784ca6 - Browse repository at this point
Copy the full SHA 9784ca6View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (63 of 63 strings) Translation: connector-ecommerce-16.0/connector-ecommerce-16.0-connector_ecommerce Translate-URL: https://translation.odoo-community.org/projects/connector-ecommerce-16-0/connector-ecommerce-16-0-connector_ecommerce/es/
Configuration menu - View commit details
-
Copy full SHA for 0916615 - Browse repository at this point
Copy the full SHA 0916615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb7368 - Browse repository at this point
Copy the full SHA 6cb7368View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-ecommerce-16.0/connector-ecommerce-16.0-connector_ecommerce Translate-URL: https://translation.odoo-community.org/projects/connector-ecommerce-16-0/connector-ecommerce-16-0-connector_ecommerce/
Configuration menu - View commit details
-
Copy full SHA for f696a49 - Browse repository at this point
Copy the full SHA f696a49View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (60 of 60 strings) Translation: connector-ecommerce-16.0/connector-ecommerce-16.0-connector_ecommerce Translate-URL: https://translation.odoo-community.org/projects/connector-ecommerce-16-0/connector-ecommerce-16-0-connector_ecommerce/es/
Configuration menu - View commit details
-
Copy full SHA for 16c1520 - Browse repository at this point
Copy the full SHA 16c1520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb4131 - Browse repository at this point
Copy the full SHA 4bb4131View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 627d70d - Browse repository at this point
Copy the full SHA 627d70dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30db326 - Browse repository at this point
Copy the full SHA 30db326View commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for baaa2cd - Browse repository at this point
Copy the full SHA baaa2cdView commit details