Tryton - Issues

 

Issue9233

Title Crash when opening purchase form
Priority bug Status resolved
Superseder Nosy List albertcuni, ced, pokoli, reviewbot, roundup-bot
Type crash Components purchase_invoice_line_standalone, sale_advance_payment, sale_payment
Assigned To pokoli Keywords review
Reviews 295411002
View: 295411002

Created on 2020-04-17.13:11:06 by albertcuni, last changed by roundup-bot.

Messages
New changeset 499b121d75bb by Sergi Almacellas Abellana in branch 'default':
Replace realtion fields with links
https://hg.tryton.org/tryton-env/rev/499b121d75bb
New changeset 44b9f983f2bc by Sergi Almacellas Abellana in branch 'default':
Replace realtion fields with links
https://hg.tryton.org/modules/sale_payment/rev/44b9f983f2bc
New changeset eea9f2b37b68 by Sergi Almacellas Abellana in branch 'default':
Replace realtion fields with links
https://hg.tryton.org/modules/sale_advance_payment/rev/eea9f2b37b68
New changeset 17796866a629 by Sergi Almacellas Abellana in branch 'default':
Replace invoice lines field with a relate
https://hg.tryton.org/modules/purchase_invoice_line_standalone/rev/17796866a629
New changeset 044f385501f9 by Sergi Almacellas Abellana in branch 'default':
Add payment icon
https://hg.tryton.org/modules/account_payment/rev/044f385501f9
review295411002 updated at https://codereview.tryton.org/295411002/#ps317271002
review295411002 updated at https://codereview.tryton.org/295411002/#ps325111002
review295411002 updated at https://codereview.tryton.org/295411002/#ps315311002
msg57324 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2020-04-20.13:32:30
Indeed, this is not limit to purchases module but also to sales when sale_payment and sale_advancement_payment modules are activated.

Here is review295411002 which fixes all cases.
msg57249 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-04-18.00:34:27
I think we should add a relate to the invoice lines.
New review257011002 at https://codereview.tryton.org/257011002/#ps305281002
msg57216 (view) Author: [hidden] (albertcuni) Date: 2020-04-17.13:11:05
Get this traceback:
Traceback (most recent call last):
  File "/trytond/wsgi.py", line 109, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 48, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 77, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 181, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelview.py", line 312, in fields_view_get
    tree = _inherit_apply(tree, tree_inherit)
  File "/trytond/model/modelview.py", line 82, in _inherit_apply
    % (element2.tag, element2.get('expr')))
AttributeError: Couldn't find tag (xpath: /form/notebook/page/field[@name='invoices']) in parent view!

Fault: Couldn't find tag (xpath: /form/notebook/page/field[@name='invoices']) in parent view!

The view to purchase_standalone_invoice_line causes the purchasing module to crash.
History
Date User Action Args
2020-04-25 09:00:55roundup-botsetmessages: + msg57455
2020-04-25 09:00:49roundup-botsetmessages: + msg57454
2020-04-25 09:00:44roundup-botsetmessages: + msg57453
2020-04-25 09:00:39roundup-botsetmessages: + msg57452
2020-04-25 09:00:34roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg57451
2020-04-21 09:46:34reviewbotsetmessages: + msg57355
2020-04-20 15:39:12reviewbotsetmessages: + msg57342
2020-04-20 13:33:20reviewbotsetmessages: + msg57325
2020-04-20 13:32:31pokolisetreviews: 257011002 -> 295411002
assignedto: albertcuni -> pokoli
component: + purchase_invoice_line_standalone, sale_advance_payment, sale_payment
messages: + msg57324
nosy: + pokoli
2020-04-18 00:34:28cedsetnosy: + ced
messages: + msg57249

Showing 10 items. Show all history (warning: this could be VERY long)