Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
l10n_mx_facturae
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • l10n_mx
  • l10n_mx_facturae
  • Issues
  • #20

Closed
Open
Opened 6 years ago by fedexin40@federico.cruzContributor
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Error cuando se trata de facturar y el usuario no cuenta con una zona horaria configurada

Closed

Error cuando se trata de facturar y el usuario no cuenta con una zona horaria configurada

Siguente error al momento de querer facturar y el usuario no ha configurado una zona horaria

File "/home/federico/Documentos/bench/parts/server/openerp/models.py", line 5722, in <dictcomp>
    name: rec[name] for name in names
  File "/home/federico/Documentos/bench/parts/server/openerp/models.py", line 5603, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/home/federico/Documentos/bench/parts/server/openerp/fields.py", line 818, in __get__
    self.determine_value(record)
  File "/home/federico/Documentos/bench/parts/server/openerp/fields.py", line 896, in determine_value
    self.compute_value(recs)
  File "/home/federico/Documentos/bench/parts/server/openerp/fields.py", line 876, in compute_value
    self._compute_value(records)
  File "/home/federico/Documentos/bench/parts/server/openerp/fields.py", line 868, in _compute_value
    self.compute(records)
  File "/home/federico/Documentos/bench/parts/server/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/federico/Documentos/bench/parts/server/openerp/api.py", line 407, in new_api
    result = [method(rec, *args, **kwargs) for rec in self]
  File "/home/federico/Documentos/bench/parts/l10n_mx_facturae/l10n_mx_facturae/models/account_invoice.py", line 201, in _compute_datetime
    tz = timezone(self.env.user.partner_id.tz or UTC)
  File "/home/federico/Documentos/bench/eggs/pytz-2015.4-py2.7.egg/pytz/__init__.py", line 162, in timezone
    if zone.upper() == 'UTC':
AttributeError: 'UTC' object has no attribute 'upper'

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.

Linked issues
0


  • fedexin40 @federico.cruz closed 6 years ago

    closed

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Lock issue
Unlocked
1
1 participant
user avatar
Reference: l10n_mx/l10n_mx_facturae#20