Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Sith
Sith
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • AE
  • SithSith
  • Issues
  • #103

Closed
Open
Opened Mar 27, 2020 by tleb@tlebDeveloper

Clicking a subscription + something else that requires it

Let's assume user A has been subscribed but is not any more. He wants to click an item reserved to subscribers and therefore wants to click both the subscription and the item he desires. Currently, he needs to first click the subscription then click the item.

This would need to be solved in eboutic.views.EbouticMain:add_product() by not only checking on the current groups the user is in but also checking the basket if it contains any subscription product.

This is what I found: counter.Product has a foreign key on counter.ProductType and use settings.SITH_PRODUCTTYPE_SUBSCRIPTION. Is this right?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ae/Sith#103