Commit Graph

70863 Commits

Author SHA1 Message Date
Martin Trigaux d106d54ade [FIX] mail: check access rules of related documents when subscribing to it
Fix tests to execute actions with user that are allowed to

bzr revid: mat@openerp.com-20140106141157-0tp2bgw2d40ynrag
2014-01-06 15:11:57 +01:00
Launchpad Translations on behalf of openerp b1af63310c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061324-aw7yvvnjapbx5x1i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220053354-9ybfurq6yvrliqge
bzr revid: launchpad_translations_on_behalf_of_openerp-20131223054728-1db5iqqokg67bcyr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052619-5szmeohg88k0m4xt
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054325-pww3zkiyzxll4qy7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140102054504-671epcsd8458kil8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062350-h5v8idg6hlix6rnx
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061853-bndte11d6k8po640
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054743-exo0ixnpjkfwfstl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050440-fme1x3f2g4s1dxqk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062427-4v5wusiplrcj4jjd
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061934-r5xq4gfoy22w6nll
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054800-delmrxbtcvm3xxyw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050503-xu0r3lopkkfn20ca
2014-01-06 05:05:03 +00:00
Denis Ledoux 5ba8c98fee [REVERT] rev 4098, revid:dle@openerp.com-20131224112201-0zlxa6fevvj3501h. Partialy break the design (buttons and status bar not displayed sometimes)
bzr revid: dle@openerp.com-20140103094415-vi99tbbeitzr7r2b
2014-01-03 10:44:15 +01:00
Denis Ledoux bc50cd3558 [FIX] mail: mails with attachments containing special chars (such as é) were not delivered properly
get_filename method from email lib returns sometimes decoded value, sometimes still encoded.
for instance, get_filename cannot decode iso encoded filename

Recently, decode method has been applied on filename string, to handle iso encoded file. 
Sadly, one cannot decode already decoded values.
Therefore, decoding already decoded windows or utf-8 encoded filename with special chars failed.

bzr revid: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
2014-01-02 17:11:49 +01:00
Launchpad Translations on behalf of openerp e0951d6e18 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227053952-0hms21l5679mfv9d
bzr revid: launchpad_translations_on_behalf_of_openerp-20131228053802-9q255pplfsr06jvf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230050715-gywiu51n8ejcvnkp
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052701-yjrbqgyv2os2z8gt
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054400-7tz7obdh31v8log8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140102054530-gtwf0yp277zkqm0i
2014-01-02 05:45:30 +00:00
Launchpad Translations on behalf of openerp c66a5ed402 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227053956-p7tdskfkfwn0icl8
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230050721-dfw5fsmgo8btk6tq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052707-fyy1k7m0u3n88vw0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054406-tted2yxu518pvp2p
2014-01-01 05:44:06 +00:00
Thibault Delavallée 327f0fdb40 [MERGE] [FIX] sale_stock: invoice services when invoicing on delivery order
bzr revid: tde@openerp.com-20131226100605-wk4nht7msupkyuj9
2013-12-26 11:06:05 +01:00
Launchpad Translations on behalf of openerp 61962e42b0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131225063515-dusvptjej0lwd8g5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131226062501-h5l10yzkfldlxfra
2013-12-26 06:25:01 +00:00
Denis Ledoux 7bb4f6da82 [FIX]web: status bar alignment, sometimes wrong on google chrome
bzr revid: dle@openerp.com-20131224112201-0zlxa6fevvj3501h
2013-12-24 12:22:01 +01:00
Denis Ledoux d1b4aa974d [FIX] account_voucher: computed writeoff and invoices selected were not right on partial invoice payment in account voucher wizard.
Due to the algorithm which did not handle the fact that an invoice could have several move lines

bzr revid: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
2013-12-24 11:35:35 +01:00
Launchpad Translations on behalf of openerp 87aae0efca Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131224055213-dm6b0zx4e0fn18ex
2013-12-24 05:52:13 +00:00
Denis Ledoux 36846db2c3 [FIX] account_check_writing: display real currency name on check print
Instead of 'Euro' hardcoded.
As the currency complete name is not available in res.curreny model, exceptions are made for currencies EUR, USD and BRL, the mosts used currencies for checks (+75% of cases)

bzr revid: dle@openerp.com-20131223154631-21oenwn8mxszyo5t
2013-12-23 16:46:31 +01:00
Martin Trigaux 4c0c6bbc76 [FIX] hr_payroll: skip missing structures in get_all_structures for hr.contracts (eg: if structure is deleted afterward) (opw #602411)
bzr revid: mat@openerp.com-20131223124413-k0st3i54zou2bga8
2013-12-23 13:44:13 +01:00
Rifakat 2c9ef5b3d5 [FIX] hr_payroll: put a check for the structure used in the contract. When any structure
is already assigned into contract and that is deleted, it will affet the Payslips which were already created and will have [False] value.

bzr revid: rha@tinyerp.com-20131223101841-6fbwfm90gn7sj17m
2013-12-23 15:48:41 +05:30
Launchpad Translations on behalf of openerp 931f52f0f5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131221061900-mrdvau1f6w722vsn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131222055708-jg10h0irjyde2qii
bzr revid: launchpad_translations_on_behalf_of_openerp-20131223054746-koli3yft4vt25ld4
2013-12-23 05:47:46 +00:00
Thibault Delavallée b92ad39005 [FIX] email_template: support of email_recipients in send_mail.
email_recipients is a char fields holding a comma separated list of partner_ids
that are the email recipients. This field is correctly handled in the composer
but was not taken into account in the send_mail method email_template.
However due to model limitations, this field can only be taken into account
when sending the email directly using force_send. When the email is
queued, no field is available to hold the value of email_recipients.
This is already fixed in trunk/v8 as a field has been added to handle
this value.

[FIX] mail: when sending email to some recipients_ids, filter to have only
the existing partner_ids. Trusting email template to generate valid
partner_ids is a bit risky.

[TESTS] email_template: added tests for send_mail

bzr revid: tde@openerp.com-20131220144652-h18yam60vpedbh7x
2013-12-20 15:46:52 +01:00
Xavier ALT 73dfa69e34 [FIX] project: fix task progress not correctly updated when reopening a task
bzr revid: xal@openerp.com-20131220091823-o9uvvlo6hdh4xukw
2013-12-20 10:18:23 +01:00
Xavier ALT 6e71e067ca [FIX] purchase: remove duplicate 'Warehouse' and 'Reference UOM' groupby filter in Purchase Analysis search view
bzr revid: xal@openerp.com-20131220085429-xxojh1oxjn1fo3a5
2013-12-20 09:54:29 +01:00
Xavier ALT 95e5d57e02 [FIX] document: on report.document.user view, use correct field type for ``user_id`` field.
bzr revid: xal@openerp.com-20131220084446-b5rmz6dfotd2alaa
2013-12-20 09:44:46 +01:00
Launchpad Translations on behalf of openerp e6a46a855d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220053413-o3xa4nlpu9snoiq6
2013-12-20 05:34:13 +00:00
Xavier ALT 3f7f02d508 [FIX] project: fix error on ``schedule_tasks`` when there is no resource available on project
bzr revid: xal@openerp.com-20131219154546-xlbgqfkc34ndf8kp
2013-12-19 16:45:46 +01:00
Xavier ALT 8b3312e1f6 [FIX] l10n_be: fix no value in 'Code (Tax Code)' column on 'Print VAT Intra' preview report
bzr revid: xal@openerp.com-20131219145528-ppndys5c1jryefgk
2013-12-19 15:55:28 +01:00
Xavier ALT 6df572aae4 [FIX] hr_holidays, hr_timesheet: fix XMLSyntaxError when company name contain an ampersand '&' sign
bzr revid: xal@openerp.com-20131219135147-jpli369iqlanf3t3
2013-12-19 14:51:47 +01:00
Launchpad Translations on behalf of openerp 64cc283264 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061541-j0v5712t55sdiqb6
2013-12-19 06:15:41 +00:00
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
Martin Trigaux fe5383f0e2 [MERGE] [IMP] account_payment: remove widget=selection (was forcing the preloading of every partner for an invisible field)
bzr revid: mat@openerp.com-20131218144617-pq3oy121rxaxiu5r
2013-12-18 15:46:17 +01:00
Xavier ALT 9491755b8b [FIX] web: only show in 'Advanced Search', fields that are actually searcheable and avoid duplicate 'ID' field
bzr revid: xal@openerp.com-20131218113547-myl7eihvw5vbzkaa
2013-12-18 12:35:47 +01:00
Xavier ALT bf324b417c [FIX] base: make explicit, that res.users reified fields are not selectable
bzr revid: xal@openerp.com-20131218111214-543cjhkp6k0steyi
2013-12-18 12:12:14 +01:00
Launchpad Translations on behalf of openerp d23b68540b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131218055330-dvkrpp97rqo7gcf2
2013-12-18 05:53:30 +00:00
Xavier ALT 6dc8698319 [FIX] base: remove old deprecated file ``base_module_scan.py``.
This file was wrongly left-over from ancient v6.1 times and not used at all under v7.0.

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

bzr revid: xal@openerp.com-20131217154915-v6iy8us55k8rp7nc
2013-12-17 16:49:15 +01:00
Xavier ALT 4986d636b4 [FIX] translation: force clearing of cached translated term after a successfull `trans_load_data`
When re-loading a translation (with 'Overwrite Existing Terms') we need to
  empty the translation cache to ensure overwritten terms get their new values.

bzr revid: xal@openerp.com-20131217145738-9oy2fjhbc46yzonq
2013-12-17 15:57:38 +01:00
Cecile Tonglet 0877e27f82 [FIX] The widget selection on partner_id force the form to load every partner for nothing
bzr revid: cto@openerp.com-20131217140015-f3v3tjmrhnwjfsqi
2013-12-17 15:00:15 +01:00
Denis Ledoux df0a13ab4c [FIX]sale_crm: quotation/sale order default section_id based on res_users default_section_id
bzr revid: dle@openerp.com-20131217124201-kha2717b4ka51aih
2013-12-17 13:42:01 +01:00
Xavier ALT ea1129b8f5 [FIX] base: use correct field for user's last connection.
We need to display user's last login date, not inherited res.partner ``date``
 field. This has been renamed from 'date' to 'login_date' in revision-id:
   tde@openerp.com-20120810081632-a4sg4ve68gpx6bx4

bzr revid: xal@openerp.com-20131217121132-97j3k64c875cu3h5
2013-12-17 13:11:32 +01:00
Olivier Dony df0ba6c7e8 [FIX] project_mrp: local copy of the "Procurement" process node to avoid errors during updates when sale_stock is not installed
The various attempts to fix this error without duplicating the node
have all caused other errors. Having a duplicate process node has
no consequence on business operations, so it is an acceptable
workaround until the node can be moved to the sale module.

bzr revid: odo@openerp.com-20131217104301-t8fsf28jgjqq9q7k
2013-12-17 11:43:01 +01:00
Martin Trigaux cfd24d9822 [FIX] view_list_editable: toggle visibility (using force_visibility attribute) for readonly changes, using effective_invisibility instead of invisibility attribute (opw 601970)
bzr revid: mat@openerp.com-20131217104111-u9bnqvz7rd5rzwnc
2013-12-17 11:41:11 +01:00
Xavier ALT e7c1baa4d4 [FIX] base: do not traceback when removing country code
bzr revid: xal@openerp.com-20131217092010-p7mbiu1057e2v96z
2013-12-17 10:20:10 +01:00
Launchpad Translations on behalf of openerp 04837c244f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131217061356-7230cnvseunpundw
2013-12-17 06:13:56 +00:00
Olivier Dony d08821442e [FIX] base_action_rule: upon update/create of an automated action in multiprocess mode, force registry reload
Short of signaling the other workers, the (new) automated
rule may be randomly ignored, depending on which worker
handles the request (until the workers all reload
their registries).

bzr revid: odo@openerp.com-20131216142049-xh9gxy5cir3p2i09
2013-12-16 15:20:49 +01:00
Xavier ALT 0a3b4b7fb7 [FIX] document: duplicate directory detection should work even when a record rule prevent user from seeing duplicates
bzr revid: xal@openerp.com-20131216131949-6k0fxumgl1k1roy1
2013-12-16 14:19:49 +01:00
Xavier ALT 6fab66d6f7 [FIX] document: duplicate directory detection should work even when a record rule prevent user from seeing duplicates
bzr revid: xal@openerp.com-20131216123954-px10qz9g3qxng6c6
2013-12-16 13:39:54 +01:00
Denis Ledoux af22a1c5b7 [FIX] account_analytic_analysis: is_overdue_quantity was not updated when quantity max was changed
is_overdue_quantity is a stored function field which was updated only when analytic lines where updated. Or, when the quantity_max field is updated, this field should be recomputed and restored. This is now the case

bzr revid: dle@openerp.com-20131216111218-zcz8qwa7zn3iwvye
2013-12-16 12:12:18 +01:00
Launchpad Translations on behalf of openerp 94b4618c13 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131215054553-py8zfwrk3bir6m1l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131212055820-zh0fqpweezvphdc6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131213064308-hil3cycv38im8qds
bzr revid: launchpad_translations_on_behalf_of_openerp-20131215054616-uyc9y42oetvmq1cs
bzr revid: launchpad_translations_on_behalf_of_openerp-20131216053557-w3gf0jlw5wrtzllr
2013-12-16 05:35:57 +00:00
Martin Trigaux 385a54cb83 [MERGE] [FIX] fields: avoid traceback when rendering reference field if link is broken (name_get returns no result)
bzr revid: mat@openerp.com-20131211165521-dxcjq7e35q8i0xs9
2013-12-11 17:55:21 +01:00
Martin Trigaux 61db0a7755 [MERGE] [FIX] res_users: skip method _get_reified_groups if read returns no result (avoid traceback)
bzr revid: mat@openerp.com-20131211165047-7jq1got6aikjmdry
2013-12-11 17:50:47 +01:00
Denis Ledoux 89a9dbee75 [FIX] mrp: cost structure report, do not display twice main supplier
bzr revid: dle@openerp.com-20131211134120-fco4rlqjh258ba36
2013-12-11 14:41:20 +01:00
Martin Trigaux 585c72abd7 [MERGE] [FIX] Grouped ListView: avoid removing info in row title (such as total) when removing page numbers (if grouped view contains more than 80 elements) (opw 594708)
bzr revid: mat@openerp.com-20131211113330-c6mnxwba7yvxaqmc
2013-12-11 12:33:30 +01:00
Martin Trigaux ad7951214c [MERGE] [FIX] One2ManyListView: reload line data without saving it when m2o record has changed in edition mode (eg: changing product name in sale order line) (opw #600224)
bzr revid: mat@openerp.com-20131211105009-iylczcepd3a0e61l
2013-12-11 11:50:09 +01:00
Cecile Tonglet a48c8119ca [FIX] name_search() where _rec_name is a reference field and links are broken
bzr revid: cto@openerp.com-20131211103842-i1n9t8mg9kuw77v3
2013-12-11 11:38:42 +01:00
Launchpad Translations on behalf of openerp 767207aa23 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062724-zxcigdht6w71xy7v
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062802-mh61vodnsw0sr8im
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062808-o9fkpg2cg9cb403z
2013-12-11 06:28:08 +00:00