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

11.0 mig website sale affiliate #232

Closed

Conversation

DarkoNikolovski
Copy link

No description provided.

hughesbm and others added 3 commits January 15, 2018 17:04
* [ADD] website_sale_affiliate: Create module
* Add sale.affiliate and sale.affiliate.request models
* Override WebsiteSale controller shop method to store affiliate
  id & key kwargs of shop urls in session
* Override sale order create method to store affiliate request
* Add affiliate and request views, links in Sales/Affiliates
* Add affiliate_request_id to sale.order form view
* Add request sequence record, make default for new affiliates
* Add access rights to sales users/managers
* Add tests
* Add readme instructions

* [IMP] website_sale_affiliate: Make requested changes
* Update readme
* Add controller override to catch product urls
* Remove redundant return None
* Replace if statements with try/except when appropriate
* Change api decorator on sale.affiliate.find_from_session method
  from model -> model_cr_context
* Add check to avoid unnecessary db search in find_from_session if
  no affiliate_id
* Fix tests
* Add new tests

* [IMP] website_sale_affiliate: Make requested changes
* Un-nest try/except statements for readability
* Rename kwargs: ref, key -> aff_ref, aff_key
* Improve request search speed for large recordsets
* Document similarly-named methods for clarity
* Tweak tests as needed
* Add additional test
* Add roadmap to readme

* [REM] website_sale_affiliate: Remove affiliate request IP-matching

* [IMP] website_sale_affiliate: Change affiliate request creation
* Create affiliate requests regardless of whether a sale occurs
* Add basic conversion/sales stats to affiliate model and views
* Update tests
* Add demo data
* Clean up views
* Remove line used for debugging
* Add field string for clarity

* [FIX] website_sale_affiliate: Fix compatibility issues, tests
* Fix controller method overrides to avoid conflicts
* Match assertAlmostEqual decimal places to amount used in fields
* Remove/replace tests with unneeded url_open calls
* Rename files, variables for clarity
* Clean up demo/test data

* [IMP] website_sale_affiliate: Clarify affiliate request name
* Add help to name field on affiliate request model
@pedrobaeza
Copy link
Member

Please check Travis

@pedrobaeza pedrobaeza added this to the 11.0 milestone Jan 16, 2018
@pedrobaeza pedrobaeza mentioned this pull request Jan 16, 2018
22 tasks
@rafaelbn
Copy link
Member

rafaelbn commented Feb 6, 2018

Hi @DarkoNikolovski , travis is red says: | test_flake8 FAIL

Could you check it please?

thanks for this contribution!!!!! 😄

@DarkoNikolovski
Copy link
Author

Sorry, I have missed the previous comment. Should be fine now.

"version": "11.0.1.0.0",
"category": "Website",
"website": "https://laslabs.com",
"author": "LasLabs, Odoo Community Association (OCA), Versada",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafaelbn
Copy link
Member

rafaelbn commented Sep 4, 2019

Please @DarkoNikolovski review website and we can merge! #232 (comment)

Thanks!

@github-actions
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 Jan 30, 2022
@github-actions github-actions bot closed this Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review 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.

None yet

6 participants