Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 710
    • Issues 710
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 58
    • Merge requests 58
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • TrytonTryton
  • TrytonTryton
  • Issues
  • #11624
Closed
Open
Issue created Aug 03, 2022 by david@david_auto

'account.tax.test' object has no attribute 'company'

When indicating the unit price in testing tax error comes out of:

Traceback (most recent call last): File "/trytond/wsgi.py", line 119, in dispatch_request return endpoint(request, **request.view_args) File "/trytond/protocols/dispatcher.py", line 46, in rpc return methods.get(request.rpc_method, _dispatch)( File "/trytond/wsgi.py", line 86, in auth_required return wrapped(*args, **kwargs) File "/trytond/protocols/wrappers.py", line 161, in wrapper return func(request, pool, *args, **kwargs) File "/trytond/protocols/dispatcher.py", line 186, in _dispatch result = rpc.result(meth(inst, *c_args, **c_kwargs)) File "/trytond/model/fields/field.py", line 124, in wrapper return func(self, *args, **kwargs) File "/trytond/modules/account/tax.py", line 1829, in on_change_with_result for taxline in self._get_taxes(): File "/trytond/model/fields/field.py", line 123, in wrapper _set_value(self, field) File "/trytond/model/fields/field.py", line 99, in _set_value setattr(record, field, default) AttributeError: 'account.tax.test' object has no attribute 'company'

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking