http://codereview.appspot.com/779041/diff/1/8 File __tryton__.py (right): http://codereview.appspot.com/779041/diff/1/8#newcode13 __tryton__.py:13: - Record of lost leads now includes oppportunities to ...
14 years, 11 months ago
(2010-03-26 18:33:13 UTC)
#5
After installing the module I have a question: A lead could also be a contract, ...
14 years, 11 months ago
(2010-03-26 19:34:25 UTC)
#7
After installing the module I have a question:
A lead could also be a contract, not necessarily a product.
Shouldn't the design be more generic to allow for
opportunity
opportunity_sale
opportunity_contract
?
On 2010/03/26 19:34:25, yangoon wrote: > After installing the module I have a question: > ...
14 years, 11 months ago
(2010-03-28 09:57:25 UTC)
#8
On 2010/03/26 19:34:25, yangoon wrote:
> After installing the module I have a question:
>
> A lead could also be a contract, not necessarily a product.
>
> Shouldn't the design be more generic to allow for
> opportunity
> opportunity_sale
> opportunity_contract
> ?
I don't see any advantage to share a common base.
Depending of the type of contract but most of it are products and become a sale
otherwise I don't see what it will be. Have you an example?
On 2010/03/28 09:57:25, ced wrote: > On 2010/03/26 19:34:25, yangoon wrote: > > After installing ...
14 years, 11 months ago
(2010-03-28 19:46:56 UTC)
#9
On 2010/03/28 09:57:25, ced wrote:
> On 2010/03/26 19:34:25, yangoon wrote:
> > After installing the module I have a question:
> >
> > A lead could also be a contract, not necessarily a product.
> >
> > Shouldn't the design be more generic to allow for
> > opportunity
> > opportunity_sale
> > opportunity_contract
> > ?
>
> I don't see any advantage to share a common base.
> Depending of the type of contract but most of it are products and become a
sale
> otherwise I don't see what it will be. Have you an example?
https://app.vitrado.de/programminfo?id=11https://app.vitrado.de/programminfo?id=65
It is in german, but can give you perhaps a notion. They sell contracts for
assurances. Sometimes you are paid per lead, sometimes per sale.
On 2010/03/28 19:46:56, yangoon wrote: > On 2010/03/28 09:57:25, ced wrote: > > On 2010/03/26 ...
14 years, 11 months ago
(2010-03-28 20:21:22 UTC)
#10
On 2010/03/28 19:46:56, yangoon wrote:
> On 2010/03/28 09:57:25, ced wrote:
> > On 2010/03/26 19:34:25, yangoon wrote:
> > > After installing the module I have a question:
> > >
> > > A lead could also be a contract, not necessarily a product.
> > >
> > > Shouldn't the design be more generic to allow for
> > > opportunity
> > > opportunity_sale
> > > opportunity_contract
> > > ?
> >
> > I don't see any advantage to share a common base.
> > Depending of the type of contract but most of it are products and become a
> sale
> > otherwise I don't see what it will be. Have you an example?
>
> https://app.vitrado.de/programminfo?id=11
> https://app.vitrado.de/programminfo?id=65
>
> It is in german, but can give you perhaps a notion. They sell contracts for
> assurances. Sometimes you are paid per lead, sometimes per sale.
I don't understand. Could you explain how will be the workflow? What will be the
advantage of mixing the different concept?
On 2010/03/28 20:21:22, ced wrote: > On 2010/03/28 19:46:56, yangoon wrote: > > On 2010/03/28 ...
14 years, 11 months ago
(2010-03-28 21:29:08 UTC)
#11
On 2010/03/28 20:21:22, ced wrote:
> On 2010/03/28 19:46:56, yangoon wrote:
> > On 2010/03/28 09:57:25, ced wrote:
> > > On 2010/03/26 19:34:25, yangoon wrote:
> > > > After installing the module I have a question:
> > > >
> > > > A lead could also be a contract, not necessarily a product.
> > > >
> > > > Shouldn't the design be more generic to allow for
> > > > opportunity
> > > > opportunity_sale
> > > > opportunity_contract
> > > > ?
> > >
> > > I don't see any advantage to share a common base.
> > > Depending of the type of contract but most of it are products and become a
> > sale
> > > otherwise I don't see what it will be. Have you an example?
> >
> > https://app.vitrado.de/programminfo?id=11
> > https://app.vitrado.de/programminfo?id=65
> >
> > It is in german, but can give you perhaps a notion. They sell contracts for
> > assurances. Sometimes you are paid per lead, sometimes per sale.
>
> I don't understand. Could you explain how will be the workflow? What will be
the
> advantage of mixing the different concept?
No change in workflow for me, but instead of products you could handle i.e.
contracts, newsletters etc., there can be many kinds of leads.
Restricting the type of a Sale Lead/Opportunity line by default to a product
seems not to be generic for me.
http://codereview.appspot.com/779041/diff/13001/14008 File opportunity.py (right): http://codereview.appspot.com/779041/diff/13001/14008#newcode61 opportunity.py:61: 'History') Should be set ot readonly to avoid display ...
14 years, 11 months ago
(2010-03-28 21:41:52 UTC)
#12
On 2010/03/28 21:29:08, yangoon wrote: > On 2010/03/28 20:21:22, ced wrote: > > On 2010/03/28 ...
14 years, 11 months ago
(2010-03-28 21:59:46 UTC)
#13
On 2010/03/28 21:29:08, yangoon wrote:
> On 2010/03/28 20:21:22, ced wrote:
> > On 2010/03/28 19:46:56, yangoon wrote:
> > > On 2010/03/28 09:57:25, ced wrote:
> > > > On 2010/03/26 19:34:25, yangoon wrote:
> > > > > After installing the module I have a question:
> > > > >
> > > > > A lead could also be a contract, not necessarily a product.
> > > > >
> > > > > Shouldn't the design be more generic to allow for
> > > > > opportunity
> > > > > opportunity_sale
> > > > > opportunity_contract
> > > > > ?
> > > >
> > > > I don't see any advantage to share a common base.
> > > > Depending of the type of contract but most of it are products and become
a
> > > sale
> > > > otherwise I don't see what it will be. Have you an example?
> > >
> > > https://app.vitrado.de/programminfo?id=11
> > > https://app.vitrado.de/programminfo?id=65
> > >
> > > It is in german, but can give you perhaps a notion. They sell contracts
for
> > > assurances. Sometimes you are paid per lead, sometimes per sale.
> >
> > I don't understand. Could you explain how will be the workflow? What will be
> the
> > advantage of mixing the different concept?
>
> No change in workflow for me, but instead of products you could handle i.e.
> contracts, newsletters etc., there can be many kinds of leads.
> Restricting the type of a Sale Lead/Opportunity line by default to a product
> seems not to be generic for me.
For me contracts, newsletters are products.
When i click on a record in the list of history i get the following ...
14 years, 9 months ago
(2010-06-12 16:39:05 UTC)
#17
When i click on a record in the list of history i get the following error on dev
version of tryton:
Traceback (most recent call last):
File "/trytond/protocols/netrpc.py", line 47, in run
res = dispatch(host, port, 'NetRPC', *msg)
File "/trytond/protocols/dispatcher.py", line 127, in dispatch
res = getattr(obj, method)(cursor, user, *args, **kargs)
File "/trytond/model/modelsql.py", line 613, in read
context=ctx)
File "trytond/modules/sale_opportunity/opportunity.py", line 373, in get
File "/trytond/model/fields/one2many.py", line 101, in get
[self.field], context=context):
File "/trytond/model/modelsql.py", line 524, in read
table_args + red_ids + history_args)
File "/trytond/backend/postgresql/database.py", line 290, in execute
res = self.cursor.execute(sql, params)
ProgrammingError: invalid input syntax for type numeric:
"2010-06-12T18:36:33.077752"
On 2010/06/12 16:39:05, timitos wrote: > When i click on a record in the list ...
14 years, 9 months ago
(2010-06-12 17:50:03 UTC)
#18
On 2010/06/12 16:39:05, timitos wrote:
> When i click on a record in the list of history i get the following error on
dev
> version of tryton:
>
> Traceback (most recent call last):
> File "/trytond/protocols/netrpc.py", line 47, in run
> res = dispatch(host, port, 'NetRPC', *msg)
> File "/trytond/protocols/dispatcher.py", line 127, in dispatch
> res = getattr(obj, method)(cursor, user, *args, **kargs)
> File "/trytond/model/modelsql.py", line 613, in read
> context=ctx)
> File "trytond/modules/sale_opportunity/opportunity.py", line 373, in get
> File "/trytond/model/fields/one2many.py", line 101, in get
> [self.field], context=context):
> File "/trytond/model/modelsql.py", line 524, in read
> table_args + red_ids + history_args)
> File "/trytond/backend/postgresql/database.py", line 290, in execute
> res = self.cursor.execute(sql, params)
> ProgrammingError: invalid input syntax for type numeric:
> "2010-06-12T18:36:33.077752"
It is not intended to work with trunk but only with 1.6 for now.
Is it happening on 1.6?
On 2010/06/12 17:50:03, ced wrote: > On 2010/06/12 16:39:05, timitos wrote: > > When i ...
14 years, 9 months ago
(2010-06-12 18:07:11 UTC)
#19
On 2010/06/12 17:50:03, ced wrote:
> On 2010/06/12 16:39:05, timitos wrote:
> > When i click on a record in the list of history i get the following error on
> dev
> > version of tryton:
> >
> > Traceback (most recent call last):
> > File "/trytond/protocols/netrpc.py", line 47, in run
> > res = dispatch(host, port, 'NetRPC', *msg)
> > File "/trytond/protocols/dispatcher.py", line 127, in dispatch
> > res = getattr(obj, method)(cursor, user, *args, **kargs)
> > File "/trytond/model/modelsql.py", line 613, in read
> > context=ctx)
> > File "trytond/modules/sale_opportunity/opportunity.py", line 373, in get
> > File "/trytond/model/fields/one2many.py", line 101, in get
> > [self.field], context=context):
> > File "/trytond/model/modelsql.py", line 524, in read
> > table_args + red_ids + history_args)
> > File "/trytond/backend/postgresql/database.py", line 290, in execute
> > res = self.cursor.execute(sql, params)
> > ProgrammingError: invalid input syntax for type numeric:
> > "2010-06-12T18:36:33.077752"
>
> It is not intended to work with trunk but only with 1.6 for now.
> Is it happening on 1.6?
With 1.6 everything seems to be ok.
On 2010/06/12 17:50:03, ced wrote: > On 2010/06/12 16:39:05, timitos wrote: > > When i ...
14 years, 9 months ago
(2010-06-12 18:07:32 UTC)
#20
On 2010/06/12 17:50:03, ced wrote:
> On 2010/06/12 16:39:05, timitos wrote:
> > When i click on a record in the list of history i get the following error on
> It is not intended to work with trunk but only with 1.6 for now.
> Is it happening on 1.6?
It happens also on 1.6. I will check.
On 2010/06/12 18:07:32, ced wrote: > On 2010/06/12 17:50:03, ced wrote: > > On 2010/06/12 ...
14 years, 9 months ago
(2010-06-12 18:17:52 UTC)
#21
On 2010/06/12 18:07:32, ced wrote:
> On 2010/06/12 17:50:03, ced wrote:
> > On 2010/06/12 16:39:05, timitos wrote:
> > > When i click on a record in the list of history i get the following error
on
> > It is not intended to work with trunk but only with 1.6 for now.
> > Is it happening on 1.6?
>
> It happens also on 1.6. I will check.
Fixed with changeset 012afdea6fe7
On 2010/06/12 18:07:32, ced wrote: > On 2010/06/12 17:50:03, ced wrote: > > On 2010/06/12 ...
14 years, 9 months ago
(2010-06-12 18:19:26 UTC)
#22
On 2010/06/12 18:07:32, ced wrote:
> On 2010/06/12 17:50:03, ced wrote:
> > On 2010/06/12 16:39:05, timitos wrote:
> > > When i click on a record in the list of history i get the following error
on
> > It is not intended to work with trunk but only with 1.6 for now.
> > Is it happening on 1.6?
>
> It happens also on 1.6. I will check.
Funny. I could not reproduce it with 1.6.
On 2010/06/12 18:19:26, timitos wrote: > On 2010/06/12 18:07:32, ced wrote: > > On 2010/06/12 ...
14 years, 9 months ago
(2010-06-12 18:21:01 UTC)
#23
On 2010/06/12 18:19:26, timitos wrote:
> On 2010/06/12 18:07:32, ced wrote:
> > On 2010/06/12 17:50:03, ced wrote:
> > > On 2010/06/12 16:39:05, timitos wrote:
> > > > When i click on a record in the list of history i get the following
error
> on
> > > It is not intended to work with trunk but only with 1.6 for now.
> > > Is it happening on 1.6?
> >
> > It happens also on 1.6. I will check.
>
> Funny. I could not reproduce it with 1.6.
This is because I have unpublished backport patches
i was able to produce another error: Traceback (most recent call last): File "/trytond/protocols/netrpc.py", line ...
14 years, 9 months ago
(2010-06-13 14:38:15 UTC)
#24
i was able to produce another error:
Traceback (most recent call last):
File "/trytond/protocols/netrpc.py", line 47, in run
res = dispatch(host, port, 'NetRPC', *msg)
File "/trytond/protocols/dispatcher.py", line 127, in dispatch
res = getattr(obj, method)(cursor, user, *args, **kargs)
File "/trytond/model/modelworkflow.py", line 123, in workflow_trigger_validate
context=context)
File "/trytond/workflow/workflow.py", line 210, in validate
force_running=force_running, context=context)
File "/trytond/workflow/workflow.py", line 328, in process
signal, context=context)
File "/trytond/workflow/workflow.py", line 451, in _split_test
context=context)
File "/trytond/workflow/workflow.py", line 463, in _join_test
}, context=context)
File "/trytond/workflow/workflow.py", line 300, in create
self.process(cursor, user, workitem, context=context)
File "/trytond/workflow/workflow.py", line 321, in process
context=context):
File "/trytond/workflow/workflow.py", line 371, in _execute
context=context)
File "/trytond/workflow/expr.py", line 74, in execute
context=context)
File "/trytond/workflow/expr.py", line 59, in eval_expr
res = safe_eval(line, env)
File "/trytond/tools/misc.py", line 605, in safe_eval
}}, data)
File "", line 1, in <module>
File "/trytond/workflow/expr.py", line 21, in __call__
self.obj_id, *args, **kargs)
File "/trytond/modules/sale_opportunity/opportunity.py", line 257, in
create_sale
context=ctx)
File "/trytond/model/modelsql.py", line 397, in create
values[field], context=context)
File "/trytond/model/fields/many2many.py", line 109, in set
if act[0] == 'create':
TypeError: 'int' object is unsubscriptable
i found one issue: When i open the history and change after this for example ...
14 years, 8 months ago
(2010-07-02 07:36:04 UTC)
#27
i found one issue:
When i open the history and change after this for example the quantity on lines
i get a message that the record has been changed. this should not happen as only
the history has been opened.
On 2010/07/02 07:36:04, timitos wrote: > i found one issue: > When i open the ...
14 years, 8 months ago
(2010-07-02 07:41:17 UTC)
#28
On 2010/07/02 07:36:04, timitos wrote:
> i found one issue:
> When i open the history and change after this for example the quantity on
lines
> i get a message that the record has been changed. this should not happen as
only
> the history has been opened.
Not linked to the module.
Works on postgres and tip http://codereview.appspot.com/779041/diff/45001/46007 File opportunity.py (right): http://codereview.appspot.com/779041/diff/45001/46007#newcode45 opportunity.py:45: depends=['currency_digits']) Here we could ...
14 years, 8 months ago
(2010-07-04 09:36:50 UTC)
#31
http://codereview.appspot.com/779041/diff/62001/63008 File opportunity.xml (right): http://codereview.appspot.com/779041/diff/62001/63008#newcode748 opportunity.xml:748: </record> Only a tree action?
14 years, 8 months ago
(2010-07-04 09:40:48 UTC)
#32
My own bug! http://codereview.appspot.com/779041/diff/73001/47009 File __tryton__.py (right): http://codereview.appspot.com/779041/diff/73001/47009#newcode5 __tryton__.py:5: 'version': '0.0.1', The version number is ...
14 years, 7 months ago
(2010-08-04 09:31:53 UTC)
#38
Issue 779041: Module sale_opportunity
(Closed)
Created 14 years, 11 months ago by ced
Modified 14 years, 7 months ago
Reviewers: bch, yangoon1, sharoonthomas, timitos, udono
Base URL:
Comments: 12