- Aug 07, 2019
-
-
Alex Clay authored
-
Martin Trigaux authored
get_installed and _lang_get_id are both ormcached and correctly check the context Retrieving a res.lang from a code is a frequent action that can be achieved with _lang_get (cf previous commit). Using _lang_get ensure the active_test in the context is correct and is not poluted with another context propagation issue. odoo/odoo#35490 discussion is an example of bad context propagation closes odoo/odoo#35504 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Martin Trigaux authored
It was very misleading that self.env['res.lang']._lang_get('fr_FR') used to return any language if fr_FR was not active or did not exited There is a very frequent need to get a language from the code There is rarely a need to get any language
-
Lucas Lefèvre authored
Currently, a simple user no longer see fields protected by groups in his profile. When retreiving the view arch, `sudo()` is used to bypass the group protection. But since commit 1e6c3bec, `.sudo()` no longer changes the user. Hence, groups are still checked for the simple user. To fix the problem, the view arch should be retrieved with a user with all groups (SUPERUSER). This assumes that SUPERUSER has effectively all groups. closes odoo/odoo#35486 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Lucas Lefèvre authored
The `private_email`, `last_check_in` and `last_check_in` fields were added by e9d98982 to the profile view but not in `SELF_READABLE_FIELDS`. A simple user was therefore not able to read the field and access his profile. To avoid any similar oversight in the future, a test is added to ensure a simple user is able to read all fields in the profile view.
-
Simon Lejeune authored
task-59011 closes odoo/odoo#35416 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Simon Lejeune authored
When accessing the stock valuation layers of a done picking through the stat button "Valuation", do not display the inventory at date button. We guard the visibility of this button through a context key named "no_at_date". task-59011
-
Simon Lejeune authored
Add a many2one on the landed cost to the vendor bill. Allow to create a landed cost from a vendor bill if the product is a service. It will use the price_subtotal of the account move line. Add a is_landed_costs_line to separate products of landed costs on the account move line. It's a checkbox. Ticking the checkbox will change the account of the account move if the company is in anglo saxon accounting. Tweak the accounts used by the landed costs so that everything is well balanced (see the added tests). Auto reconcile AML when possible. task-59011
-
Simon Lejeune authored
We remove the special views/actions/menuitems for the "landed cost type" product. The user should now chose the split method on the landed costs directly. We still keep the landed_cost_ok field that will be used in the next commit integrating the landed costs with the vendor bill. task-59011
-
Simon Lejeune authored
Set a default journal on the company, use it on the landed costs form. I was not able to directly set the value on the filed with a post init hook because the stock journal is generated a while after the landed costs installation in the l10n_generic_coa module. task-59011
-
Simon Lejeune authored
- update label for account_journal_id - remove cost lines explanation - label of the LC name - remove former cost per unit - auto compute cost line when validating - rename former cost into original value - remove additional landed cost form the tree view - stock_landed_costs: rename cost line into additional costs - add a final value field (Lucky day: the field I had to add was already defined but not used.) - use monetary field - make weight and volume optional - journal entry visible only if posted - landed costs wording in settings - raise of no transfers are defined before validating task-59011
-
Simon Lejeune authored
We do this in a separate commit so that the diff of the next ones will still be readable. task-59011
-
David Arnold authored
While licence is technically correct, it is not used in America Change only the label as the key is used at other places (e.g. app store) closes odoo/odoo#35350 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Naglis Jonaitis authored
Remove or move significant HTML attributes on <t> tags `<t>` is not rendered, so we lose `class`, `role`, `itemprop`, `content` etc. significant HTML attributes. In other cases, the `<a>` tag can contain redundant HTML attributes, which don't make sense (e.g. `href="#"`). closes odoo/odoo#35391 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Robot Odoo authored
This feature branch adds a new way to add products to SOs/POs: the grid (or matrix) entry. When selecting a product template compatible with this mode, a dialog will open with a matrix of available variants and a number input for each of those. Once all quantities are input, closing the dialog will generate the lines for all the selected variants. When more than 2 attributes are present, the matrix is organized by using the first attribute values as X-coordinates and will then combine all other attribute combinations as Y-coordinates. This allows to have potentially huge matrices, although this could be difficult to visually parse by users. If the feature is enabled (the feature is installed independently in sale and/or purchase), this will be the default entry mode for products in purchase orders when multiple variants are available - it's an all or nothing situation. In sales orders, the product template can be configured to switch from the product configurator mode (to select a single variant when adding the product) to the grid mode (to select multiple variants at once). The grid can be re-opened from an existing line (or by creating a new line with the same product) and will repopulate with the current quantities of the order, allowing quick massive edition of the complete set of lines for that product. Task 1871560 closes odoo/odoo#34746 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Robot Odoo authored
- Integrate authorize.net with new accept.js - convert XML format requests to JSON Task 2025821 closes odoo/odoo#34733 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Victor Feyens authored
-
Victor Feyens authored
-
Victor Feyens authored
-
Victor Feyens authored
-
Victor Feyens authored
-
Victor Feyens authored
-
Victor Feyens authored
[MOV] sale -> product : product variant creation based on combination of product.template.attribute.value
-
Victor Feyens authored
part of product_configurator logic moved to product to be accessible in purchase even if p_configurator isn't installed. And adapt configurator to be extended by matrix
-
Nikunj Ladava authored
task- 2025821
-
Nikunj Ladava authored
add accept js of authorize.net to make s2s flow pci compliance after clicking on pay now button, one popup display with card inputs popup is provided by a authorize with all validation facilities After submitting details, payment flow is - get the temp token information from authorize - create a token with that temp token information in odoo - make a request to authorize for charge - after successful request, payment will be charged for that card task- 2025821
-
Nikunj Ladava authored
- convert XML format request to JSON - remove refund method from the request, as there is no use of it, we will never validate card as authorize.net validate card by itself, so there is no case for the refund - verify token while creating it - make verify validity field invisible in case of authorize task- 2025821
-
- Aug 06, 2019
-
-
shreya thakrar authored
Remove states according to new address format No need to keep states that's why they have been remove. From Module: Belgium(l10n_be) Germany(l10n_de) Poland(l10n_pl) Purpose : ======== Uniformity for define all state in base. Specification : =========== Move states from localization to base module Localization modules: China(l10n_cn) Costa Rica(l10n_cr) Dominican Republic(l10n_do) Ethiopia(l10n_et) Ireland(l10n_ie) Netherlands(l10n_nl) Turky(l10n_tr) Vietnam(l10n_vn) Romania(l10n_ro) United Kingdom(l10n_uk) that it is not a problem to put all these states in base, because the current csv only takes 0.34 s to be loaded Related to task #1967713 Closes #32767 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Aug 07, 2019
-
-
mreficent authored
closes odoo/odoo#35404 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
William Henrotin authored
Some picking where created with Chicago picking type without explicitely setting Chicaco as company. This result using the test user company which is San Francisco Task : 2039900 closes odoo/odoo#35449 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
svs-odoo authored
Removes the "Assign Owner" button from picking form view. Now, the stock move lines owner is set when the picking is validated (if the owner field is set of course). The stock move line field owner_id is also hidden for incoming pickings. Task #1860575 closes odoo/odoo#34986 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Dharmang Soni authored
The action was not used anymore after removing action menu on https://github.com/odoo/odoo/commit/ea66192276921be1bafe73255fa77c55f3e10ac7#diff-14cac61c7c687d0e5f4eeeb3edeb4b4aL896-L902 closes odoo/odoo#35315 Signed-off-by:
Martin Geubelle (mge) <mge@openerp.com>
-
Dharmang Soni authored
All activity filters are now invisible in the corresponding search views. These filters were only used by activity redirection (when clicking on the activity item in the systray) so we hide them to reduce the noise for the user. "My Activity" filter has also been removed, its corresponding domain is now directly set in the action where it was used. Task 2036392
-
Dharmang Soni authored
Before this rev. `invisible` filters in the search view were not considered at all. Now the filters are still invisible from the user POV, but they are still accesible via context and can be applied on search. Related of task 2036392
-
- Aug 06, 2019
-
-
Alexandre Kühn authored
Revision on https://github.com/odoo/odoo/commit/ff7ea6b654175e3138f5f36d2e5b4214cebef499 Due to some git conflicts, it duplicated history tests and removed the previous test 'input not cleared on unresolved message_post rpc'. closes odoo/odoo#35502 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
Martin Trigaux authored
The widget no longer exists, we can clean this closes odoo/odoo#35496 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
svs-odoo authored
Before this commit, Pickings button was always visible in manufacturing order form view. Now, it will be only visible if the MO has at least one picking. Task #2047626 closes odoo/odoo#35455 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
William Henrotin authored
On the manufacturing order form view, the 'update' button to change the production quantity doesn't give the current mo id to the wizard. That means 'active_id' is used. The issue is 'active_id' may refer to another object (a bom or a workcenter for instance). This commit fills the default_mo_id key in the context before calling the wizard to ensure the correct production order is used in the wizard default get. Task : 2043136 closes odoo/odoo#35453 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
- Aug 05, 2019
-
-
William Henrotin authored
from f5e99060, a scrap order was unlink when clicking the discard button in the insufficient quantity wizard. This lead to a access error when the wizard was closed on the scrap order form view. The form view was reloaded on a deleted record. This commit adds a context key that prevent the unlink if the scrap order was validated from the scrap form view Task : 2043136
-
- Aug 06, 2019
-
-
Sébastien Theys authored
Follow up of 344614b5 If base64_source is falsy, we don't need to check the other parameters. closes odoo/odoo#35489 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-