As suggested by gour today on #tryton, I will try to migrate wiki from
subversion to mercurial.
So please don't edit wiki for now.
Thanks
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
We
On 16/09/09 21:56 +0200, Cédric Krier wrote:
> As suggested by gour today on #tryton, I will try to migrate wiki from
> subversion to mercurial.
>
> So please don't edit wiki for now.
>
It is done. You can browse the repo on
http://code.google.com/p/tryton/source/browse?r
more people reviewing it.
I have uploaded a new version that doesn't use Genshi because it is not safe.
I have added some security test for safe_eval but if someone know other
workaround for eval please ping me.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46
out this on tryton groups.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
pgpE7ublE1Nxh.pgp
Description: PGP signature
[1] http://hg.tryton.org/hgwebdir.cgi/modules/company/rev/875fb0d2cb40
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
pgp86dizBnVXt.pgp
Description: PGP signature
On 12/10/09 12:16 +0200, Hartmut Goebel wrote:
> Mathias Behrle schrieb:
>
> @ced: This is no cross-posting. I moved the discussion to the
> mailings-list since it is not longer about cede review.
>
Same email on both side = cross-posting.
--
Cédric Krier
B2CK SPRL
Rue de Ro
there
> other translations as well.
>
We don't have yet find a good tool to translate rst file.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
pgp6OQ2tOfCCJ.pgp
Description: PGP signature
On 23/10/09 03:31 -0700, Tobias Paepke wrote:
>
> On 23 Okt., 10:01, Cédric Krier wrote:
> > On 22/10/09 12:50 -0700, Tobias Paepke wrote:
> > > hi,
> >
> > > just wanna hear what you all think about translated documentation like
> > > the rst-files
On 23/10/09 13:18 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > I will fail in long term because we need a tool to track change in
> > the english documentation and report it in translation.
>
> Waht about this: A cronjob checks for changes in the English
http://code.google.com/p/tryton/wiki/Release_1_6_0
For now, there is only previous gloals that were not acchevied.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com
nd the user is not allowed to change this option.
I don't understand. Who is administrator?
- Minimum SSL version to be used: SSLv3
Why? It can be just an option on the server side.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedri
On 23/10/09 17:48 +0200, Cédric Krier wrote:
> On 23/10/09 17:06 +0200, Hartmut Goebel wrote:
> > Hi,
> >
> > as promised some week ago ;-\ I wrote some requirements specification
> > for the SSL implementation.
> > <http://code.google.com/p/tryton/wiki/Requ
On 23/10/09 18:13 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > Maybe you mean having a configuration option that will warn (like
> > firefox when leaving an encrypted website) if you connect to a no-SSL
> > server.
>
> No! If the company requires S
nt authentication and
> communications confidentiality over the Internet using cryptography.
We don't need authentication as we already have it for the user.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.
On 23/10/09 18:12 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > I don't agree with:
> >
> > - The Tryton client must not fall back to non-SSL communication, but
> > deny connection. - The user must be able to request SSL when setting
> > up
ction. These user should not have the option to decide to run
> tryton unencrypted.
Sorry but the problem is not about encrypted or not connection but about
man-in-the-middle attack. So the user must be able to authenticate the server
and one possiblity is to check a certificate.
--
Cédric Krier
On 23/10/09 19:59 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
> > On 23/10/09 18:13 +0200, Hartmut Goebel wrote:
> >> Cédric Krier schrieb:
> >>
> >>> Maybe you mean having a configuration option that will warn (like
> >>> firefox whe
, that restrict the manual entry of the
> connection parameters (server, port). With this only the parameters from
> the client.conf are allowed (server, port, certificate, authority),
> which is hopefully readonly for the client system user.
Tryton is a GPL software so this give the ri
On 24/10/09 20:05 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > Tryton is a GPL software so this give the right to the user to change
> > it. So any kind of try to restrict user is impossible.
>
> As I already stated some month ago: You seam to lack ex
On 24/10/09 21:14 +0200, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > I start to be tired that you repeat this. This is non-constructive
> > behavior and unfaire.
>
> No offence meant, just to say that your point of view is quite different
> from what the real-
On 23/10/09 10:01 +0200, Cédric Krier wrote:
> On 22/10/09 12:50 -0700, Tobias Paepke wrote:
> >
> > hi,
> >
> > just wanna hear what you all think about translated documentation like
> > the rst-files in the tryton/doc directory.
> > how can we archieve th
On 26/10/09 23:37 +0100, Cédric Krier wrote:
> On 23/10/09 10:01 +0200, Cédric Krier wrote:
> > On 22/10/09 12:50 -0700, Tobias Paepke wrote:
> > >
> > > hi,
> > >
> > > just wanna hear what you all think about translated documentation like
&g
On 27/10/09 14:24 +0100, Cédric Krier wrote:
> On 26/10/09 23:37 +0100, Cédric Krier wrote:
> > On 23/10/09 10:01 +0200, Cédric Krier wrote:
> > > On 22/10/09 12:50 -0700, Tobias Paepke wrote:
> > > >
> > > > hi,
> > > >
> > > >
least), we need to test the GTK client. I think this tool
could be a good way: LDTP [2] but it needs some check to see if it can work
with Tryton client.
I think our priority must be the unittest.
[1] http://pypi.python.org/pypi/pycukes/0.1.1
[2] http://ldtp.freedesktop.org/wiki/
--
Cédric
Hi propose this patch for released series:
http://codereview.appspot.com/150042
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
pgpOqK8IAAIsM.pgp
Description: PGP
On 06/11/09 10:26 +0100, Cédric Krier wrote:
> Hi propose this patch for released series:
>
> http://codereview.appspot.com/150042
>
Fixed with changesets:
http://hg.tryton.org/1.4/modules/account_invoice/rev/e1ef3a9ecd6f
http://hg.tryton.org/1.2/modules/account_invoice/rev/
://hg.tryton.org/hgwebdir.cgi/trytond/rev/70d0a1966169
[2] http://hg.tryton.org/hgwebdir.cgi/trytond/rev/9e51e35baedf
[3] http://hg.tryton.org/hgwebdir.cgi/trytond/rev/9e51e35baedf#l3.7
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
intless (at least for me) to translate docs with
> errors.
I don't like the creation of teams. Because it hides the responsability behind
a group and things are not done.
And any way, docs must be also reviewed like any other changes.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Be
ou call migration but there is [1] that surely needs some
updates.
[1] http://code.google.com/p/tryton/wiki/TrytonMRPIntegration
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://
l read your references, I have a couple of ask: What is MRP I
> and MRP II?
MRP: http://en.wikipedia.org/wiki/Material_Requirements_Planning
MRP2: http://en.wikipedia.org/wiki/Manufacturing_resource_planning
> and the other there are some part of the MRP developed?
Most part of MRP is developped with stock
Here some patches to remove dependency on egenix-mx-base on server side:
http://codereview.appspot.com/174089
http://codereview.appspot.com/174090
http://codereview.appspot.com/176074
http://codereview.appspot.com/174091
http://codereview.appspot.com/176075
--
Cédric Krier
B2CK SPRL
Rue de
ed on the client side.
Second, we need an easy and simple syntax that can be implemented in other
languages. So we will restrict it to the use of:
Type:
str, int/long, list
Operators:
and, or
Functions:
contains, getitem, len
Functions could be added later depending of the
to interact easily with the Tryton server in any language
> > (currently any external program need to understand strings like:
> > "company' in context and '=' or '!=' ", "context.get('company')",
> > etc).
>
> >
Please review this at http://codereview.appspot.com/177042
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
On 14/12/09 21:32 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
> > On 14/12/09 19:32 +0100, Hartmut Goebel wrote:
>
> >>>> [{'__class__': 'eval', 'v': "['parent', '=', False]"}]
> >>>&
functionnalities as I said in previous
emails.
And with simple python statement, they can be transform easily into many other
language statements with simple string replace.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabb
i += 3
+else:
+i += 1
+for code in codes:
+if code not in _ALLOWED_CODES:
+raise ValueError('opcode %s not allowed' %
dis.opname[code])
+if len(_SAFE_EVAL_CACHE) > 1024:
+_SAFE_EVAL_CACHE.clear()
+
_SAFE_EVAL_CACHE[key] = c
+_SAFE_EVAL_CACHE_LOCK.release()
return eval(c, {'__builtins__': {
'True': True,
'False': False,
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabb
On 15/12/09 18:10 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > I don't agree on the fact that the server must parse the code. It will
> > overload it for no benefit for the current implementation.
>
> Indeed I've not been clear enough. My idea was
easier to parse for non-python software. This would
> >> allow to interact easily with the Tryton server in any language
> >> (currently any external program need to understand strings like:
> >> "company' in context and '=' or '!=' ", "co
On 16/12/09 21:49 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
>
> > I propose to replace it by a syntax composed of python object like this:
>
> +0.5
>
> > Disavantages are:
> > - we need to check all the strings in XML (domain and context of
&g
Please review this at http://codereview.appspot.com/179102
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
Please review this at http://codereview.appspot.com/179103
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
On 18/12/09 18:14 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > There is no need to update the database as it is data that is in the code or
> > in XML.
>
> But the data from the XML is stored in the database, isn't it? So
> updating the XML files m
On 18/12/09 18:31 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > The database will be updated with the data from XML and the user can not
> > change data that comes from XML (except for some specific cases).
>
> Couldn't the the user have added his own w
On 19/12/09 21:10 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
> > On 18/12/09 18:31 +0100, Hartmut Goebel wrote:
> >> Cédric Krier schrieb:
> >>
> >>> The database will be updated with the data from XML and the user can not
> >>> change
Please review this at http://codereview.appspot.com/179112
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
Please review this at http://codereview.appspot.com/179117
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
Hi,
Could you update the wiki page [1] with your codereview nicknames?
Thanks
[1] http://code.google.com/p/tryton/wiki/ProjectOrganization
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website
On 16/12/09 11:37 +0100, Cédric Krier wrote:
> I propose to replace it by a syntax composed of python object like this:
>
> Tuple(If(In(Eval('company'), Eval('context')), '=', '!='), Eval('id'),
> Get(Eval('context'),
Please review this at http://codereview.appspot.com/181081
It is removed because it was a misunderstand of the IETF.
Classification public doesn't mean that any body can read it.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedr
Please review this at http://codereview.appspot.com/181082
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http
.
An other way will be to store in a table every possible value (if the length
of the number is fixed) and pick/remove one randomly. But here the generation
of all values can be slow.
Is there anybody that knows a better way?
[1] http://en.wikipedia.org/wiki/Birthday_paradox
--
Cédric Krier
xt, number_increment and padding if random is selected
- add and show random_size
So user could choose between ordered or random sequence for document.
But for now, the main issue is the generation.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email:
t; > of all values can be slow.
>
> Seems to me like a huge table which is a lot of overhead. And it won't be
> random, if you know numbers taken already from this table.
The randomness is for external people as I explain on previous email.
--
Cédric Krier
B2CK SPRL
Rue de R
On 29/12/09 20:35 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > The randomness is for external people as I explain on previous email.
>
> For this case a pre- or postfixing the date should not be a problem. So
> if using real random values, one could store them
On 30/12/09 09:25 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
> > But a timestamp is perhaps the solution with a wait if there is a
> > collision. The sequence will have a timestamp precision field and a
> > last timestamp used.
>
> Please rethink whether it
ints?
Have you any log on the client side?
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http://identi.ca/cedr
he button evaluated?
in tryton/gui/window/view_form/view/form_gtk/parser.py line 122
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twitter: http://twitter.com/ced
ki
> (http://wiki.videolan.org/).
>
Already discussed on
http://groups.google.com/group/tryton/browse_frm/thread/716fefe1447caa87/
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b
t;
> This is the same effect like disable the new Button on the search dialog
> of the many2many add function.
>
> Is there a way to disable the new button in a many2many search dialog?
>
No and it makes no sense to add this functionality.
It must be solved with access rights.
On 03/01/10 17:23 +0100, Udo Spallek wrote:
> Am Sonntag, den 03.01.2010, 15:38 +0100 schrieb Cédric Krier:
> > On 03/01/10 14:22 +0100, Udo Spallek wrote:
> > > Is there a way to disable the new button in a many2many search dialog?
> > No and it makes no sense to add th
Please review this at http://codereview.appspot.com/181118
Fixing:
http://bugs.tryton.org/roundup/issue1103
http://bugs.tryton.org/roundup/issue1353
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr
records per
> party in this non-indexed table.
>
> Just wondering, if this design could be the reason of some slow actions on
> the client and if there shouldn't be at least some indexes on this table?
You are right, it could be good to add an index on res and field
--
Cédric Krier
Please review this at http://codereview.appspot.com/181142
Affected files:
M CHANGELOG
M etc/trytond.conf
M trytond/config.py
A trytond/protocols/jsonrpc.py
M trytond/server.py
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr
return False
if (event.keyval == gtk.keysyms.F3) \
and self.but_new.get_property('sensitive'):
self._sig_new(widget)
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber:
tion.
2) It is an optimisation for some specific version of python. Per exmplave on
Python 3, both have the same behavior.
3) It is easier to read.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
We
you have field names that don't have meaning :-))
What do you think about?
[1] http://bazaar.launchpad.net/~openerp/openobject-server/trunk/revision/1942
[2] http://www.postgresql.org/docs/8.4/interactive/sql-comment.html
[3] http://en.wikipedia.org/wiki/Business_intelligence
--
Cédric
On 07/01/10 10:41 +0100, Cédric Krier wrote:
> Hi,
>
> Here is a commit on OpenERP [1] that adds comment [2] on some object of the
> database based on the Model values (It could be only done for PostgreSQL
> backend).
> For now, the only use I see is to help developpers that
On 07/01/10 10:06 -0500, Juan Fernando Jaramillo Botero wrote:
> > On 07/01/10 10:41 +0100, Cédric Krier wrote:
> > > Hi,
> > >
> > > Here is a commit on OpenERP [1] that adds comment [2] on some object of
> > > the
> > > database based on the
On 07/01/10 18:50 +0100, Chenal Bertrand wrote:
>
> Has this modification will needs to be carefully migrated, we would like
> you to share your thought, remarks and questions.
And it will break the API of ir.sequence
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
del spell
+self.lang = language
except:
pass
+elif spell:
+spell.detach()
+del spell
def display_value(self):
lines = (self._view.modelfield.get_client(self._view.model)
or ''
On 07/01/10 20:11 +0100, Cédric Krier wrote:
> Please review this at http://codereview.appspot.com/183144
>
> Affected files:
> M tryton/gui/window/view_form/view/form_gtk/textbox.py
>
And must we backport it? Without it, working with spellchecker is very slow.
--
Cédric K
except:
+pass
logging.getLogger('server').info('stopped')
logging.shutdown()
sys.exit(0)
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
On 03/01/10 18:31 +0100, Cédric Krier wrote:
>
> Please review this at http://codereview.appspot.com/181118
>
>
> Fixing:
>
> http://bugs.tryton.org/roundup/issue1103
> http://bugs.tryton.org/roundup/issue1353
>
We can now have this kind of view: http://nopaste.a
On 08/01/10 17:39 +0100, Udo Spallek wrote:
> Am Freitag, den 08.01.2010, 17:26 +0100 schrieb Cédric Krier:
> > On 03/01/10 18:31 +0100, Cédric Krier wrote:
> > > Please review this at http://codereview.appspot.com/181118
> > We can now have this kind of view: http://nop
Please review this at http://codereview.appspot.com/181189
Affected files:
M trytond/backend/postgresql/table.py
M trytond/backend/sqlite/table.py
M trytond/backend/table.py
M trytond/model/modelsql.py
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54
button_list.append(frame)
-else:
-frame = widget
+frame = Frame(text, attrs)
+frame.add(widget)
+button_list.append(frame)
container.wid_add(frame,
colspan=int(attrs.get('colspan', 1)),
On 29/12/09 21:03 +0100, Cédric Krier wrote:
> But a timestamp is perhaps the solution with a wait if there is a collision.
> The sequence will have a timestamp precision field and a last timestamp used.
>
I propose to add a selection on ir.sequence that defines a type:
- incremental
orksfor-party".
So the field org is not define on "party.party".
I think what you want is to have only the "rec_name" of the party.party:
PS: I think rec_name is better than name because it can be c
On 07/01/10 10:52 +0100, Cédric Krier wrote:
>
> We could use it also to store the server version on the database.
>
I think we should use a Singleton to be sure that it will work on any database
backend.
But I have no idea about the name of the table. Perhaps tryton?
--
Cédric Kr
On 27/12/09 19:19 +0100, Cédric Krier wrote:
> Here is a first draft of the implementation:
>
> http://codereview.appspot.com/183067
>
As there is any comments. We will continue this way.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Emai
tag at root.
>
> * According tho the current relaxng schema, in this construct::
> ...
> the could be a field as defined in form.rnc. I wonder whether
> this is correct or this sould only allow fileds as defined in
> graph.rnc?
It is correct. All attributes from f
On 09/01/10 23:16 +0100, Hartmut Goebel wrote:
> Cédric Krier schrieb:
>
> > As there is any comments. We will continue this way.
>
> Any reason why you are not using positional arguments? This would ease
> implementation. I've put an implementation at http://dpaste.org
ther attributes are allowed,
> but not all?
Only attributes defined in graph.rnc are allowed for graph views.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twit
On 10/01/10 00:26 +0100, Cédric Krier wrote:
> On 09/01/10 23:16 +0100, Hartmut Goebel wrote:
> > Cédric Krier schrieb:
> >
> > > As there is any comments. We will continue this way.
> >
> > Any reason why you are not using positional arguments? This would
store a module version in the database?
> it could be nice for upgrade purposes, not even on the trytond, to
> have for every module version a line in this tryton-version-table.
There is the model ir.module.module
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel:
[...]
> def object_hook(self, args):
> klass = globals().get(args[0], None)
> if klass:
> return klass.eval(self.__context, *args[1:])
> return dct
>
> ["id", ["If", ["Not", ["In", [&
On 10/01/10 15:17 +0100, Hartmut Goebel wrote:
>
> Am So, 10.01.2010, 00:26, schrieb Cédric Krier:
>
> > Of course. It is not more unmaintainable than the current strings. And I
> > think
> > it is more customizable and extendable.
>
> Sorry, I'm still
On 10/01/10 15:31 +0100, Hartmut Goebel wrote:
> Am So, 10.01.2010, 15:22, schrieb Cédric Krier:
>
> >
> > [('fiscalyear.company.id', '=', Get(Eval('context', {}), 'company', 0))]
> >
>
> Buh, am I glad! I was afraid, user
On 10/01/10 15:44 +0100, Hartmut Goebel wrote:
>
> Am So, 10.01.2010, 15:18, schrieb Cédric Krier:
>
> > The issue is that in json, it is a common practice to use __class__ to
> > extend
> > json to handle new class. So it is expected to have a string as value,
>
On 10/01/10 15:45 +0100, Hartmut Goebel wrote:
>
> Am So, 10.01.2010, 15:38, schrieb Cédric Krier:
>
> >> So I'm only missing one link: Where is the code interpreting /
> >> evaluating
> >> this expressions?
> >
> > It will b
+163,8 @@
n = len(val)
val = val.strip()
val = val.strip('_')
-val = val.lstrip('0')
+if n != 4:
+val = val.lstrip('0')
if not val:
continue
fchar =
iter()
buf.insert(iter_start, value)
-if HAS_GTKSPELL:
+if gtkspell:
spell = None
try:
spell = gtkspell.get_from_text_view(self.textview)
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: c
Please review this at http://codereview.appspot.com/186091
Affected files:
M trytond/backend/postgresql/init.sql
M trytond/backend/sqlite/init.sql
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr
self.cursor.execute("ALTER TABLE \"%s\" " \
- "DROP COLUMN temp_change_size" % \
+ "DROP COLUMN _temp_change_size" % \
(self.table_name,))
self._update_definitions()
--
Cédric Krier
B2CK SPRL
n('get_state', type='selection',
selection=[
('uninstalled','Not Installed'),
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www
field = prefix + '.' + field
+domain.append((field, args[i][1], name))
+j += 1
+args2.append(('id', 'inselect', self.search(cursor, user,
+ domain, order=[], context=context, query_stri
many field
> for function fields in the same form?
I don't understand. Could you give an example ? (code)
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
tw
ds because only one is useless.
If you fix it, do it in an other patch. And it will need a fix for the client
also.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric.kr...@b2ck.com
Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/
twit
1 - 100 of 2916 matches
Mail list logo