Commit Graph
99776 Commits
Author SHA1 Message Date
Josse Colpaert 50c0778d67 [FIX] stock: On Hand on template form statbutton action + improve quant form view and help messages in picking type 2015-09-10 12:07:32 +02:00
Martin Trigaux 8f7484b6af [FIX] crm_partner_assign: message translation structure
Backport of 1989495 without breaking existing translations.
do not forward port in 9 where proper fix has been made at 1989495.

Do not generate the messages by putting bits of sentences together.
Other languages do not have the same structure (and 'have not' was not
translated anyway).

For 8.0 keep the same source for the base error message but create a new one for
the negation as it was wrong in other languages.
2015-09-10 11:45:50 +02:00
Martin Trigaux 1989495aeb [FIX] crm_partner_assign: message translation structure
Do not generate the messages by putting bits of sentences together.
Other languages do not have the same structure (and 'have not' was not
translated anyway).
2015-09-10 11:34:28 +02:00
Nicolas Martinelli 9b2b238b15 [IMP] sale: _amount_all only depends of order_line.price_total 2015-09-10 11:12:45 +02:00
Arthur Maniet 9d56c28c24 [FIX] account: checks sequence creation on bank journals 2015-09-10 10:54:38 +02:00
Nicolas Martinelli 674ac7b21c [FIX] sale: track state of SO 2015-09-10 10:41:53 +02:00
Nicolas Martinelli a6d773773d [FIX] mail: empty notes and field monetary
We prevent the creation of empty notes and add the field monetary in the
list of accepted fields.
2015-09-10 10:09:58 +02:00
Olivier Laurent 04576ace34 [FIX] product: convert string to list
if 'names' is a string, we need to convert it to a list to be able
to iterate on it.
2015-09-10 09:53:15 +02:00
Olivier Laurent abe9103db8 [ADD] doc: database upgrade API 2015-09-10 09:53:15 +02:00
Goffin Simon 77c8da7d2f [FIX] point_of_sale: tax_amount sign
The sign of the tax_amount in an "account.move.line" can be negative.
Introduced by cb86fef

opw:648231
2015-09-10 09:10:50 +02:00
Fabien Pinckaers f4e24b9843 [IMP] Event form view 2015-09-10 08:48:14 +02:00
Nicolas Martinelli 7b734f96b1 [IMP] sale_service: stat button for tasks 2015-09-09 19:14:13 +02:00
Nicolas Martinelli a794f7effa [IMP] sale_timesheet: stat button for timesheet activities 2015-09-09 19:14:13 +02:00
rsi-odoo bfed8706bb [FIX] l10n_hr: fixes tags and taxes for enterprise 2015-09-09 17:43:54 +02:00
Antonio Espinosa 74711efa0a [FIX] website: Default company of website model
Default website.company_id to base.main_company instead of base.public_user

base.public_user being a `res.users` and not a `res.company`

Closes #8236
2015-09-09 17:23:54 +02:00
Josse Colpaert a934b9e1ba [IMP] delivery: add fields for retrieving the bulk weight and the weight of the packages of a picking
As the transporter interfaces will put a label on every package,
it is in handy to have a field with the list of the final packages
(and their weights) treated in  the picking.
We give a weight for the products that are not in a package also(bulk).
We only put the weight on the package in the views.

The weights in the product form views should appear entirely or not in
product / product templates (only when only 1 variant)
(attrs was only on the field, not label, ...)

The digits= for the weights are not needed as there is a decimal precision
on these fields.
2015-09-09 17:11:54 +02:00
Xavier Morel cdc55cf8a6 [REM] membership: yml demo file
* non-deterministic execution (depending on having a chart of account
  loaded before it), unreliable as demonstration dataset
* hot mess, very debatable purpose
* apparently not used by membership tests (since unreliable execution)
* most expensive single data file when it happens to run in full (12~15s
  on runbot)
* heresy
2015-09-09 16:54:07 +02:00
Jos De Graeve ca47d4117f [FIX] delivery: Dont add other companies taxes deliveries
When delivery_set is called from the website_delivery module, the
uid is set to SUPERUSER_ID. In a multi-company environment, this
causes the linked taxes from the delivery product to be added
to the sale_order_line.

Closes #8311
2015-09-09 16:50:26 +02:00
Yannick Tivisse 69e42cb2b2 [IMP] sale: put some SO in confirmed state in demo 2015-09-09 16:49:05 +02:00
Yannick Tivisse b9cf338c21 [FIX] hr_timesheet: demo timesheet lines weren't taken into account in report 2015-09-09 16:48:27 +02:00
Yannick Tivisse 6c987e74c4 [FIX] sale: Wrong filter definition 2015-09-09 16:47:47 +02:00
Simon Lejeune 33f686690a [FIX] account, crm, stock: various fixes in planners 2015-09-09 15:56:48 +02:00
Olivier Dony 2f8d6e796b [CLA] Update Camptocamp CLA
Typo + add older Camptocamp contributors.

Confirmed by email with Joël Grand-Guillaume
and Luc Maurer on 2015-09-09.
2015-09-09 15:51:15 +02:00
Christophe Simonis 5e1eb5f34c [IMP] mail: avoid followers with dissociative identity disorder 2015-09-09 15:38:12 +02:00
rsi-odoo 1e153e8aa5 [FIX] l10n_ch: use right tag in tax for enterprise report 2015-09-09 14:50:48 +02:00
Christophe Simonis 6d0c7c731b [FIX] hr: add missing dependency on web_tip
The dependency has wrongly been removed by d27910a8f2
2015-09-09 14:38:35 +02:00
Yannick Tivisse 09cd1ab280 [IMP] Sale: Make demo data 'Deposit' invisible to the user + invoice wizard cleaning
- Move product_product 'Deposit' from demo to data + make it a product_template
- Remove group_no_one on archive button for product_product and template
- Remove a commented import_pdb; pdb.set_trace()
- Add in the sales config 2 fields to edit the account and the taxes for the deposit product
- On the sale orders lines invoicing wizard, display the account and the taxes for the deposit product
instead of the product itself
- Set the product 'Deposit' as inactive to be hidden to the users
2015-09-09 14:23:28 +02:00
Yannick Tivisse 1f28bd8348 [FIX] project: task_count counts tasks in undefined stage, and not inactives tasks anymore 2015-09-09 14:19:07 +02:00
Olivier Dony 7346352fd9 [FIX] account: new api typo, self.env.user is current user
`uid` not defined in this context
2015-09-09 14:13:40 +02:00
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