- Nov 19, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
This rev. 73072272 ensured to not (re-)set the state 'confirmed' to exploded moves with a more advanced state (for instance, 'assigned') Nevertheless, the location chaining is performed on the move confirmation, through the action_confirm method of the stock.move model. Besides, the resulting moves of the _action_explode method had the state 'confirmed' on creation, the 'confirmed' state wasn't set by the method 'action_confirm', meaning that the moves were confirmed without having the location chaining done. Allowing moves to go through the action_confirm method even if the state was 'confirmed' or further triggered the location chaining. Preventing already confirmed moves to go through the action_confirm method prevented the location chaining, thus. We now create the resulting moves with the 'draft' state, and then confirm them through the procurement workflow signal 'button_confirm'. Thus, the resulting moves are confirmed by going through the action_confirm method, writing the confirmed state and triggering the location chaining at the same time. We then write the 'assigned' state if necessary. opw-617235
-
- Nov 18, 2014
-
-
Frédéric van der Essen authored
-
Denis Ledoux authored
-
- Nov 14, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
But should use date or datetime according to the widget type This fix is related to 69d60465
-
Martin Trigaux authored
The delivery of a purchase order was not keeping the currency and cost price from the purchase order for the reception. This was problematic for orders where the invoice was generated from the picking (Invoicing Control: Based on incoming shipments). The currency of the purchase order was kept while the cost was the one in the company's currency. It's better to keep the currency of the purchase order to make the invoice as it's usually the one expected (and not convert everything to the currency of the company). opw 615555
-
Denis Ledoux authored
-
Denis Ledoux authored
This rev. 06104ba5 Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time. It looks like this is now the case Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
-
Denis Ledoux authored
-
Denis Ledoux authored
First, name_search searches on default_code, then, if the limit is not reached, it searches on the product name The results found from the default code search must be removed from the search domain when doing the search on the product name, to avoid having results already found by the search on the default_code opw-618015
-
Martin Trigaux authored
When a picking is confirmed, the generated account.move(.line) should take the company, accounts, journals and period with the same company as the picking, not the one of the current user. This was problematic if a user in a company confirm a picking linked to a purchase order done in another company. For real time valuations, the generated accounting entries were mixing both companies. Fixes #3466
-
Martin Trigaux authored
-
- Nov 13, 2014
-
-
Cecile Tonglet authored
-
Rifakat Haradwala authored
search bar does not suggest date field format based on user's locale and always shows based on mmddyy using Date.parse, opw:615276 Note: starting in 9.0, datejs has been replaced by momentjs, so this problem should be solved in a better way.
-
- Nov 12, 2014
-
-
Frédéric van der Essen authored
[FIX] point_of_sale: fixed rounding issue for pos order when discount ad...
-
Christophe Simonis authored
-
- Nov 10, 2014
-
-
Martin Trigaux authored
date field on a project.task.work is not required while it is on the hr.analytic.timesheet (with default value). Avoid error if fill a task work without date, fallback on context_today.
-
Martin Trigaux authored
The field bom_id is required on a manufacturing order and deleting a mrp.bom would block the current mo. Restrict the suppression for manufacturing order in progress. Fixes #3417
-
Dhruti Shastri authored
Timesheet activities (hr.analytic.timesheet) are generated when a work activity (project.task.work) is logged on a task. These are updated if the project of the task is modified. This patch applies the same behaviour for tasks without project, the timesheet activities are generated once a project is set on the task. To avoid redundency in the code, extract the computation in a distinct method. Fixes #701, opw 609481
-
- Nov 06, 2014
-
-
Ravi Gohil authored
-
Christophe Simonis authored
-
Denis Ledoux authored
-
Denis Ledoux authored
once widget extended with ReinitializeFieldMixin, the event binding with the binary file input and the on_file_change method can be done in initialize_content instead of start This fix is related to d36c8b5c
-
Denis Ledoux authored
-
Denis Ledoux authored
The add attachment button should be displayed while being in edit mode, but not in view mode As the widget depends on the form actual mode, the widget should be re-rendered each time the actual mode changes This is the point of the ReinitializeFieldMixin class
-
Julien Legros authored
-
- Nov 05, 2014
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
Create one unique generic Makefile to compile sass files.
-
Olivier Dony authored
Stems from prebiblical commit f083aa2b. Fixes #3480
-
Christophe Simonis authored
-
Julien Legros authored
-
Julien Legros authored
fix a5cf7197
-
Julien Legros authored
opw-616843
-
Martin Trigaux authored
The report includes all due payments, not only the one after the maturity date. The maturity date is displayed in the report so no confusion is possible for payments below the maturity date. Fixes #3064
-
Denis Ledoux authored
-
Denis Ledoux authored
To valid all editable list line, we iterate on the lines and set the editor form with the line value, using set_value. The _inhibit_on_change_flag should be set to True to avoid triggering on changes events opw-617395
-
Julien Legros authored
When validating a SO containing a `make to stock` + `manufacture` product (with bom + orderpoint), we have the following stock moves: * Product move * Manufacturing order Selling 1 such product would yield 2 as incoming quantity, an inconsistency that this commit solves by setting the location_id of the product move to the MO's location_dest_id (in the same fashion that the create_pickings method does in an mts/buy case) opw-616229
-