Advertisement
Guest User

Untitled

a guest
May 2nd, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Error
  2. Traceback (most recent call last):
  3. File "/home/marius/workplace/rifas/trytond/trytond/modules/trytonlt/tests/test_stock_invoice.py", line 125, in test_invoice_line_quantity_change
  4. invoice_line.quantity = Decimal('12.')
  5. File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 132, in __set__
  6. super(FloatDescriptor, self).__set__(instance, value)
  7. File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 82, in __set__
  8. instance._on_change(self.name)
  9. File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 857, in _on_change
  10. list(to_change), context)
  11. File "/usr/local/lib/python2.7/dist-packages/proteus/config.py", line 149, in __call__
  12. result = rpc.result(meth(inst, *args, **kwargs))
  13. File "/home/marius/workplace/rifas/trytond/trytond/model/model.py", line 533, in on_change_with
  14. changes[fieldname] = getattr(self, method_name)()
  15. File "/home/marius/workplace/rifas/trytond/trytond/modules/trytonlt/anglosaxon/line_move.py", line 135, in on_change_with_line_moves
  16. return self.line_moves
  17. File "/home/marius/workplace/rifas/trytond/trytond/model/modelstorage.py", line 1191, in __getattr__
  18. return super(ModelStorage, self).__getattr__(name)
  19. File "/home/marius/workplace/rifas/trytond/trytond/model/model.py", line 566, in __getattr__
  20. % (self.__name__, name, self._values))
  21. AttributeError: 'account.invoice.line' Model has no attribute 'line_moves': {'currency': Pool().get('currency.currency')(1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement