[tryton-dev] tryton: Fix reseting reference value on focus_out for issue2364 (issue212005)
Reviewers: , Please review this at http://codereview.tryton.org/212005/ Affected files: M tryton/gui/window/view_form/view/form_gtk/reference.py Index: tryton/gui/window/view_form/view/form_gtk/reference.py === --- a/tryton/gui/window/view_form/view/form_gtk/reference.py +++ b/tryton/gui/window/view_form/view/form_gtk/reference.py @@ -212,7 +212,8 @@ WinSearch(model, callback, sel_multi=False, ids=ids, context=context, domain=domain) return -self.field.set_client(self.record, ('', (name, name))) +else: +self.field.set_client(self.record, ('', (name, name))) self.focus_out = True self.changed = True self.display(self.record, self.field) -- tryton-dev@googlegroups.com mailing list
[tryton-dev] Bug in binary fields in tree views per issue2368 (issue206007)
LGTM http://codereview.tryton.org/206007/ -- tryton-dev@googlegroups.com mailing list
[tryton] proteus company wizard
Hi, With the proteus script to build a db (which was first written for 2.0) I get an error with 2.2.2 on the line : company_config = Wizard('company.company.config') company_config.execute('company') company = company_config.form company.name = u'Symétrie' fr, = Lang.find([('code', '=', 'fr_FR')]) company.lang = fr euro, = Currency.find([('code', '=', 'EUR')]) company.currency = euro company_config.execute('add') Traceback (most recent call last): File _tryton/tryton2.2/proteus/proteus/__init__.py, line 808, in execute res = self._proxy.execute(self.id, self.datas, self.state, ctx) File _tryton/tryton2.2/proteus/proteus/config.py, line 82, in __call__ res = getattr(self._object, self._name)(*args) File _tryton/tryton2.2/trytond/trytond/wizard/wizard.py, line 131, in execute res['action'] = getattr(self, result_def['action'])(data) File _tryton/tryton2.2/trytond/trytond/modules/company/company.py, line 306, in _add company_id = company_obj.create(data['form']) File _tryton/tryton2.2/trytond/trytond/model/modelsql.py, line 372, in create field_name)) File _tryton/tryton2.2/trytond/trytond/error.py, line 76, in raise_user_error raise UserError(error) trytond.exceptions.UserError: ('UserError', (u'Le champ Tiers de Soci\xe9t\xe9 est requis.', '')) I tried to build a party object and set it to company.party, but this doesn't solve. Ideas? Jean-Christophe Michel -- Symétrie livres et partitions, édition multimédia 30 rue Jean-Baptiste Say 69001 LYON (FRANCE) tél +33 (0)478 29 52 14 fax +33 (0)478 30 01 11 web www.symetrie.com -- tryton@googlegroups.com mailing list
Re: [tryton] Getting neso 2.0 to work in Ubuntu
Am Samstag, 31. Dezember 2011 16:45:31 UTC+1 schrieb Jean-Christophe Michel: the newly created db there, but I'm not able to connect - the dialog requires me to enter a username and a password, and I've no idea which username to use. Did you try with 'admin' login and the password you entered on db creation ? No, but that did work - thanks! Gunter -- tryton@googlegroups.com mailing list
Re: [tryton] proteus company wizard
On 02/01/12 10:04 +0100, lists.jc.mic...@symetrie.com wrote: Hi, With the proteus script to build a db (which was first written for 2.0) I get an error with 2.2.2 on the line : company_config = Wizard('company.company.config') company_config.execute('company') company = company_config.form company.name = u'Symétrie' fr, = Lang.find([('code', '=', 'fr_FR')]) company.lang = fr euro, = Currency.find([('code', '=', 'EUR')]) company.currency = euro company_config.execute('add') Traceback (most recent call last): File _tryton/tryton2.2/proteus/proteus/__init__.py, line 808, in execute res = self._proxy.execute(self.id, self.datas, self.state, ctx) File _tryton/tryton2.2/proteus/proteus/config.py, line 82, in __call__ res = getattr(self._object, self._name)(*args) File _tryton/tryton2.2/trytond/trytond/wizard/wizard.py, line 131, in execute res['action'] = getattr(self, result_def['action'])(data) File _tryton/tryton2.2/trytond/trytond/modules/company/company.py, line 306, in _add company_id = company_obj.create(data['form']) File _tryton/tryton2.2/trytond/trytond/model/modelsql.py, line 372, in create field_name)) File _tryton/tryton2.2/trytond/trytond/error.py, line 76, in raise_user_error raise UserError(error) trytond.exceptions.UserError: ('UserError', (u'Le champ Tiers de Soci\xe9t\xe9 est requis.', '')) I tried to build a party object and set it to company.party, but this doesn't solve. Ideas? This is strange because it is the same code as in http://hg.tryton.org/2.2/modules/account_stock_continental/file/dcbf704c8769/tests/scenario_account_stock_continental.rst#l37 which runs http://tests.tryton.org/~test2_2/postgresql.html -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: cedric.kr...@b2ck.com Website: http://www.b2ck.com/ pgpVyATD3NhmK.pgp Description: PGP signature
Re: [tryton] proteus company wizard
Hi, Le 2 janv. 2012 à 12:58, Cédric Krier a écrit : This is strange because it is the same code as in http://hg.tryton.org/2.2/modules/account_stock_continental/file/dcbf704c8769/tests/scenario_account_stock_continental.rst#l37 which runs http://tests.tryton.org/~test2_2/postgresql.html Sure, seems to be the same... but even with only modules account_fr and account_invoice, I get the same error. Maybe this message will help to diagnose: company_config.execute('add') No handlers could be found for logger sql Thks for helping. Jean-Christophe Michel -- Symétrie livres et partitions, édition multimédia 30 rue Jean-Baptiste Say 69001 LYON (FRANCE) tél +33 (0)478 29 52 14 fax +33 (0)478 30 01 11 web www.symetrie.com -- tryton@googlegroups.com mailing list
[tryton] partial payment through credit notes
Hi all, Sometimes I create credit notes against some invoices. When this covers the whole original invoice there's no problem: reconciliation is automatic. Also, when the client pays the remainder I can reconcile the moves involved manually after I book the bank statements. Again: no problem. But: Now I find myself in a position where I want to generate reliable reports of unpaid invoices - as part of my account_invoice_reminder module - corrected for the amounts credited. So I need to be able to do some kind of partial reconciliation. Does anyone have an elegant way of doing this? -- Paul J Stevenspjstevns @ gmail, twitter, skype, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 -- tryton@googlegroups.com mailing list