Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X
xunnel-account
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vauxoo
  • xunnel-account
  • Issues
  • #63

Closed
Open
Opened Nov 13, 2019 by Javier Vega@JVegaB🌮Reporter

Downloads issued invoices

The invoices downloaded from the xunnel-app also needs to be issued (emitidas).

Modules to modify:

  • xunnel-invoice
  • xunnel-app
In xunnel-invoice
  1. The wizard xunnel.attachments.wizard must have a invoice_type selection field (with related=False, default='recibidas') storing the values [('emitidas', 'Issued invoices'), ('recibidas', 'Invoices received')].
  2. That value must be passed to the method _sync_xunnel_attachments and update the dictionary sent in self._xunnel('get_invoices_sat', values)
In xunnel-app
  1. The method _get_invoices_sat is going to receive the key/value you updated in xunnel-invoice step 2.
  2. Change the way the keywords are sent in this line, must be either 'recibidas,vigente' or 'emitidas,vigente'. To make this, use the parameter you just sent.

More info in the docs

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: vauxoo/xunnel-account#63