- Sep 27, 2019
-
-
Cocographique authored
* event, website_event_questions, website_event_sale, website_event_track, base Part of https://github.com/odoo/odoo/pull/37009 task-2043872 Co-authored-by:
qsm-odoo <qsm@odoo.com> Co-authored-by:
Jérémy Kersten <jke@odoo.com>
-
qsm-odoo authored
This commit is just about moving views and factorizing views content. Part of https://github.com/odoo/odoo/pull/37009 task-2043872 Co-authored-by:
Cocographique <nmi@odoo.com>
-
qsm-odoo authored
* website Part of https://github.com/odoo/odoo/pull/37009 task-2043872
-
qsm-odoo authored
This commit moves most of the logic of cover edition to website. This will allow to define cover on other non-blog models, like events. Note: this also "accidentally" fixes a crash during rendering of the blog page when there is no blog or post. Part of https://github.com/odoo/odoo/pull/37009 task-2043872
-
William Henrotin authored
Any new line (components or by products) in the produce wizard will be now added from the bottom of the One2many widget. closes odoo/odoo#37514 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Martin Trigaux authored
Still without demo data closes odoo/odoo#37502 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Laurent Smet authored
Suppose a tax cash basis without account_id set on any repartition lines. Before this commit, the generation of the cash basis entry failed because odoo tried to create an account.move.line without account_id. With this commit, a fallback is made on the base line account_id in case of missing account_id on the tax repartition line. closes odoo/odoo#37499 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Jérome Maes authored
When copying a task, we need its company to be the one in its new project. Task-1999686 closes odoo/odoo#37108 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
Jérome Maes authored
When encoding a timesheet, we want it to be linked to an employee of the same company. Purpose is for the current user to find its correct employee directly, and so its timesheet cost. Task-1999686
-
Jérome Maes authored
As the ORM now supports some helpers to handle multi company environment, it is recommended to use them. So, this commit changes technically some aspect of the multi company consistency implemented a few commit ago. Task-1999686
-
Jérome Maes authored
This commit makes possible the task delegation in a multi company environement. A subtask is a normal task with a parent, but can now be in a different company, to be use as subcontracting task in another company. Tests are added to check multi company consistency for the project app in general and for the subtask cases. Task-1999686
-
Jérome Maes authored
This commit completes what was initiated a few time ago : a substask is like a normal task and can now live its own life, being in another project, attached to another customer, billed on another sale line, ... than its mother. The informations coming from the parent are only use as default values to prefill the form view (with default options on creation, or though `onchange` when setting the parent on existing task). No values are forced now. Form, default context, and others views has been adapted to make this feature works. Task-1982072
-
William Henrotin authored
On the product form view, the forcast stat button should open the Graph view by default and not the grid one closes odoo/odoo#37501 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
- Sep 24, 2019
-
-
Nikunj Ladava authored
before this commit: the icon was not there in proper position after this commit: the icon is at proper position task- 2074108 closes odoo/odoo#37352 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
- Sep 09, 2019
-
-
Geoffroy Larue authored
Before this commit, when user has no extra access rights, clicking on create in Expense raises an Access Right Error. This fix solves the issue by sudoing the access on account.analytic.default in the onchange method causing the error. Task-2069060 closes odoo/odoo#36572 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
- Sep 27, 2019
-
-
svs-odoo authored
Adds a test to be sure `product.template` can be create with a responsible when: - The product has no `company_id` (the responsible must belong to the user's company in this case). - The product `company_id` is one of the companies of its responsible. And to be sure that we can't create a `product.template` if its responsible doesn't belong the product's company. closes odoo/odoo#37362 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
svs-odoo authored
Before this commit, when a record of a model who has a `res.users` field it could fail the `check_company` because the check looks for `company_id` who is the default company of the user. In the case of `res.users`, `check_company` must look after the `company_ids` of the user.
-
- Sep 26, 2019
-
-
Luis Torres authored
The domain for the tags in the taxes indicates that the country must be the same that the tax country: domain="[('applicability', '=', 'taxes'), ('country_id', '=', country_id)]" For this reason is necessary assign the country in the tags, to allow register new taxes or change the tag in the records created. closes odoo/odoo#37482 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Sep 27, 2019
-
-
David Beguin authored
When a lead entered a wrong email address in the contact form, this crashes when loading visitor view. We were doing a email concatenation to have all the email address of the leads linked to the visitor. But as it is a cornet case that shouls not happens often (to have multiplus email address linked to the visitor) we will only keep the last email addresse entered by the visitor. Task ID: 2077182 PR #37472 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 25, 2019
-
-
Luis Torres authored
In https://github.com/odoo/odoo/pull/36304 was removed the module account_cancel, but missing remove the dependence. Now is removed closes odoo/odoo#37455 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Arnold Moyaux authored
When the user do not set a company on a route and check warehouse selectable then it's impossible to select a warehouse. It happens due to the check_company domain ['|', ('company_id', '=', company_id)('company_id','=',False)] closes odoo/odoo#37404 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
- Sep 27, 2019
-
-
Cédric Snauwaert authored
Initial spec was to add month after activity name in the kanban journal view. However this does not work when tax period is quarter and also the month is always displayed even on other activities which we don't want. Reverting this commit and another task will come later to improve the display on the journal kanban activities. closes odoo/odoo#37277 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-
Laurent Smet authored
- Multi-company: Fix domains on wizard / company. - Multi-currency: Manage multi-currency when generating accrual lines. - Moves creation: Avoid creating too much moves: [1-2] moves was created per line before this commit. [1-2] moves are created per invoice with this commit. - Invoice type: Allow accrual only one posted journal entries. closes odoo/odoo#37487 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
Laurent Smet authored
Add a hook inside mail_thread to be able to get a custom message at the record creation. Override this hook in account.move to get a custom creation message dependent of the move's type. closes odoo/odoo#37474 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Sep 25, 2019
-
-
William Henrotin authored
Planning workorder will generate workorder lines according to reservation If some lines are already created into the workorder for the current product, The line generation will increase the quantity of the existing one instead of creating a new one. The issue occurs when the production have some stock move with the same product. This commit change the condition to find workorder line candidate. Instead of searching line with same product, we now search line with same stock move. closes odoo/odoo#37419 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Antoine Vandevenne (anv) authored
This commit changes the behavior of the 'Back to edit mode' button in the customer portal preview of sales order. If the sales order is a rental order, the user is sent back to the Rental app. If not, the button makes him return to the Sale app. This doesn't take into account the app in which the order was opened: if a rental order was opened in the Sale app, the portal will send the user back to the Rental app. task-2071281 closes odoo/odoo#37423 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Aaron Bohy authored
Create a simple subclass of AbstractAction (a client action), with property hasControlPanel set to true. By default, the name of the action should be displayed in the breadcrumb. Before this rev., it wasn't the case, as it displayed 'Unnamed' instead. Bug spotted when doing an exercice for the JS smartclass. closes odoo/odoo#37465 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
- Sep 26, 2019
-
-
Laurent Smet authored
Revert the new behavior introduced by https://github.com/odoo/odoo/commit/9bc4a19d74185a066b7ac870b02fd1836c4392b6 We finally decide to restore the previous behavior allowing to fallback on the company default taxes. In addition, the taxes will be overrided only if specific taxes are set on the account. closes odoo/odoo#37406 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Sep 24, 2019
-
-
Pierre Paridans authored
When having a long systray (icons from different apps, mode debug, multi-company...) the resize of the window can trigger a crash for apps that have not too much top-level menus (e.g. Contacts). This also happens when loading those apps. Steps to reproduce (on an iPad, portrait): * use a Runbot with all modules installed (12.0+) * activate "debug mode" * ensure that the menu/systray bar is quite full * open the "Contacts" app => traceback with a "cannot call getBoundingClientRect of undefined" error The reason is that the resize's callback iterate over the systray/menu items to find which one should be folded behind a "more" ("+") menu item. Sadly in some cases (combination of screen width, systray size, app's number of menus) it can lead to a traceback. This commit ensures that when looping for menu items, we don't try to reach an non-existing item. closes odoo/odoo#37327 X-original-commit: odoo/odoo@d7bae0329990171710acf2d9c0d4d9579cba2c0e Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com> Co-authored-by:
Romeo Fragomeli <rfr@odoo.com>
-
- Sep 25, 2019
-
-
Xavier Morel authored
Because the sub-record values would not necessarily get fetched ever (whether default or stored), the computation of modifiers might blow up if it relied on one of the un-fetched un-specified fields. One such situation is trying to create a partner with child partners if base_address_city is installed: the module adds a readonly attr predicated upon the parent_id, without explicitly providing such the field would be missing from the O2M record's values. Closes #37176 closes odoo/odoo#37452 X-original-commit: 184d1b69 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Rémy Voet authored
SPECIFICATIONS In the mail template views, remove the contextual action "Template preview" from action dropdown. It was a duplicate of smart button in the template form view and makes no sense in the tree view. Task ID 2075733 closes odoo/odoo#37425 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Rémy Voet authored
- In the portal chatter, when a message was send by sms and failed the icon was grey. Change it to make it red when there is a failure (revert by another task). - In the sms composer wizard, if the sanitized number is wrong, show 'Raoul Grosbedon (Invalid number)' instead of 'Raoul Grosbedon (False)'. Task 2075733
-
Rémy Voet authored
SPECIFICATIONS In the crm lead form view : missing mobile widget in the form. Add it to be able to send sms from leads. Task ID 2075733
-
Florent Lejoly authored
Before this commit it was not possible to enrich leads manually as only a cron enriches leads. It is considered as sub optimal since people would like to do it manually on some leads and not activate it only for all leads, using a cron. After this commit an option is added in CRM settings to choose the type of enrichment: either manual, either automatic. In manual mode, a button appears on the lead to enrich if certain conditions are met (email_adress present, not already enriched,...). It also deactivates the enrich cron. In automatic mode, the button on lead is not displayed and the cron is activated. A config parameter is defined in CRM as it is requested to be able to configure it directly in CRM without having to first install the app then configure it. A post install hook to synchronize cron status with config parameter is therefore required. FP/AJU request Task 2075817 closes odoo/odoo#37367 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Kaushalya Mandaliya authored
*: hr_expense, project Adding required domain which will allow to only select analytic accounts whose company is same as current one or blank. task-1966016 closes odoo/odoo#37450 Closes: #34270 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
fw-bot authored
- When trying to access an image that need to be resized and cropped, the code could crashes. This is due to the fact that PIL expect to work with integer for sizes, but in some cases we provide floats closes odoo/odoo#37442 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
-
Mathieu Duckerts-Antoine authored
Partial forward port of a7a60f7c closes odoo/odoo#37437 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
laa authored
From Website (Frontend) --> From the Courses --> From a course (with settings course : Course type = "Documentation" & Forum mentioned): The tab for the forum isn't there From Website (Frontend) --> From the Courses --> From a course (with settings course : Course type = "Documentation" & "Allow rating on Course" disabled): The tab for the review is always there From Website (Frontend) --> From the Forum --> From a course (with settings course : Course type = "Documentation" & "Allow rating on Course" activivated): Click the tab for the review, the returned view is the course tab and not the review tab From Website (Frontend) --> From the Forum --> From a course (with settings course : "Allow rating on Course" disabled): The tab for the review is always there closes odoo/odoo#37436 Task-id: 2074030 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Nicolas Lempereur authored
If we have a content such as: `aaa <B>bbb</B> ccc` and you eg. change size of `a bbb c`, the c gets bold because of an issue in the merging after style is applied. reason: we check that the style was same as previous nodes, but because walkpoints text[a]->B->text[bbb]->B->text[c] is expurged of duplicates it becomes text[a]->B->text[bbb]->text[c] so we erroneoulsy think that the node before text[c] is text[bbb] (instead of B tag) note: 12.5 forward-port (skipping [12.3,12.4]) of 11.0 #37254 (also contain #37345) opw-2071930 closes #37295 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Priyanka Kakadiya authored
Before this commit, there are no hooks when dragging a field over an editable listview. This was caused by wrong computation of column width in studio mode. This commit isolate the computation of column width, so that studio can override it and make the correct computation. Task-Id 2057829 closes odoo/odoo#36959 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by:
Mohammed Shekha <msh@odoo.com>
-