Commit Graph

94294 Commits

Author SHA1 Message Date
eLBati c862b2f37a [FIX] doc: web howto 2015-10-12 10:24:21 +02:00
eLBati c9d5117a2d [FIX] l10n_it: account types.
Without this, balance sheet and profit & loss do not display parent accounts

Closes #8925
2015-10-12 09:53:01 +02:00
Odoo Translation Bot 5dd33e8ca6 [I18N] Update translation terms from Transifex 2015-10-11 03:04:31 +02:00
Christophe Simonis c4844675b8 [MERGE] forward port of branch saas-3 up to a6b11a1 2015-10-10 14:35:44 +02:00
Christophe Simonis a6b11a151e [MERGE] forward port of branch 7.0 up to f8b56e4 2015-10-10 14:25:35 +02:00
Xavier Morel 14d7e20def [FIX] project: don't copy remaining hours when duplicating tasks
Since we're not duplicating work items when duplicating tasks during
project duplication, it doesn't make sense to duplicate the
likely correspondingly adjusted remaining hour.

Behave as if the planned hours had just been set/reset and set the
remaining hours of the new task to that instead.

fixes #8985
2015-10-09 18:57:46 +02:00
Joren Van Onder 617ba72a9d [IMP] point_of_sale: add remote debugging capabilities to the posbox
Sometimes it's useful to ssh into a posbox to quickly troubleshoot an
issue. Talking customers through port forwarding is very difficult
however. We use ngrok to solve this issue.

This implements an interface that allows a user to enter an ngrok
authentication token. After this, ngrok can be started and we should be
able to remotely connect.

Note that ngrok does NOT run by default on the posbox. It can only be
started manually by the user.
2015-10-09 09:38:09 +02:00
Joren Van Onder 3726612735 [FIX] point_of_sale: rm with -f does not return non-zero 2015-10-09 09:38:09 +02:00
Joren Van Onder b25af944a1 [FIX] point_of_sale: remove raspi-config message on posbox
Every time the posbox boots it would say something like:

This raspberry pi is not configured, please run raspi-config

Which is a leftover from the original raspbian image. Raspi-config is
removed on the posbox because we don't need it.
2015-10-09 09:38:09 +02:00
Joren Van Onder 546a1d4a32 [IMP] point_of_sale: support Wi-Fi on the posbox
This allows people to connect the posbox to networks using a wireless
network adapter.

When plugging in a USB Wi-Fi adapter and no network cable, the posbox
will boot and host its own Access Point called "Posbox". Users can
connect their device to this network and can then connect to the posbox
the usual way.

An interface for has been provided that also allows users to instruct
the posbox to connect to a different Wi-Fi network. This is useful when
the client is not running Odoo locally.

It is also possible to make this configuration persistent. With a
persistent Wi-Fi network configuration, the posbox will always try to
connect to the specified network after a reboot.

Attempts have been made to make the Wi-Fi connection as robust as
possible. Upon connection loss, the posbox will automatically attempt to
reconnect.
2015-10-09 09:38:09 +02:00
Alexandre Fayolle a0a4ec6374 [FIX] hr: fix hr.department name_get
hr.department name_get would crash when called with a single id.

Closes #8459
2015-10-09 09:29:38 +02:00
tv-openbig 1423cef6fc [IMP] l10n_de: better defaults values for digits and taxes of l10n_de
The current default values leads to standard proposals of 6 digits
account numbers and in many cases wrong default tax settings. The fix
prevents most users to apply manually the right settings of digits and
default taxes.

Closes #8837
2015-10-08 16:50:38 +02:00
tv-openbig 57bd14ab15 [CLA] signature for Thorsten Vocks 2015-10-08 16:50:26 +02:00
JoshuaJan 7aaffedd21 [FIX] crm: merge opportunities for stages in 'both' type
A crm.lead will either be a lead or an opportunity but a stage can also have
the 'both' type so it should be matched in the domain.

Closes #8434
2015-10-08 13:58:09 +02:00
Mack f8b56e4f40 [FIX] hr_payroll: total_wage return format
Field removed in 9.0 at 04cebbd (because useless). This avoids an error if read.
cf #8781
2015-10-08 12:20:29 +02:00
Xavier Morel 92d1ecdefb [IMP] doc: note about XMLRPC + Odoo Online
Also added some styling for guilabel as it was indistinguishable from
regular body text.
2015-10-08 12:03:01 +02:00
Jesús Alan Ramos Rodríguez 7e3c3853e0 [CLA] corportate signature for Jarsa 2015-10-07 15:56:06 +02:00
zbychu555 6682bde8a2 [FIX] doc: for Custom Widgets tutorial 2015-10-07 14:58:00 +02:00
Joren Van Onder f008240411 [FIX] hw_escpos: certain Epson printers do not identify as a printer
We search for USB devices that identify as a printer through their
DeviceClass or one of their InterfaceClasses. The issue is a lot of
printers use vendor-specific Device/InterfaceClasses.

Apparently the Epson TM-T88IV is one of those devices. So in order to
work around this, we now first look for a USB device that identifies as
a printer. If those do not exist, we pick the first Epson device, if
those do not exist we pick the first Star device.

Perhaps we should instead start using some kind of probe-based approach
to identify ESC/POS compatible devices.
2015-10-07 13:03:46 +02:00
bramsi 979d23ad8c [FIX] mrp: name_search where args is not defined
In case of name_search with no args (default None, see #8492 for example of
valid scenario, during import)
Construct the domain correcty.

Fixes #8492
2015-10-07 12:50:32 +02:00
bramsi 4f2bd0b9ea [CLA] signature for bramsi 2015-10-07 12:50:25 +02:00
Wolfgang Taferner 29d28b05e4 [FIX] account_check_writing: modify voucher amount without company
The code used the key vals['company_id'] while it was not checked it was present
in the write call (and it should not necessary).
If a key is not present, browse the record instead.

Fixes #8906
2015-10-07 12:14:30 +02:00
Walter Padrón a2eaad2eb4 [CLA] Walter Padrón (wpadron)
Closes #8928
2015-10-07 11:37:59 +02:00
Martin Trigaux 096fe8a05c [FIX] project: restrict access to dashboard only to project users
Users not belonging to the project user group can not access the model
project.task.history.cumulative
Hide the dashboard for them

Fixes #8606
Closes #8607
2015-10-07 11:19:58 +02:00
Carlos Almeida 48eb1f6df7 [FIX] l10n_br: specify accounts that can be used to reconcile
Fixes #8902
In order for the payment wizard to work, the accounts in invoice header, account_id, should have reconcile=True.
In l10n_br the accounts are, amongst others, "Clientes" and "Fornecedores", a the chart of account should make them by default as reconciliable.
2015-10-07 09:15:21 +02:00
Carlos Almeida 78b1083aac [CLA] signature for cmsalmeida 2015-10-07 09:15:08 +02:00
Danimar Ribeiro 18ae91ea92 [FIX] mass_mailing: Check if bounce_alias is not None
If the parameter mail.bounce.alias is not found
2015-10-06 16:11:45 +02:00
Danimar Ribeiro eb18925956 [CLA] Signature for danimaribeiro 2015-10-06 16:09:54 +02:00
Stefan Rijnhart 3b3616a3a0 [CLA] coporate signature for Opener B.V.
Closes #8857
2015-10-06 16:02:45 +02:00
David Monjoie 6b6d7310c0 [FIX] website_sale: sale_get_order force_create
Previously, if there was a sale_order_id but it was wrong,
like when the sale order was deleted for example, the function
didn't return a sale order, even with force_create=True.

It used to pass the first 'if' as sale_order_id had a value, so
no new sale order was created. However, as sometimes the id was
referring to a non-existant sale_order, a sale_order.exists() test
was used later, resulting in the function sometimes returning None,
even with force_create = True.

Proposed solution is to test the existence of the browse record with
the given id earlier, instead of testing the existence of the id itself.
2015-10-06 10:59:46 +02:00
Raphael Collet 25ea23eb31 [FIX] models: when accessing function fields in multi, read them all at once 2015-10-06 10:04:59 +02:00
Nicolas Mac Rouillon 4400da6ca4 [FIX] project_issue_sheet: restrict inherited view access
The field timesheet_ids (hr.analytic.timesheet) and analytic_account_id
(account.analytic.account) should not be accessible by the portal user.

Fixes #8338
Closes #8354
2015-10-06 09:24:53 +02:00
Goffin Simon 25634df8f2 [FIX] crm: meeting from a logged phone call
The user creating the event should be by default in the attendees (to see the event
he just created in his calendar) and the contact on the logged call
should also be in the attendees by default.

opw:650556
2015-10-05 15:30:46 +02:00
Antonio Espinosa 91d54a0d7d [FIX] website: google_map_link zoom was forced to '10'
Use the parameter zoom as in `google_map_img`
Change the default value to 10 to avoid changing the behaviour for existing
links (zoom was not used anyway).

Closes #8318
2015-10-05 10:24:30 +02:00
Odoo Translation Bot 57b993ffad [I18N] Update translation terms from Transifex 2015-10-04 01:59:01 +02:00
Raphael Collet a9c43bba82 [FIX] fields: fix assignment of related field on several records 2015-10-02 17:05:35 +02:00
Martin Trigaux 35b9ff7146 [FIX] auth_signup: do not send email to duplicated user
When duplicating a user, an email was sent to a user at the email of the
previous user (as the create is called before changing the email).

Closes #8754
2015-10-02 16:32:55 +02:00
Raphael Collet 446d59fd44 [IMP] api: improve documentation of `api.onchange`
This fixes #3968.
2015-10-02 11:58:44 +02:00
luc-demeyer 66ce0ac970 [FIX] account: name_search for multilang CoA
The `account.account` `name` can be translated
as soon as `l10n_multilang` is installed.

Not passing the context in the calls to
the `search` method prevented to search
on the translations of this name.

Closes #4511
2015-10-02 11:00:04 +02:00
Jairo Llopis 90968dec1c [FIX] mass_mailing: filter on recipient
When selecting the contacts to recieve a massmailing, restrict to the ones
available for mass-mailing to be consistent with the menu 'Mailing List
Subscribers'

Fix #8463
2015-10-01 16:53:39 +02:00
Humberto Arocha 432d6585c9 [FIX] Landed Cost: When Creating Negative costs with more than one picking line fixes #8714
check_sum fails as whole cost from cost_lines field are
fully allocated to first item in picking.
2015-10-01 16:47:18 +02:00
Emanuel Cino 34ce3e36e1 [FIX] account: reconciliation domain
During reconciliation wizard, the wizard tries to find the best match with
exisiting unreconciled lines.
When more than one line could be reconciled with the bank statement line, the
oldest line was not selected.
e.g.
- statemement line: 10€
- invoice 1: 10€
- invoice 2: 10€
- invoice 3: 5€

The statement line was reconciled with the 5€ invoice instead of the first one.
This was due to the domain not matching when the exact same amount was found.

Sign CLA for compassionCH

Closes #8767
2015-10-01 16:35:09 +02:00
Nicolas Martinelli acb55e321d [FIX] mail: reload only in log after composer
Commit e0c1f54fd7 was supposed to prevent the message fetch in the
inbox view. However, self.is_log refers to the type of message: internal
note or message. This properly checks if the page displayed is the inbox
view before fetching the messages.

Related to #7596
opw-650208
2015-10-01 15:34:58 +02:00
Raphael Collet cca7a7a051 [FIX] ir_model_fields: fix and simplify update on custom fields
Avoid "patching" the registry, as this introduces inconsistencies (some field
attributes are lost).  Instead, proceed as follows:
 - update the definition of custom fields in database;
 - clear the corresponding cache on the registry (this was missing);
 - setup the models in registry (this reloads the custom models and fields);
 - update the database schema of the models based on the registry.

This makes the update of custom fields simpler and more robust.
2015-10-01 15:26:07 +02:00
Goffin Simon 2b13234661 [FIX] mrp_operarations: str time comparaison
Format error when comparing str time

opw:648349
2015-10-01 15:05:47 +02:00
Mack 3f31c378fa [CLA] MackZxh sign the CLA
closes #8783
2015-10-01 11:58:13 +02:00
Goffin Simon cf87d9b5a3 [FIX] website_sale, website_sale_options: product_variant_ids in website_sale.modal
To show the website_sale.modal, the product_variant_ids must be in the DOM
because all the prices are computed with the product_variant_ids.
From commit 0ff26cf

opw:650167
2015-10-01 09:25:51 +02:00
Odoo Translation Bot 78450f2769 [I18N] Update translation terms from Transifex 2015-10-01 00:32:02 +02:00
Thorsten Vocks e0f4f8a710 [CLA] Big Consulting GmbH
Signed through OPW 650573
2015-09-30 18:13:53 +02:00
Stéphane Bidoul e11490c3a1 [FIX] account: Analytic account domain in reconcile with writeoff wizard
The domain for the analytic account in the `reconcile with writeoff` wizard
should be based on the `type` field, which must be `view`,
not on the `parent_id` field, as it's done everywhere else
(e.g. in the supplier invoice form).

`[('parent_id', '!=', False)]`
and
`[('type', '!=', 'view')]`
is almost the same, but the second domain is more appropriate.

Closes #4562
2015-09-30 16:22:05 +02:00