Commit Graph
81391 Commits
Author SHA1 Message Date
Thibault Delavallée ee844c0ac6 [FIX] crm: fixed on_change_user that was crashing because
refers to a default_section_id field that is added in sale_crm bridge module.
New behavior is : one of the team user_id is a member (crm), or
default_section_id if defined or default behavior (sale_crm)

bzr revid: tde@openerp.com-20130411123356-kc8ty16i71nwgzsm
2013-04-11 14:33:56 +02:00
Frédéric van der Essen ef81f0bd43 [IMP] point_of_sale: add a configuration option to enable invoicing from the Point of Sale (enabled by default)
bzr revid: fva@openerp.com-20130411122250-aju5cl91wduj2bj0
2013-04-11 14:22:50 +02:00
Frédéric van der Essen 3aa6f4add5 [IMP] point_of_sale: the invoicing should now work reliably and validate the orders
bzr revid: fva@openerp.com-20130411120719-colzjq4l8eaiotdf
2013-04-11 14:07:19 +02:00
Thibault Delavallée f8a2299525 [MERGE] [FIX] mail, email_template: fix attachment duplication and clean attachment management
The way attachments are linked to the document has been cleaned. Posting method message_post may receives 2 arguments:
- attachment_ids: those linked to the wizard model (mail.compose.message) are linked to the document (res_model, res_id)
- attachments: the tuples are used to create new attachments linked to the document
The wizard does not set the res_model and res_id of attachments anymore, delegating this job to message_post.

The mail.message and mail.compose.message now use their respective attachment_ids field when possible. This is done instead of reading/creating new attachments based on the attachments tuple each time a mail.compose.message is processed. Email templates now also use attachment_ids, in particular when generating emails, instead of using the attachments tuple. Only reports are still generated on the fly and put into attachments instead of attachment_ids.

A cron job has been added to unlink 'lost' attachments. Those are attachments:
- linked to 'mail.compose.message'
- with res_id=0 (due Chatter used in minimal mode or reports generated by templates before the wizard has an ID)
- with no activity for more than one day (create_date and write_date)

bzr revid: tde@openerp.com-20130411112033-mqph9vjlcjkoolfs
2013-04-11 13:20:33 +02:00
sgo@tinyerp.com d2620baa79 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130411104746-3es0zngtda287wzb
2013-04-11 16:17:46 +05:30
Thibault Delavallée 9e4486ae52 [FIX] mail: fixed missing conflict resolution
bzr revid: tde@openerp.com-20130411104659-ik62af6wubzu5j6q
2013-04-11 12:46:59 +02:00
sgo@tinyerp.com 78fc70f27c [IMP]replace true from variable analytic_accounting and put context in onchange method
bzr revid: sgo@tinyerp.com-20130411104643-m89up113haejewx9
2013-04-11 16:16:43 +05:30
Hardik Ansodariya 62205a72e0 [IMP] Removed changes from .pot files
bzr revid: han@tinyerp.com-20130411104627-ttjw7q0s9joee7go
2013-04-11 16:16:27 +05:30
Thibault Delavallée 8c7cf300eb [MERGE] [FIX] mail: bettersuggested recipients based on email address. It tries to find a partner that is in the related document followers, or a user, or the first partner with matching email.
bzr revid: tde@openerp.com-20130411104151-wi5ru54b362pv957
2013-04-11 12:41:51 +02:00
Thibault Delavallée fe2ea997a2 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130411103645-rmr3sa8p9ropx2gc
2013-04-11 12:36:45 +02:00
ggh-openerp e582096959 [IMP] Improved code in Pos
bzr revid: ggh@tinyerp.com-20130411102949-lfeakwxskka8hzyy
2013-04-11 15:59:49 +05:30
Martin Trigaux d20cbcf9f4 [REF] remove public attributes for badges
bzr revid: mat@openerp.com-20130411102418-vp9wng9ryzzggcgo
2013-04-11 12:24:18 +02:00
Thibault Delavallée f994529725 [IMP] mail: finding partner based on email: improved code for suggested partners, added somme comments and tests.
bzr revid: tde@openerp.com-20130411101720-mumz152dsxvv1xbj
2013-04-11 12:17:20 +02:00
Martin Trigaux cff925cf3e [IMP] display goals lower than
bzr revid: mat@openerp.com-20130411101543-wal4yed64rynchfn
2013-04-11 12:15:43 +02:00
Jigar Amin 356115167d [FIX] User Partner Company has to same as User Compnay not as usder company
bzr revid: jam@tinyerp.com-20130411094336-03i3475ydat8d5jj
2013-04-11 15:13:36 +05:30
Christophe Matthieu 5623719b1c [IMP] view_form: radio remove console log
bzr revid: chm@openerp.com-20130411093433-jmsrcxjw0xb6vp1m
2013-04-11 11:34:33 +02:00
Christophe Matthieu 9319356537 [IMP] view_form: radio css readonly
bzr revid: chm@openerp.com-20130411093319-q25a0fbybsjzwvfe
2013-04-11 11:33:19 +02:00
Christophe Matthieu 1d12a480c3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130411092306-wypa8h3kh1v5q8qn
2013-04-11 11:23:06 +02:00
Martin Trigaux e68c4b5e23 [IMP] ponctual goal type
bzr revid: mat@openerp.com-20130411092103-5sowdvkm09wbvhtv
2013-04-11 11:21:03 +02:00
Pinakin Nayi (OpenERP) a9e8b58ec5 [Remove]survey:remove pot changes
bzr revid: pna@tinyerp.com-20130411090842-2s8i8t1wr11hvs8c
2013-04-11 14:38:42 +05:30
Christophe Matthieu 67452d290e [IMP] view_form: radio button: change style for required field
bzr revid: chm@openerp.com-20130411090654-ujf7fio6lnsppv90
2013-04-11 11:06:54 +02:00
Thibault Delavallée f74248679f [ADD] portal_project: added forgotten project.py file in portal_project.
bzr revid: tde@openerp.com-20130411082256-u6lx2eibo0mrsco5
2013-04-11 10:22:56 +02:00
Raphael Collet 385f4dbaaa [MERGE] Avoid error-hiding calls like registry.get(X) when X is dynamic.
Use registry[X] instead, and test model existence with: X in registry.

bzr revid: rco@openerp.com-20130411075241-0f5u1vzmtzcxwnp4
2013-04-11 09:52:41 +02:00
Raphael Collet ef1cbabe25 [MERGE] Avoid error-hiding calls like registry.get(X) when X is dynamic.
Use registry[X] instead, and test model existence with: X in registry. 
Also make class Registry a subclass of collections.Mapping.

bzr revid: rco@openerp.com-20130411074602-j8w67g6rzlpo0l06
2013-04-11 09:46:02 +02:00
Raphael Collet 894eeef8e0 [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +02:00
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Martin Trigaux 1787aa694e [IMP] no badge page for employee not connected to users
bzr revid: mat@openerp.com-20130411072211-nw4bxkvncfdg8a0f
2013-04-11 09:22:11 +02:00
ggh-openerp 43a9fa81fd [IMP] Name of method changed
bzr revid: ggh@tinyerp.com-20130411051350-0esvxad9a189x8iz
2013-04-11 10:43:50 +05:30
Ravi Gohil (OpenERP) c746f7888a [FIX] l10n_multilang: Translated terms for 'Account Tax' names were created with wrong 'Record ID' value. (Maintenance Case: 589913)
lp bug: https://launchpad.net/bugs/1152011 fixed

bzr revid: rgo@tinyerp.com-20130410170803-uuwj94r242io3t9a
2013-04-10 22:38:03 +05:30
Olivier Dony 5937980b1d [FIX] res.partner form view: inherited view now hides use_parent_address on top of type + fix embedded form view too
The `use_parent_address` flag is meant for advanced use
in companies that want to make sure their contact/company
addresses are always in sync, at the possible cost of some
usability loss when editing existing addresses (need to
open the company form view, contact fields are read-only).

The embedded mini-form view of the contacts also need to
be inherited to make it match the main view.

bzr revid: odo@openerp.com-20130410170437-2v4ehptknk6yf1x2
2013-04-10 19:04:37 +02:00
Ravi Gohil (OpenERP) f537a58f48 [FIX] l10n_multilang: Translated terms for 'Account Tax' names were created with wrong 'Record ID' value. (Maintenance Case: 589913)
bzr revid: rgo@tinyerp.com-20130410170103-bptugu705353akyf
2013-04-10 22:31:03 +05:30
Olivier Dony 59fe76f24c [FIX] res.partner form: switch default use_parent_address to False in kanban contact too, replace by defaults for address fields
We should never turn the `use_parent_address` option on
unless the user explicitly wants to use it. It makes
further editing more convoluted (need to go to the
company address) and is really an advanced feature.

It was only set by via context defaults when adding
contacts to a company ; we can replace that with a
set of defaults that will copy the company address
fields to the contact. Users can still switch to
automatic synchronization if they really want it,
or simply further edit the address of the contact.

Also fixed the layout of the mini-form view, now
using a simpler vertical layout with address at
bottom, since the main info of a contact needs
to be entered first.

bzr revid: odo@openerp.com-20130410170101-t9covdj6nmyn44jf
2013-04-10 19:01:01 +02:00
Christophe Matthieu f2beb97168 [IMP] view_form: radio button, replace image by input type radio
bzr revid: chm@openerp.com-20130410160917-4meevyiff65adspx
2013-04-10 18:09:17 +02:00
Thibault Delavallée 3519e2c19f [IMP] project, task, issues: improvement of ir rules. Still a bit WIP.
bzr revid: tde@openerp.com-20130410160139-vx9z4rsmfiji1vu9
2013-04-10 18:01:39 +02:00
Olivier Dony 5a222c8f90 [FIX] res.partner form view: remove now useless oe_inline class so company field can take 100% width of parent div
bzr revid: odo@openerp.com-20130410154242-kkgrthb5cb11d49d
2013-04-10 17:42:42 +02:00
Martin Trigaux b1c23a5fcb [IMP] sort goals by date
bzr revid: mat@openerp.com-20130410153831-ixy5d3q131ldg6a8
2013-04-10 17:38:31 +02:00
Martin Trigaux 1e9805fbfd [IMP] use suffix in kanban and better view
bzr revid: mat@openerp.com-20130410153031-s6op7d7wyfdzrcti
2013-04-10 17:30:31 +02:00
Olivier Dony 8468af8606 [FIX] res.partner.name_search: make sure companies always come before contacts when both match
bzr revid: odo@openerp.com-20130410152309-u4dn8bxssvcwdc8c
2013-04-10 17:23:09 +02:00
Martin Trigaux ff12c44391 [IMP] better text
bzr revid: mat@openerp.com-20130410145709-crvmss21ocw7e0m8
2013-04-10 16:57:09 +02:00
Christophe Matthieu 60be4d49c5 [IMP] view_form: field radio, display only the selected text in read only mode
bzr revid: chm@openerp.com-20130410135643-szjzolgpbr73kpxh
2013-04-10 15:56:43 +02:00
Olivier Dony 140554c9f8 [REVERT] account.invoice: remove "commercial entity" domain on partner_id, to keep it consistent everywhere
Being able to choose a contact to invoice is very important
because the invoice must go to the right person.
When the invoice creation is automated by e.g. a Sales Order
any partner can be used (even though the system will
preselect the `invoicing` partner of the company if
one exists).
We have to keep that freedom when manually creating invoices.

bzr revid: odo@openerp.com-20130410135308-pd54c7ml8t3pcefl
2013-04-10 15:53:08 +02:00
Martin Trigaux 280e2c9ca4 [MERGE] Latest trunk
bzr revid: mat@openerp.com-20130410132014-b248u9j5bcm03h1y
2013-04-10 15:20:14 +02:00
Foram Katharotiya (OpenERP) 0799361e7f [IMP] add Extra Tools/Manager group in survey
bzr revid: fka@tinyerp.com-20130410130449-xl1w5brpdv14xoxg
2013-04-10 18:34:49 +05:30
Christophe Matthieu 177f51cb54 [IMP] auth_signup: change reset_password to no_reset_password context value
bzr revid: chm@openerp.com-20130410130244-3ef6mpw6s09xjn75
2013-04-10 15:02:44 +02:00
Christophe Matthieu a1f1782cc0 [IMP] res_partner, res_users: small change in views
bzr revid: chm@openerp.com-20130410130145-qhtvhx6lrl3gt3x5
2013-04-10 15:01:45 +02:00
Thibault Delavallée 7c026132ff [REF] event: visibility moved from portal_event to event. Customized rules, removed now unnecessary files.
bzr revid: tde@openerp.com-20130410125117-m9ir36qhkp9fqax1
2013-04-10 14:51:17 +02:00
Quentin (OpenERP) 748681e5d2 [FIX] project_long_term: don't create the project twice if 'use_phases' is thicked.
bzr revid: qdp-launchpad@openerp.com-20130410125046-01n3v3p5pnu78wgs
2013-04-10 14:50:46 +02:00
bth-openerp 57adaf234e [MERGE] Merge lp:openobject-addons.
bzr revid: bth@tinyerp.com-20130410124214-8s4y3y8p1ai3wmuk
2013-04-10 18:12:14 +05:30
Olivier Dony 9bec1595bd [FIX] res.partner address sync: type field should not be synced wih other address fields
It is valid to use the parent address but still set a different
type of address - the name, email, phone, etc. could be different.

bzr revid: odo@openerp.com-20130410123229-9l60sbcks3tpmy7x
2013-04-10 14:32:29 +02:00
Quentin (OpenERP) 241b9ee07a [IMP] analytic: add the 'visibility tracking' on some fields in the chatter, to log when an important thing is changed
bzr revid: qdp-launchpad@openerp.com-20130410122011-xgih371ewlxc7aq5
2013-04-10 14:20:11 +02:00