Commit Graph

80 Commits

Author SHA1 Message Date
Guewen Baconnier ff09135dbb [FIX] sale_crm: SO created from opportunity in wrong language
The onchange partner on the sale.order set the 'note' field as the terms of the
company in the partner's language.
When the SO is created from an opportunity, the terms are not translated.
Call get_salenote method that handles patner's language.
2015-04-28 16:13:28 +02:00
Denis Ledoux 90230a967f [FIX] sale_crm: preserve opp time when converting to sale order.
Field date_order of sale.order model was changed from date to datetime
during rev. 56cbc9421d

When converting the opp to a sale order, we must therefore use fields.datetime.now
which returns a datetime
instead of fields.datetime.context_today
which returns a date
2015-02-04 11:16:52 +01:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Denis Ledoux 41fe705943 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9674 rev-id: dle@openerp.com-20131204133633-t7wfbnipv3jtss82
bzr revid: chs@openerp.com-20131204125051-dexejzwigpu0z1yy
bzr revid: dle@openerp.com-20131204134400-50y7ojeb8pw7k56s
2013-12-04 14:44:00 +01:00
Denis Ledoux c0c971b87a [FIX] sale_crm: wizard crm_make_sale crash if partner_id not sent on the opp.
Because defaults get function of partner_id of wizard read the partner_id of the opp and return the first item of the tuple, but if there isnt a partner on the opp, the read return a false for this field, not a tuple. 
No return the first item of the tuple if the partner_id is set, else False

bzr revid: dle@openerp.com-20131204133633-t7wfbnipv3jtss82
2013-12-04 14:36:33 +01:00
Denis Ledoux 7baee28221 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9642 rev-id: dle@openerp.com-20131125160315-tj8n5bv6e5yv8jku
bzr revid: dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: dle@openerp.com-20131125160523-hecq5u2uo0mfyoq0
2013-11-25 17:05:23 +01:00
Martin Trigaux d96d2d8725 [FIX] sale_crm: correctly return id only (would break if readonly field)
bzr revid: mat@openerp.com-20131122142211-pvbw55ikk74132zm
2013-11-22 15:22:11 +01:00
Thibault Delavallée 769962e5f9 [FIX] sale_crm: fixed call to case_close that does not exits anymore; using case_mark_won instead
bzr revid: tde@openerp.com-20130809075213-cffxz6rx8t1s2gq1
2013-08-09 09:52:13 +02:00
Thibault Delavallée 1a51e9b88d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130614141720-7qjo6fpkm83jhpm2
2013-06-14 16:17:20 +02:00
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
sgo@tinyerp.com 2bda4f7b3c [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130607113500-jzhet9cr98c0ss4s
2013-06-07 17:05:00 +05:30
Vishmita Jadeja (openerp) 1b08798b52 [TYPO]changes in typo
bzr revid: vja@tinyerp.com-20130430072547-7gyl7nivdc8717ua
2013-04-30 12:55:47 +05:30
ggh-openerp 3b73e2b2a4 [IMP]Removed space before Exclamation marks [!]
bzr revid: ggh@tinyerp.com-20130429071557-vnxo5nni03vc886j
2013-04-29 12:45:57 +05:30
sgo@tinyerp.com d1e17fbde0 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130417061434-zry7pxo7fb17063k
2013-04-17 11:44:34 +05:30
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
sgo@tinyerp.com 3d5f4f5f3d [IMP]improve code
bzr revid: sgo@tinyerp.com-20130124123607-rb405xsiq62gwn5n
2013-01-24 18:06:07 +05:30
sgo@tinyerp.com 923115f895 [IMP]remove total sale.shop from sale_crm
bzr revid: sgo@tinyerp.com-20130121101127-4a1anxi5jkdeivtz
2013-01-21 15:41:27 +05:30
Mayur Maheshwari (OpenERP) d99a4cfeda [FIX]sale_crm:Fixed issue of partner payment_term is not carry when opportunity converted into sale order case:583948
bzr revid: mma@tinyerp.com-20130109090456-e5xwgl2i0h46tfqs
2013-01-09 14:34:56 +05:30
Olivier Dony 49597f0e66 [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-12-21 17:48:08 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Arnaud Pineux 7b76c5216e [MERGE] fix the phone call to opportunity to quotation
lp bug: https://launchpad.net/bugs/1017353 fixed

bzr revid: api@openerp.com-20121113134911-gd4o1zj6ixtu83hm
2012-11-13 14:49:11 +01:00
Mayur Maheshwari (OpenERP) e6541e7791 [MERGE]: Merge with lp:openobject-addons
bzr revid: mma@tinyerp.com-20120823123824-6yot4cwpejdmdrdz
2012-08-23 18:08:24 +05:30
Fabien Pinckaers b62858e83e [IMP] Merging different ways of posting a message:
message_append_note
  message_append_dict
  message_append
  --> merged all to message_post

bzr revid: fp@tinyerp.com-20120817100302-bqsqv23ogrchslew
2012-08-17 12:03:02 +02:00
Antonin Bourguignon fe5956057a [FIX] spelling: 'insufficient data' instead of 'data insufficient'
bzr revid: abo@openerp.com-20120807102326-sro2nxr4zn95zhs1
2012-08-07 12:23:26 +02:00
Stephane Wirtel 6a92f8856b [FIX] sale_crm: Rename 'Close Opportunity' to 'Mark Won'
bzr revid: stw@openerp.com-20120803074013-4lzh8092oiu7xdcd
2012-08-03 09:40:13 +02:00
Divyesh Makwana (Open ERP) 789103e93b [IMP] crm, sale_crm : Change the field defination of 'categ_id' to many2many and its related changes.
bzr revid: mdi@tinyerp.com-20120706110621-nkgcqllbw1wpf1r6
2012-07-06 16:36:21 +05:30
Mayur Maheshwari (OpenERP) 4a8e00cac7 [FIX]base:fix the issue convert to quote is not working via Scheduled Calls
lp bug: https://launchpad.net/bugs/1017353 fixed

bzr revid: mma@tinyerp.com-20120625065109-5ciy82syodgtbcg9
2012-06-25 12:21:09 +05:30
Ankita Patel (OpenERP) 26a39a6d0c [FIX]sale_crm: update context
bzr revid: pat@tinyerp.com-20120619121016-quk5kem1eud7ddro
2012-06-19 17:40:16 +05:30
Stephane Wirtel d36169b906 [REF] Review some form views with the guide lines
bzr revid: stw@openerp.com-20120613090657-xfz9vtvqek3znqdr
2012-06-13 11:06:57 +02:00
Thibault Delavallée 2742e2ac20 [CLEAN] Cleaned code.
bzr revid: tde@openerp.com-20120403073533-8fc8w6o1c81wyt2h
2012-04-03 09:35:33 +02:00
Bhumi Thakkar (Open ERP) b655344971 [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120402110518-q9vjn5m7jujsejhx
2012-04-02 16:35:18 +05:30
Sbh (Open ERP) c16e8182c0 [Fix] sale_crm: remove unused field
bzr revid: kjo@tinyerp.com-20120321114227-mkm1rtuoplnfq339
2012-03-21 17:12:27 +05:30
Bhumi Thakkar (Open ERP) edba2af7a2 [FIX] Improved language in notifications(present perfect simple with passive form) and imrpoved coding style.
bzr revid: bth@tinyerp.com-20120312103420-hy4ln4pw0376173r
2012-03-12 16:04:20 +05:30
Bhumi Thakkar (Open ERP) b57da53738 [IMP] removed need_action_user_id from message_append_note function when calling and overwrite get_needaction_user_id method.
bzr revid: bth@tinyerp.com-20120309111644-7nzhptccx77dz996
2012-03-09 16:46:44 +05:30
Bhumi Thakkar (Open ERP) c763083fc4 [FIX] remove lead and opportuniy name from notification messages,apply bold tag on stages,put quotation name when converted in quotation from opportunity,put need action only in create and open stage.
bzr revid: bth@tinyerp.com-20120228074527-j53q7ulkyhb1uxib
2012-02-28 13:15:27 +05:30
Bhumi Thakkar (Open ERP) cafffbfb46 [FIX] Remove <em> and <b> tags from notification messages it is not working so removed.
bzr revid: bth@tinyerp.com-20120228055537-asmg2uiuuwssgpex
2012-02-28 11:25:37 +05:30
Bhumi Thakkar (Open ERP) c232373c4b [IMP] notification coming when state change from pending to open,in progress message is changed,remove need_action_user_id from system notification,format apply on notification,for pending notification type is checked whether it is lead or opportunity,message modified for escalate,in _merge_notification(), replace message_append with message_append_note in crm_lead.py,in _convert_opportunity_notification(), replace message_append with message_append_note in crm_lead.py, remove log and _send_mail_to_salesman(),in write() replace log with message_append_note and remove message_append(),add message_ids and message_ids_social field in crm lead view of xml,replace log with message_append_note from sale_crm/wizard/crm_make_sale.py.
bzr revid: bth@tinyerp.com-20120227072313-etqyoji7101k1zvs
2012-02-27 12:53:13 +05:30
Olivier Dony da84f36eb4 [FIX] all: update context_today calls after API change
See also server revision 4053
revision-id: odo@openerp.com-20120214122413-rznpdyqajrzswk4o

bzr revid: odo@openerp.com-20120214122520-f4lyaoolw1sik7zo
2012-02-14 13:25:20 +01:00
Olivier Dony 5fc1a9fc7b [FIX] all: use newly introduced fields.date.context_today
Following the introduction of fields.date.context_today,
correct the main cases where we need to use the user's
timezone instead of the default UTC one.
There are probably many minor cases where this may be
useful, but those cases should be easy to fix now
that there is a common way to fix them.

lp bug: https://launchpad.net/bugs/925361 fixed

bzr revid: odo@openerp.com-20120213180741-4hvd4p7wsep0fomf
2012-02-13 19:07:41 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Antony Lesuisse a206306d23 [MERGE] polish1 (stw)
bzr revid: al@openerp.com-20111108225914-4ivtczbmyqk96na7
2011-11-08 23:59:14 +01:00
Stephane Wirtel f24c63436c [IMP] sale_crm: Set the reference of the sale order in the opportunity when we convert the opp to so
bzr revid: stw@openerp.com-20111026140445-db4vd7dho7b3nh27
2011-10-26 16:04:45 +02:00
Olivier Dony 2f543db06e [IMP] mail: cleanup/rename API + adapt dependencies (wip)
bzr revid: odo@openerp.com-20110825122757-0mqr0gbol25t0n41
2011-08-25 14:27:57 +02:00
Olivier Dony 50507512cb [MERGE] latest trunk
This was a helluva merge, with hundreds of conflicts resolved manually!!
I hope I did not break too many things, but a full review of the mail-related
features (where most of the conflicts occurred) must still be done before
this feature branch can be merged.

bzr revid: odo@openerp.com-20110809234428-3dsvxrt6t54ju0cf
2011-08-10 01:44:28 +02:00
Jacques-Etienne Baudoux d8c9f67865 [IMP] add category in sale order and copy category from opportunity to sale order when creating a quote from an opportunity
lp bug: https://launchpad.net/bugs/791151 fixed

bzr revid: jba@openerp.com-20110601102501-5ofq4jyb72u6lqo6
2011-06-01 12:25:01 +02:00
Rifakat Haradwala (Open ERP) 4b2f93cb34 [FIX]: removed method _history() and called history() instead
bzr revid: rha@tinyerp.com-20110421091915-fw1sr549av69mm4b
2011-04-21 14:49:15 +05:30
Quentin (OpenERP) 8295f3125f [MERGE] lp:684741
bzr revid: qdp-launchpad@openerp.com-20110317173316-1nwca68kko2dlu1c
2011-03-17 18:33:16 +01:00
Jigar Amin 50fd414738 [BUG/FIX] lp:732518 sale_crm : Covert to Quote shoud show only list of Customers
lp bug: https://launchpad.net/bugs/732518 fixed

bzr revid: jam@tinyerp.com-20110311125535-l3trf4ykjpn48qax
2011-03-11 18:25:35 +05:30
Rifakat Haradwala (Open ERP) 64f9d7e94f [IMP] : base_module_quality, crm, email_template, mail_gateway, sale_crm, share: string formatting
bzr revid: rha@tinyerp.com-20110308112208-40jbv5er9w21xiw0
2011-03-08 16:52:08 +05:30