i forgot to mention that i'm running tryton 2.2.0
On 08/02/2012 09:54, Cédric Krier wrote:
The problem is that running wizard on a record requires that the record
is saved in the database. But inside a One2Many, it is not always the
case and more over we can not save it directly but it must be saved via
the parent.
so there is no currently solution?
what about adding a button to the B model form view? I tried with
<button string="generate calendar" type="action" name="[action_id]"/>
giving to [action_id] both the ir.action.wizard record id and the
ir.action.keyword id attribute values but in both cases i get the error
"invalid literal for int() with base 10: '[action_id]'"
File
"/usr/local/lib/python2.7/dist-packages/tryton-2.2.0-py2.7.egg/tryton/gui/window/view_form/view/form_gtk/parser.py",
line 71, in button_clicked
int(self.attrs['name']), ctx)
I suspect this could be issue 35003
I don't find this issue.
http://codereview.tryton.org/35003/ but probably i misunderstood...
cheers
--
[email protected] mailing list