Commit Graph
102197 Commits
Author SHA1 Message Date
Stéphane Bidoul 8d58d985dd [FIX] http: no auto-load for modules not installable
Closes #8289
2015-09-09 13:56:55 +02:00
Martin Trigaux 3bf061dc09 [FIX] crm: incorrect sentense in planner
Courtesy of Eric Geens
2015-09-09 13:38:43 +02:00
Denis Ledoux 097fbd3941 [FIX] payment_paypal: receiver email different than business email
Check receiver_email only if receiver_id was not checked.
In Paypal, this is possible to configure as receiver_email
a different email than the business email (the login email)
In Odoo, there is only one field for the Paypal email:
the business email. This isn't possible to set a receiver_email
different than the business email.
Therefore, if you want such a configuration in your Paypal,
you are then obliged to fill
the Merchant ID in the Paypal payment acquirer in Odoo,
so the check is performed on this variable instead of the receiver_email.
At least one of the two checks must be done, to avoid fraudsters.

opw-648776
2015-09-09 13:38:19 +02:00
Olivier Laurent d0faf28154 [FIX] analytic: methods used in default attribute should return a RecordSet
If a method used as a default returns an id instead of a RecordSet,
it could fail in 'convert_to_write' (Many2One field) because it will try
to return "value.id". If "value" is an integer, it fails.

Also changed the method to a lambda expression and removed the
'_default_user' method because it's not used anywhere.
2015-09-09 13:36:33 +02:00
Martin Trigaux 4f09d136d0 [FIX] l10n_*: normalise name of modules
Use the format '<Country> - Accounting' for every localisation module.
This allows to have a coherant list of modules sorted by country.
2015-09-09 13:35:28 +02:00
xmo-odoo d2d8d1ca5d [REM] hr_applicant_document: view file reintroduced during forward port
The whole module had previously been removed.
2015-09-09 12:32:22 +02:00
Nicolas Lempereur 4626240d5d [FIX] point_of_sale: don't read for barcode when search focused
The product search field already handle product scanned by a code bar
(by adding it if it corresponds to only one product to the order) so
when the barcode is entered in this search input, the scan doesn't need to
be done.

closes #8433
opw-648856
2015-09-09 12:10:59 +02:00
cod-odoo c61d20366c [FIX] l10n_do: add new tags in taxes. 2015-09-09 11:34:38 +02:00
Nicolas Martinelli 516b1e1cce [IMP] auth_signup: rename "Reset password" to "Confirm" 2015-09-09 11:28:10 +02:00
Goffin Simon c092c40d14 [FIX] purchase: _calc_new_qty_price
The price must be compute with the purchase unit of measure set
on the product because qty is computed according to this unit of
measure.

opw:648513
2015-09-09 10:53:48 +02:00
Nicolas Martinelli 186c77dad1 [FIX] stock: do not remove lot id when splitting lot
Partial revert of the commit b62191c171.
We want to keep the lot number if we don't add all the products at once.

opw-648629
Fixes #7044
2015-09-09 10:50:04 +02:00
Nicolas Lempereur 70b869a0e4 [FIX] website_blog: button could be already removed 2015-09-09 10:40:57 +02:00
Nicolas Lempereur 655b13b093 [FIX] web: m2m wait deferred to use fields 2015-09-09 10:36:07 +02:00
Raphael Collet b99ef3b125 [IMP] base: rationalize indexes on ir.model.data
Indexes on individual columns (module, name, model, res_id) have been dropped,
and the index on (model, name) was duplicated in a unicity constraint.  We have
kept two useful indexes, namely:
 - a unique index on (module, name)
 - a simple index on (model, res_id)
2015-09-09 09:48:08 +02:00
Raphael Collet 085875619f [FIX] fields: in one2many.set, replace incorrect query by ORM access
When linking a record into a `one2many` relation with command `(4, rid)`, a
query checks whether the record is already linked to the current record id:

    SELECT 1 FROM {inv_table} WHERE id={rid} AND {inv_field}={id}

where `inv_field` is the name of the inverse field, and `inv_table` is the
table where this field is stored.

The query is wrong if the inverse field is inherited, because the `rid` does
not belong to the table `inv_table`.

The test has been replaced by a plain ORM access:

    rec = obj.browse(cr, SUPERUSER_ID, rid)
    if int(rec[inv_field]) != id:
        ...

This fixes #4685.
2015-09-09 09:36:40 +02:00
Christophe Matthieu 29e45d1cc2 [FIX] im_livechat, website: typo t-translation 2015-09-09 08:44:40 +02:00
Fabien Pinckaers 91a87e0cdf [IMP] removing name field 2015-09-08 20:07:31 +02:00
Wolfgang Taferner b89b7e0554 [FIX] website_sale, website_sale_delivery: Improve GA eCommerce data
As eCommerce is not complete and could be improved easily and was
not working anyway until
https://github.com/odoo/odoo/commit/9d0cb024fdc784fa7d53fecd3f0b9125c6f06481

- Use EAN13 instead of internal product id if available
- Add tax to transaction data
- Add shipping costs if available to transaction data
2015-09-08 18:06:38 +02:00
Olivier Dony a3732aef6e [LEGAL] Switch to LGPLv3 License
99% of the contributors have signed the CLA
The rest of them have been contacted by email
and are free to either sign the CLA or ask
for their contributions to be removed from
Odoo Community Edition.

See also:
- https://www.odoo.com/cla
- https://www.odoo.com/blog/odoo-news-5/post/adapting-our-open-source-license-245
2015-09-08 17:58:38 +02:00
Simon Lejeune 598475c3f2 [FIX] crm, project: planner layout issues 2015-09-08 17:57:43 +02:00
cod-odoo 089db74e77 [FIX] l10n_br: created tags for all taxes. 2015-09-08 17:27:03 +02:00
Denis Ledoux e509f9155b [FIX] google_calendar: all day event stop date
For an event during all day, during 2 days,
e.g. September 9th and September 10th,
Google expects as start date the first day, and as
stop date the day after the last day.
e.g.
start 2015-09-09
stop 2015-09-11

Even if, afterwise, in the Google Agenda interface, it will
be correctly displayed 2015-09-10 as end date.

This must be applied at the event creation AND at the event
update. It was not the case until this revision.

Besides, we now use the event `stop_date` in Odoo, instead
of the duration, in case the duration has been incorrectly
computed.

opw-648867
2015-09-08 17:21:20 +02:00
Martin Trigaux 3280819142 [I18N] crm_partner_assign: fix outdated source file
Seems it was not updated at 8.0 release, missing many terms
Fixes #6655
2015-09-08 17:19:47 +02:00
Odoo Translation Bot 101540b491 [I18N] Update translation terms from Transifex
Fetch the translations with the option --all to fetch missing languages
and use --minimum-perc 10 to avoid empty files

Fixes #8423
2015-09-08 17:07:59 +02:00
mdi-odoo 620bf116d8 [IMP] sale, purchase: the return of mail.template (Sale order, and purchase RFQ)
These templates were deleted with c04065abd8 but there xml_id were still used in the code. Mail template are good for people, so we make them come back from the dead ...
2015-09-08 16:57:51 +02:00
Martin Trigaux 3120357707 [I18N] export translations of models.py and tools 2015-09-08 16:55:40 +02:00
Martin Trigaux 8ac392873b [FIX] tools: export translations of models.py
When exporting the translations, the terms stored in individual files outside of
addons folders (e.g. openerp/models.py) needs to be scanned as well and added in
base translations.
Some folders like osv and report were enough to add these files but with the new
api moving the ORM to openerp folder, a non-recusrive scan needs to be added.

Fixes #7482
2015-09-08 16:55:36 +02:00
Damien Bouvy c7b82ce43a [IMP] remove lost orphan file 2015-09-08 16:53:30 +02:00
Christophe Simonis 3321412a7b [FIX] base: assets' on-disk absolute path computation
Do not use `openerp.http.addons_manifest` dict to find the absolute
on-disk path of an asset. This dict is only populated when the first
non-xmlrpc http request is made. Avoid crash if this happen by using
`get_resource_path` to find ... the resource path we search.
2015-09-08 16:37:06 +02:00
Damien Bouvy 95b6bafec9 [FIX] website_quote: when paying from the frontend, do not explicitly set the partner_country_id; it is automatically handled by the payment.transaction create is the partner is set 2015-09-08 16:31:54 +02:00
Damien Bouvy f007287bb8 [IMP] payment_ogone: when receiving the response of a 'form_save' transaction, create a payment_method with the corresponding data 2015-09-08 16:30:23 +02:00
Damien Bouvy e178b42a91 [FIX] payment: triggering the on_change to get partner details sometime put the partner_country_id to False; the default was there explicitly to avoid this kind of problem 2015-09-08 16:30:12 +02:00
Martin Geubelle 325f9623b4 [ADD] *: add color field on tags 2015-09-08 16:24:32 +02:00
Martin Geubelle 247e586542 [FIX] web: many2many2tags if no color field
If there is no field 'color' on tag model, the colorpicker should not be displayed.
2015-09-08 16:24:32 +02:00
Martin Trigaux 7d77678f2f [IMP] crm: fix English mistakes and rephrase
Courtesy of Eric Geens
2015-09-08 16:03:07 +02:00
Luc Bonjean 4792156e1f [CLA] Corporate Lubon bvba
Closes #7671
2015-09-08 15:51:50 +02:00
pedro 782db031c9 [CLA] Pedro Rodriguez Gil
Closes #8377
2015-09-08 15:50:38 +02:00
JoshuaJan 682672ea50 [CLA] Joshua Jan
Closes #8335
2015-09-08 15:50:37 +02:00
Antony Lesuisse c16f65b1dc [CLA] update mailmap 2015-09-08 15:45:09 +02:00
Yannick Tivisse c11323148a [FIX] stock : layout issue between 'weight' and 'tracking' field 2015-09-08 15:40:38 +02:00
Yannick Tivisse 49bc61e5ee [IMP] web_tip: Generic tip on the archive button 2015-09-08 15:40:38 +02:00
Yannick Tivisse 91af0e467e [IMP] product: Same label 'Public Price' for lst_price on product_product and
list_price on product_template
2015-09-08 15:40:38 +02:00
Yannick Tivisse ed4dfdfc9d [IMP] base: Hide 'portal', 'public' and 'contact creation' groups if not in debug mode 2015-09-08 15:40:38 +02:00
Yannick Tivisse 1c59ae181f [IMP] Add '@someone' explanation in channel helper. 2015-09-08 15:40:37 +02:00
Yannick Tivisse 577ad2838f [IMP] website_sale: Rename tour step label that was confusing 2015-09-08 15:40:37 +02:00
Denis Ledoux ca2fa82aba [FIX] mass_mailing: Select records with Leads / Opps as recipients
`False` is not syntax valid for a domain.
It leads to errors when trying to evaluate `False`
as a domain in the evaluation of `pyeval.js`.

Therefore, using `False` as default value for `mailing_domain`
isn't correct

opw-648857
2015-09-08 15:33:55 +02:00
Josse Colpaert 54fdc8576e [IMP] stock: picking validate button + onchange uom
The button Mark As Todo should be before the button Validate because
most people check things when they transfer stuff in their warehouse.
Moreover, it creates confusion, because people will think Validate means Confirm
(or Mark As Todo).

When validating an empty picking, it will give an error now.

On_change of product on stock moves and pack operations should return
a domain for the UoM.
2015-09-08 15:25:16 +02:00
Raphael Collet 058d0df3bd [IMP] models: improve regex to check table names 2015-09-08 15:23:58 +02:00
Josse Colpaert 60974fda10 [IMP] stock: Extra check of qties between pack operations and their lots detail + entire_pack param
As every pack operation can have several lots now,
we do an extra check if the qties in these lots details
match the total quantity of the pack operation.

There was an entire_pack key put in the context we want
to avoid by passing it as parameter.
2015-09-08 15:19:35 +02:00
Martin Trigaux b255880cb4 [FIX] planner: typo
Courtesy of Eric Geens
2015-09-08 15:15:02 +02:00