- Jun 06, 2018
-
-
Ivan Yelizariev authored
To describe the date format on babel website Closes #25085
-
- Jun 05, 2018
-
-
Jérome Maes authored
Since the split of stock and purchase, some field are badly displayed on PO form view. This is due to a bad xpath. This commits fixes the issue.
-
Christophe Simonis authored
Since 285ead28, `base` should be loaded as a server wide module to enable rpc routes.
-
RomainLibert authored
The new route make_event_ics_file received a list of attendee ids and was sending the emails associated with these in an ics file, this could potentially give out some information about the attendees. (see commit 7862b2b7) Also the method get_ics_file had no reason to be public and so is now private. Closes #24711
-
- Jun 04, 2018
-
-
XavierDo authored
When a line in a editable tree view has no acivable element (readonly or toggle_bollean fields only) the currentFieldIndex will be null after selecting the row, and when trying to edit a field (boolean field_toggle in this example) an error will be thrown when trying to put focus on currentWidget. We need to check that the currentWidget is not undefined.
-
Martin Geubelle authored
Feature merged in odoo/odoo@eee245c
-
- Jun 01, 2018
-
-
Raphael Collet authored
-
Jérome Maes authored
These commit allows users to create sales order, and invoice from the project overview. To do, the overview is now refreshed when naviguating throught the breadcrumb, and supports action buttons on its control panel. Also, some stat buttons are added on the overview (sales order and invoices). The process of invoice creation is the same wizard than the one from the sale order. Thoses actions are only available when there is no ambiguity to determine the SO from the project, or for non billable project (to create the SO). Task #49213 Closes #24280
-
Jérome Maes authored
On sales order form view, we display a "project overview" stat button. It redirects to the overview of the only billable project of the SO. To avoid access error, and because this dahsboard is usefull only for project manager, only those ones will have access to this overview. So, stat button (Sales order) and label on project kanban are aonly visible for manager.
-
Jérome Maes authored
Now that the overview is refreshed when it is displayed and that we can create SO/INV from it, it is usefull for the users to have a stat button displaying those new documents directly from the overview. This commit use the already existing mecanism to display Sales Order and Invoices stata buttons. Thoses 2 stat buttons are only visible for salesperson seeing all document, to avoid access errors. Task #49213
-
Jérome Maes authored
We want to invoice from the project overview. To do so, a button can help people: it is only visible when an order linked to task in that project has something to invoice Any sale order line, even the ones with no service product will be invoiced. However, the user will have to choose which SO (involved in the project) to invoice. Then the "invoice order" wizard takes over.
-
Jérome Maes authored
This commit makes the project overview handle action button in its control panel. When calling server to get overview HTML code, we also get a list of actions to display in the control panel. Those are rendered client side. Since when an action is done, we usually don't want the button to be display anymore, reloading the overview is required. The overview is now refreshed when navigating with the breadcrumb, so each time the overview is displayed, an RPC call to the server is done (`do_show` method override). Task #49213
-
Jérome Maes authored
This commit provides a wizard to create a SO from a non billable project. It sets sale_line_id on the project, and the project on the SO line to simulate the project was created by the SOL. The created SO contains one line with a selected service product, with ordered qty set as the total of planned hours of all task in projects. The wizard also links all non billable active tasks of the project to the SO line (and its timesheet entries).
-
Raphael Collet authored
The context was containing a dictionary under the key `install_mode_data`, which was informing about the model, xml_id, module, filename. Actually only the module and filename were necessary, and the others were slowing down the import because of generating artificially different environments. The context now has two entries `install_module` and `install_filename`.
-
Raphael Collet authored
The parameter `vals` is no longer given, and the first method has been adapted to work on several records.
-
Raphael Collet authored
Those will be handled by the transitive closure made over non-stored dependencies.
-
Martin Geubelle authored
The `position='move'` has been introduced to move an element in an inherited view. It's used as <xpath expr="//@target" position="after"> <xpath expr="//@node" position="move"/> </xpath> or also <field name="target_field" position="after"> <field name="my_field" position="move"/> </field> The xpath with a position `after`, `before`, `inside` or `replace` can thus now have another xpath as *direct* child with position `move`.
-
- May 31, 2018
-
-
Raphael Collet authored
Refactor resource calendar and resource mixin: - add a required timezone field on models 'resource.calendar' and 'resource.resource'; - resource calendar attendances are now computed in the timezone of the resource or the calendar; - improve API of 'resource.calendar' and 'resource.mixin'; - avoid other modules from using the implementation methods of 'resource.calendar'; - refactor implementation of 'resource.calendar' to make it more efficient.
-
Thibault Delavallée authored
It way to hot here. Forgot to remove commented views.
-
Mahendra Barad authored
Purpose of this commit is to display today meetings in the systray. This will help people in their daily job to have quickly access to their meetings. It is displayed along with activities and reminders to have all current work to do in the same place. Displayed meetings are ongoing or not yet started ones of the current day. All-day meetings of the current day are also shown. Done meetings are not displayed to lessen noise. Clicking on the systray will open the calendar view of meetings in a day mode. This is done by a small modification in the calendar view allowing to choose the display mode from context in addition to the mode attribute of the action definition. This commit is linked to task ID 60593. Closes #24438. Thanks to @ged-odoo for quick reviewing.
-
Mahendra Barad authored
As it becomes used to display more things than just counting activities let us rename the method. Future commits will add new features in the systray like meetings. This commit is linked to task ID 60593.
-
Thibault Delavallée authored
Unticking options linked to modules lead to applications being removed without clear notification for the user doing it. Impact of installing and uninstalling modules is too heavy to be hidden in simple checkboxes in some settings. This merge therefore removes some of options linked to modules installation. This merge is linked to task ID 1841221. Closes #24649.
-
Hiral Bhavsar authored
Purpose is to limit the uninstallation of modules without being clearly notified of it. We therefore decided to remove those options from settings to prevent users from uninstalling it. Description of sale_timesheet features and options are now all moved to sale_timesheet. A Billing section should only be visible if sales installed. We therefore move Billing section from hr_timesheet to sale_timesheet. A priority is used to ensure sequence of various settings related to billing and timesheet. This commit is related to task ID 1841221.
-
Hiral Bhavsar authored
Purpose is to limit the uninstallation of modules without being clearly notified of it. In website_sale we choose to hide the field allowing to (un)install invoicing. Options linked to invoicing are now hidden if the module is not installed. This commit is related to task ID 1841221.
-
Hiral Bhavsar authored
Purpose is to limit the uninstallation of modules without being clearly notified of it. In expense ticking sale_expense repair / maintenance install and uninstall sale modules and its dependencies. We therefore decided to remove those options from settings to prevent users from uninstalling it. This commit is related to task ID 1841221.
-
Hiral Bhavsar authored
Purpose is to limit the uninstallation of modules without being clearly notified of it. In project ticking timesheet may have a great impact depending on modules already installed: sale_timesheet, timesheet_grid, ... We therefore decided to remove those options from settings to prevent users from uninstalling it. This commit is related to task ID 1841221.
-
Hiral Bhavsar authored
Purpose is to limit the uninstallation of modules without being clearly notified of it. In MRP ticking repair / maintenance install and uninstall modules like stock, sale_management, mrp_workorder, ... We therefore decided to remove those options from settings to prevent users from uninstalling it. This commit is related to task ID 1841221.
-
Géry Debongnie authored
-
Christophe Matthieu authored
Before this fix, the _convert method use the context of the qweb rendering instead of use the record context. 'date' and 'company' are automatically set as option for the field. The template who use t-esc with the widget monetary must define the options. The bug is introduce by https://github.com/odoo/odoo/commit/7a282c99655d4f154ac1808fcb8a70339dc70930
-
- May 30, 2018
-
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Laurent Smet authored
In order to improve the fiscal year management, we allow the user to define custom fiscal years using the account.fiscalyear model. Was task: https://www.odoo.com/web#id=39878&view_type=form&model=project.task&menu_id= Was PR #20936
-
Jérome Maes authored
purchase_requisition install stock, but when doing services you might still want the option. This option was only display when stock is installed. This commit changes this to make it visible when purchase is installed. The option is better visible and installing a new apps, then hidden (or difficult to find).
-
Thibault Delavallée authored
Purpose of this merge is to improve usability of activities by using a new widget for selection field used to propose next activities. It displays valid choices using badges instead of radio buttons (radio) or a classic list (selection). This merge is linked to task ID 1844575. Closes #24791.
-
Siddarth Gajjar authored
When scheduling an activity after closing one, do not force a default activity. Having the proposed activities is sufficient. This commit also uses the newly-introduced selection badge widget to display proposed activities as badges. Co-authored-by:
Siddarth Gajjar <sga@odoo.com> Co-authored-by:
Mohammed Shekha <msh@openerp.com>
-
Siddarth Gajjar authored
This commit introduces a new widget to be used for selection-based fields. Valid choices are displayed using rectangular badges and not like the standard list. This widget is valid for selection and many2one fields like selection or radio widgets. Co-authored-by:
Siddarth Gajjar <sga@odoo.com> Co-authored-by:
Mohammed Shekha <msh@openerp.com>
-
Olivier Colson authored
[FIX] base: res.currency: use company_id context value as an integer id (not as a model reference) as it used to be before refactoring. The use of id and model reference was inconsistent for this variable, depending on the content of the context. Doing this caused a failure when trying to load some financial reports (> Balance Sheet, Spanish reports, ...) of accounting in multi company, if both companies had not the same currency.
-
Thibault Delavallée authored
Purpose is to avoid having void image in systray when there are notifications linked to channels that have no picture. Two small improvements are done on channel model * change default picture for channel to be more inline with Odoo design guidelines; * override create to ensure there is a default image when creating the channel through the discuss interface; This commit is linked to task ID 48228.
-
Thibault Delavallée authored
Purpose is to avoid having void images in the systray when there are notifications linked to products. Solving that issue require to put an icon on the product module. The old one that was badly named is replaced by a new one more in line with Odoo guidelines. This commit is linked to task ID 48228.
-