Commit Graph
111138 Commits
Author SHA1 Message Date
OstapYakovenko 4bde8defbf [CLA] corporate signature MaAO
Closes #17265
2017-05-29 17:27:24 +02:00
Yenthe V.G 1a685089be [FIX] portal: untranslated error message
And specify which group is incorrect

Closes #17275
2017-05-29 17:01:46 +02:00
Yenthe V.G 42a3c66424 [FIX] stock: untranslated errors
Closes #17277
2017-05-29 16:56:11 +02:00
qsm-odoo 7dcb8fea64 [IMP] web: make backdrops appear on top of older modals
When opening a modal on top of another, we expect the associated
modal-backdrop to be over this another modal (so that it is grayed).
This was not the case as bootstrap forces the modal-backdrop z-index
to a lower value than the modal's one (see fix comments in the changes
below).
2017-05-29 16:53:02 +02:00
Ruchir Shukla 02f05e9fef [FIX] martketing_campaing: Check if record related to res_id exists to compute res_name
Closes 16971

If the record with id `res_id` on the model `res_model` doesn't exists anymore, do not call name_get method on it in the method `_compute_res_name`. That could lead to tracebacks or inconsistencies.
2017-05-29 16:47:13 +02:00
Yenthe V.G 5cf2bb6ec9 [FIX] pos_mercury: missing translation ability
Made the error message more understandable

Closes #17276
2017-05-29 16:45:25 +02:00
Yenthe V.G c8d132f751 [IMP] base: remove length of pass and user fields of ir.mail_server
Indeed in some cases those could be longer than 64 characters. As
there is no real constraint let us drop the limit to simplify it.

Closes #17269 .
2017-05-29 16:34:43 +02:00
Thibault Delavallée 0849677548 [FIX] purchase_requisition: fix taxes_id field being created with records instead of ids
Fixes #16222
2017-05-29 16:32:45 +02:00
Géry Debongnie 5788ee8a1c [FIX] web: prevent crash when exporting all data
In the list controller, some code to determine the active domain to
export was causing a crash.  It was easy to see: just select all records
in a list view, then click on 'Export' in the sidebar.

Note that the data_export code is still quite old, and did evolve
organically.  It does not conform to our new design principles, in
particular, the way component should communicate. But this is a task for
another day.
2017-05-29 16:20:45 +02:00
Laurent Smet e06b039642 [FIX] account: fix traceback when resetting invoice to draft (#17262)
Due to a bad refactoring of this method during the remove of the
'report' module, a traceback occurs when resetting an invoice to draft.
This is due to the retrieve_attachment method that is used as an api.model
instead of api.multi.
2017-05-29 16:05:49 +02:00
Goffin Simon e9d6dcf16f [FIX] stock_account: get_invoice_line_account in valuation = 'periodic'
Let's consider the product category PC in valuation = 'periodic' and the product P
with the category PC.

When creating a vendor bill with P, the account on line doesn't have to be
the stock input account but the expense account.

opw:744409
2017-05-29 15:55:47 +02:00
Yannick Tivisse 003328ec82 [FIX] product: Display the variants in the same order for one product
Currently the variants are ordered by the attribute value in the name_get. That way, all the attributes aren't displayed in the same order.

Ordering by the variant attribute name will solve this issue.

Closes https://github.com/odoo/odoo/pull/17034
2017-05-29 15:12:22 +02:00
Lucas Perais (lpe) d11df4f7b7 [FIX] account: search account.journal also by shortcode
OPW 744362
GH-17102

Closes #17178
2017-05-29 14:52:25 +02:00
reinka ed36285e34 [CLA] Signature for reinka - bloopark 2017-05-29 14:49:46 +02:00
reinka 859a77ca8b [FIX] website_sale: fix order_id from session when cart is reset
Redirection to confirmation page at the end of the checkout process
in case of a previous cart reset by the user.

This commit closes #16145
2017-05-29 14:49:37 +02:00
qsm-odoo 0bb3f21964 [FIX] web: domain selector's inputs design
Since the new views, the 'o_input' class has to be added on form
elements for them to be correctly styled.
2017-05-29 14:41:58 +02:00
Wolfgang Taferner 26e88569c5 [IMP] account: fields of refunds streamlined for better inheritance
Closed 17065
2017-05-29 14:21:33 +02:00
lreficent 8761cf57bb [9.0][FIX] purchase: fix Unread Messages filter
In v9 the right filter to use is based upon the message_needaction
field coming from mail.thread . Indeed this gives records containing
messages demanding an action which is the right way to use the
needaction mechanism in 9, like done in all other addons inheriting
from mail.thread.

Closes #16769 .
2017-05-29 14:10:53 +02:00
lreficent 9c3ef52a32 [CLA] Lois Rilo Antelo
Related to #16769 .
2017-05-29 14:10:24 +02:00
Martin Trigaux 014f9e96b1 [FIX] mrp: format date in user format
Instead of hardcoded YYYY-MM-DD
t-options was introduced in 10.0

Fixes #12341
2017-05-29 14:00:41 +02:00
Antonio Espinosa a0ff74b78d [FIX] website_mail: do not propagate csrf_token to message_post method
Indeed through portal users can post a message. Form used in order to
do so include a csrf token. However this one should not be propagated
to message_post because it is not a mail_message model field.
This creates unnecessary warnings.

Closes #13956 .
2017-05-29 13:57:10 +02:00
Jerther a0ea3304d1 [IMP] doc: add missing doc on kanban groups
group_create, group_delete and group_edit were missing

Closes #17218
2017-05-29 13:42:19 +02:00
Luis Torres bf201e9014 [IMP] l10n_mx: Complete fiscal regime catalog
To CFDI 3.3 the SAT provide the new catalog that need be used to
"RegimenFiscal" node used by the company that emit the documents.

Definition:
Atributo requerido para incorporar la clave del régimen del
contribuyente emisor al que aplicará el efecto fiscal de este
comprobante.

And the attribute need the code from the catalog, and validate that it exist.

In CFDI 3.2 the attribute was required but free. Then the code also
could be used in CFDI 3.2.

Like fiscal position have not field to save the code, is used the next
structure

`code - name`

And when is used this element in the XML generation take only the first
three characters.

`company_id.partner_id.property_account_position_id[:3]`
2017-05-29 13:25:08 +02:00
qsm-odoo b21426ab9c [FIX] web_editor: properly match snippet options' DOM
Backport of 10.0 commit: 5331a87f81

The snippet options are attached to `closest`, `all` and `is` functions
to be able to find/check DOM they are associated to. Their behavior
depend on the snippet option type: the search in the DOM is either done
in the body, the editable parts, the editable children only, ....

The problem is that when searching from a given DOM element, jQuery
won't match the elements whose selector contains this given DOM element.
Or in code terms, jQuery find function behavior is:
`$('A').find('A B')` <=> `$('A A B')` (not `$('A B')`)

This was indeed a problem on the job position apply form pages where the
main editable element is the <form/> element itself. Indeed, the snippet
options' selectors which began by 'form' were not able to match. Worse,
the selector is used for a jQuery search for drag & drop and saving but
not for initialization (where it is used as a `is` check on clicked
elements). So, some DOM were able to be modified by options but not
properly (re)configured before saving.

opw-705902
opw-741305
2017-05-29 13:14:22 +02:00
Uku Lagle 97790089c4 [FIX] website_sale: do not display unavailable pricelists
It should not be possible via /shop/change_pricelist/<pl_id>
to change to a pricelist that is not marked as selectable.

is_pricelist_available method should do that, but is not,
because it calls get_pricelist_available with show_visible=True,
instead of show_visible=False

:param bool show_visible: if True, we don't display pricelist where
selectable is False (Eg: Code promo)

Closes #17220
2017-05-29 12:25:54 +02:00
Germana Oliveira 8ee9cec4d5 [CLA] add goliveirab to Vauxoo's CLA
Done at #17200
2017-05-29 12:23:21 +02:00
Yenthe V.G f08c70b357 [FIX] pos_mercury: Display warning in user's language
Closes #17261
2017-05-29 12:15:27 +02:00
Géry Debongnie bbf724e401 [FIX] web: properly support password attribute for fields
With the new views, the special attribute password was no longer
supported.  We simply reintroduce in this commit proper support to
display password fields with *.

Note: we may want to display passwords with a static number of *, but
this requires some thoughts on the usability of the change. We simply
reintroduce the previous behaviour here.
2017-05-29 12:12:45 +02:00
Géry Debongnie cad943d035 [FIX] web_editor: prevent crash with FieldTextHtmlSimple
If the method commitChange from the widget FieldTextHtmlSimple was
called in mode=readonly, a traceback was displayed.  This is not very
common, because most save operations are done in mode=edit, but it can
happen in readonly mode: when the user clicks on an action button, then
the form view is saved, if necessary.

To reproduce this bug, just open a form view for res.users, and click on
the Change Password button.
2017-05-29 12:12:44 +02:00
Yannick Tivisse fa1a09f6e8 [FIX] l10n_do: Remove useless and unknown field spoken_langages
This field is used with the multilang module. As only one language is spoken in Dominican Republic, this definition is useless and furthermore it raises a warning in the logs.
2017-05-29 12:10:36 +02:00
gustavovalverde 74c8053449 [FIX] l10n_do: Add 18% tax to Communication tax group
When changing the 18 tax by the communication group, the 18 tax has
to remain
2017-05-29 11:58:57 +02:00
gustavovalverde 7bda65e90e [IMP] l10n_do: Add CoA missing accounts, add tags
Description of the issue/feature this PR addresses:

The Chart of Accounts was missing accounts needed for correct
inventory valuation using perpertual method, and also a seggregation
for payroll accounts, to differ employee retentions from company
contributions.

Current behavior before PR:

Wrong accounts used for perpetual inventory valuation
Payroll accounts not showing difference between employee retentions and company contributions
Regulatory reports are hard to make without the right accounts tag
Desired behavior after PR is merged:
The correct accounts are now created and assigned for inventory valuation. And payroll accounts are correctly segregated for the payroll rules coming in the next PR.

The accounts will also have their corresponding tags for having regulatory reports based on the "control account" for hierarchy, which was removed in v8.

This changes are also needed for a WIP of a PR coming to the
Enterprise repository, for building legal reports based on account
and tax tags.
2017-05-29 11:57:13 +02:00
Jesus Zapata e4e320feb7 [CLA] add JesusZapata to Vauxoo's CLA (#17237)
Closes #17237
2017-05-29 11:43:35 +02:00
Yenthe V.G 5e652c856d [FIX] hr_timesheet_sheet: Display warning in user's language
Closes https://github.com/odoo/odoo/pull/17254/files
2017-05-29 11:28:42 +02:00
Richard Mathot 5c0355c033 [FIX] stock: missing grand total for inventory valuation
(was working in Odoo 9.0)
2017-05-29 11:26:16 +02:00
Martin Trigaux 731b23cf4f [FIX] hr_expense: remove duplicated field
Courtesy of Yenthe
2017-05-29 11:20:42 +02:00
Yenthe V.G 61f6756a7c [FIX] payment_authorize: add missing translation ability
Closes #17257
2017-05-29 11:17:15 +02:00
Josean 62cf9dd0fd [CLA] corporate signature for landoo
https://github.com/odoo/odoo/pull/17251
2017-05-29 11:13:46 +02:00
Josean 366c1e307f [FIX] base: Correct typos for 2 spanish states
Closes https://github.com/odoo/odoo/pull/17251
2017-05-29 11:13:46 +02:00
Yenthe V.G c36c5454ae [FIX] hr_expense: untranslated string
Closes #17255
2017-05-29 11:01:59 +02:00
Yenthe V.G 054e06e223 [FIX] l10n_be_invoice_bba: Display warning in user's language 2017-05-29 11:00:00 +02:00
Yenthe V.G 717002c2da [FIX] payment: untranslated string
Closes #17256
2017-05-29 10:57:14 +02:00
oco-odoo 308e58857a [FIX] stock_account: fix comparison of apples and oranges
In anglosaxon accounting's stock valuation, the case where invoice and company currencies were different was not managed properly, because of a syntactic error in the condition checking this case.

Was PR #17259
2017-05-29 10:41:51 +02:00
cubells b1e524255a [FIX] analytic: Remove search default non existent
Courtesy of cubells (Orbetix). Was PR #17219
2017-05-29 09:42:41 +02:00
Moises Lopez - https://www.vauxoo.com/ ce44ad2440 [FIX] base_address_extended: default to Null instead of empty string
for computed street fields.

Qweb reports delete the node if the value is Null but won't if the value is an empty string. And then, l10n_mx_edi module has errors because there are nodes with empty string and the minimum value is one char.

Courtesy of Vauxoo. Was PR #17169
2017-05-29 09:31:53 +02:00
Goffin Simon 530546a3e3 [FIX] point_of_sale: _confirm_orders
To help users to know why they can't close their pos sessions when
a Sales Journal is not set in the pos.config.

opw:744758
2017-05-29 09:17:18 +02:00
Nicolas Martinelli 9d2f48dc7f [FIX] crm: expected closing
The "exp. closing" dashboard button takes into account the won
opportunities. It shouldn't.

opw-744940
2017-05-29 09:14:43 +02:00
Odoo Translation Bot 20c724479f [I18N] Update translation terms from Transifex 2017-05-28 07:06:53 +02:00
Odoo Translation Bot bcf302cf48 [I18N] Update translation terms from Transifex 2017-05-28 04:29:29 +02:00
Odoo Translation Bot 14b30c4000 [I18N] Update translation terms from Transifex 2017-05-28 00:28:16 +02:00