Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error
- Traceback (most recent call last):
- File "/home/marius/workplace/rifas/trytond/trytond/modules/trytonlt/tests/test_stock_invoice.py", line 125, in test_invoice_line_quantity_change
- invoice_line.quantity = Decimal('12.')
- File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 132, in __set__
- super(FloatDescriptor, self).__set__(instance, value)
- File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 82, in __set__
- instance._on_change(self.name)
- File "/usr/local/lib/python2.7/dist-packages/proteus/__init__.py", line 857, in _on_change
- list(to_change), context)
- File "/usr/local/lib/python2.7/dist-packages/proteus/config.py", line 149, in __call__
- result = rpc.result(meth(inst, *args, **kwargs))
- File "/home/marius/workplace/rifas/trytond/trytond/model/model.py", line 533, in on_change_with
- changes[fieldname] = getattr(self, method_name)()
- File "/home/marius/workplace/rifas/trytond/trytond/modules/trytonlt/anglosaxon/line_move.py", line 135, in on_change_with_line_moves
- return self.line_moves
- File "/home/marius/workplace/rifas/trytond/trytond/model/modelstorage.py", line 1191, in __getattr__
- return super(ModelStorage, self).__getattr__(name)
- File "/home/marius/workplace/rifas/trytond/trytond/model/model.py", line 566, in __getattr__
- % (self.__name__, name, self._values))
- 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