Commit Graph

56433 Commits

Author SHA1 Message Date
Vo Minh Thu d248aa30ba [REF] get_module_resource() must imported from openerp.modules (instead of openerp.addons).
bzr revid: vmt@openerp.com-20130417064051-dvtgaya0kzyryvac
2013-04-17 08:40:51 +02:00
Launchpad Translations on behalf of openerp d92f8821ef Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130417051550-7yf32ngvesfbrxyn
2013-04-17 05:15:50 +00:00
Vo Minh Thu 3fe1f53514 [REF] get_module_resource() must imported from openerp.modules (instead of openerp.addons).
bzr revid: vmt@openerp.com-20130416151844-gatbo4s2l2e6reme
2013-04-16 17:18:44 +02:00
Vo Minh Thu 39c88d0922 [IMP] account: cash.box.in defines its _columns, do the same for cash.box.out.
This is needed to solve an inheritance problem when adding a superclass
`base.model` (I guess this is related to the fact some code in the orm
does a copy from the class to the instance).

bzr revid: vmt@openerp.com-20130416132621-xo0lckimczqpvyos
2013-04-16 15:26:21 +02:00
Thibault Delavallée 054836185a [FORWARD] [MERGE] Forward port of addons 7.0 until revision 9021.
bzr revid: tde@openerp.com-20130416081254-59im5jx15r7pjzl3
2013-04-16 10:12:54 +02:00
Thibault Delavallée efceba5b8b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130416073641-pcelb6zsq8dg56wb
2013-04-16 09:36:41 +02:00
Launchpad Translations on behalf of openerp 0cb5a70340 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130416043749-u2l62c4syfay8q48
2013-04-16 04:37:49 +00:00
Thibault Delavallée 812c852fd0 [FORWARD] Merged 7.0 addons revisions until 9021
bzr revid: tde@openerp.com-20130415084302-hx7zxtpl5u6yphfg
bzr revid: tde@openerp.com-20130415153732-v4ols3t56rku92oz
2013-04-15 17:37:32 +02:00
Thibault Delavallée 0110522b68 [FIX] project_issue, project_phase: fixed access rights on anonymous.
bzr revid: tde@openerp.com-20130415150107-0vny927te0m1ylsi
2013-04-15 17:01:07 +02:00
Quentin (OpenERP) 7c189942fe [MERGE] hr_recruitment: removal of group 'no one' on create_date field in tree view
bzr revid: qdp-launchpad@openerp.com-20130415152901-b3e66wetgbsuy166
2013-04-15 17:29:01 +02:00
Quentin (OpenERP) 273a82cc0d [FIX] hr: typo in welcome message + [IMP] hr_holidays: better message when a constraint is fired
bzr revid: qdp-launchpad@openerp.com-20130415150655-ltlkfqy03jj1xgxa
2013-04-15 17:06:55 +02:00
Christophe Matthieu 97900c25a4 [MERGE] radio-many2one: clean code and allow to apply radio button on many2one field
bzr revid: chm@openerp.com-20130415121608-gmis1l6djbudyez5
2013-04-15 14:16:08 +02:00
Christophe Matthieu e07cf38910 [FIX] web_kanban: hide the counter on the top of column to display option drop down when the mouse is hover.
bzr revid: chm@openerp.com-20130415114545-e557dsr4y0qkh8ff
2013-04-15 13:45:45 +02:00
Christophe Matthieu ed46400a55 [IMP] view_form: widget radio: clean code
bzr revid: chm@openerp.com-20130415103041-8xogdacjx43v4cgk
2013-04-15 12:30:41 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Quentin (OpenERP) 730eb11152 [FIX] l10n_be: removal of useless mapping rule of accounts in 'nationale' fiscal position
bzr revid: qdp-launchpad@openerp.com-20130415101832-lxjmpk561nwa39w3
2013-04-15 12:18:32 +02:00
Christophe Matthieu 53f168daaf [FIX] hr_holidays: traceback when the user change remaining_leaves value. Wrong reference python object: holiday_obj
bzr revid: chm@openerp.com-20130415093726-x2lsmf54xiqc0lng
2013-04-15 11:37:26 +02:00
Quentin (OpenERP) b799a51d39 [FIX] l10n_be_coda: fixed a glitch in the coda import when the starting balance of the statement is negative. Courtesy of Damien Carlier (Idealis Consulting)
bzr revid: qdp-launchpad@openerp.com-20130415092956-fzrd7646i9spssad
2013-04-15 11:29:56 +02:00
Launchpad Translations on behalf of openerp c65d4c6441 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413053844-gkqad498rnyerawp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414051642-ld3j9vzqppxmvd44
2013-04-14 05:16:42 +00:00
Launchpad Translations on behalf of openerp 22daaf3633 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412052106-dk5gnynho4ng3vpf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414051220-i54sas7x9m3q0fh6
2013-04-14 05:12:20 +00:00
Thibault Delavallée 63e5bd0901 [REM] portal_project_issue: removed duplicate tests.
bzr revid: tde@openerp.com-20130412151532-5s6yqreqa62yj62m
2013-04-12 17:15:32 +02:00
Thibault Delavallée 9a36fd2f79 [TEST] portal_project_issue: added tests for access rights.
bzr revid: tde@openerp.com-20130412151236-5jqcd5698soj2b4s
2013-04-12 17:12:36 +02:00
Thibault Delavallée b6223ecb7f [FIX] [ADD] project, project_issue, portal_project, portal_project_issue: improved privacy_visibility selection of project.project; improved access rules; added tests to enforce them.
bzr revid: tde@openerp.com-20130412143719-ztjo06r900l024dm
2013-04-12 16:37:19 +02:00
Launchpad Translations on behalf of openerp c13ceba6b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060536-q07q8ed9v8ldi2kv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055031-dgknuaf8a4dhgt16
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063110-rtd3r7hxe54yb8eq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414054933-k6o13mitp3dl62xq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060648-klbxmc1afr5jq4vb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060533-fq4nwi1i6h39y7pl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063146-745583mwivnzgjqj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055028-v2dnk713g9ydbvpo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060722-gvarcrrppfcq777a
2013-04-15 06:07:22 +00:00
Cedric Snauwaert d6d2f4edbf [FIX]hr_recruitment: remove group on field create_date
bzr revid: csn@openerp.com-20130412134400-87dzu83x8vewayuo
2013-04-12 15:44:00 +02:00
Antony Lesuisse 354ac328c8 [FIX] point_of_sale fix tax rouding, this time tested, tnx fva
bzr revid: al@openerp.com-20130411224306-eei87tz4xp3d0o7n
2013-04-12 00:43:06 +02:00
Antony Lesuisse 0dded37377 [MERGE] point_of_sale fix tax rouding
lp bug: https://launchpad.net/bugs/1157761 fixed

bzr revid: al@openerp.com-20130411221119-cng0p4mct4pdf5tv
2013-04-12 00:11:19 +02:00
Fabien Meghazi 428fdca40a [FIX] FormRenderingEngine: allow class propagation to group cells
bzr revid: fme@openerp.com-20130411163238-qy377cdnn9enax34
2013-04-11 18:32:38 +02:00
Launchpad Translations on behalf of openerp e2620bb5c7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410055459-5aphwzsdpres8fvu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130411144402-pc6d2zj1j2x3y3jp
2013-04-11 14:44:02 +00:00
Launchpad Translations on behalf of openerp 494c0f8bca Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130411144357-92txcwycw3kgyd5k
2013-04-11 14:43:57 +00:00
Thibault Delavallée f728ec93fd [FIX] email_template: fixed errors due to template_id now being a many2one, not an int anymore.
bzr revid: tde@openerp.com-20130411134119-q1o71pn34v8u49jy
2013-04-11 15:41:19 +02:00
Thibault Delavallée 4da68cbc22 [FORWARD] Forward port of addons 7.0 until revision 9008
bzr revid: tde@openerp.com-20130411124446-73gzyw3eo925w3dv
2013-04-11 14:44:46 +02:00
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
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
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
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
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
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
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
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 894eeef8e0 [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +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
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
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
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
Quentin (OpenERP) 904b810665 [MERGE] hr & co, demo data: update of the pictures of employees
bzr revid: qdp-launchpad@openerp.com-20130410121608-o6bwoukk4w7p8fsm
2013-04-10 14:16:08 +02:00
Frédéric van der Essen a0a9ae61e7 [IMP] point_of_sale: added barcodes in demo data for a few commonly found products
bzr revid: fva@openerp.com-20130410103238-igbolt8hst05xvi1
2013-04-10 12:32:38 +02:00