- Nov 16, 2017
-
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
NB: the account.move and the account.move.lines creation have been dropped as they were not created in yml due to the if condition.
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
Purpose ======= If a method doesn't exist when running scheduler, log an error instead of raising an AttributeError The goal of a cron method is to go ad far as possible.
-
Yannick Tivisse authored
Purpose ======= This bidouille on the ORM command seems to be from another age where the onchange on o2m list were not working well. The issue is that _convert_to_write could return commands like (6, 0, []). In that case the last tuple element is not dictionary, but a list. Specification ============= Fix that brol.
-
Pragnesh Mistry authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
Purpose ======= As there's no 'xfa_account_id' configured on the module installation, the demo data are not created. Specification ============= Remove them.
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
The test is already implemented in python in 'odoo/tests/addons/test_translation_import/tests/test_term_count.py'
-
Nicolas Martinelli authored
- Create 2 SO, one with a down payment - Validate the down payment invoice - Select both SO, and choose "Invoice Orders" - Create the invoice The down payment is not deduced from the invoice. It is more logical to take it into account at this point of the process. However, changing this in stable is a major change of behavior. opw-779954
-
- Nov 14, 2017
-
-
Cédric Snauwaert authored
-
Yenthe V.G authored
Closes #20907
-
Pierre Rousseau authored
Added options to reverse entries automatically based on a cron job. Was PR #18626. Was task 35012.
-
- Nov 10, 2017
-
-
Haresh Shyara authored
Currently composer is inherited in those four modules to add a specific behavior when sending the invoice / quotation by email. Purpose is to mark it as sent, using a magic context key. This commit keeps the feature but changes the implementation. It is now done by overriding message_post which should be the entry point for all message-related features.
-
Dipali Tank authored
According to FP: It should be possible to edit the billing address, and delivery address on the SO, even if it's confirmed. (Not if locked)
-
Christophe Simonis authored
-
Quentin De Paoli authored
(defined as the one with the lowest sequence in the chart template)
-
Géry Debongnie authored
In the view dialog test suite, a few tests created a parent widget, then created a view dialog, and destroyed the view dialog at the end, but not the parent widget. As a result, the environment was not properly restored at the end. In this case, the test 'SelectCreateDialog correctly evaluates domains' changed the session (with user_context: {uid: 2}), and this made other tests crash (web_editor test in particular)
-
Christophe Monniez authored
get_dsn_parameters may return in some edges cases (like on runbot) and empty value for the user. So it should not be used here, instead, a SQL query is able to provide the currently connected user. Also, get_dsn_parameters is new in psycopg 2.7.
-
Aaron Bohy authored
This rev. introduces a new test suite meant to test the webclient components on mobile devices. The key 'config.device.isMobile' is forced to true in this test suite, so that mobile specific JS files are properly executed, which isn't the case in the classic JS test suite (setting isMobile to true in the test definition is too late, as the JS files are already processed). For now, this new test suite contains a single test, which was skipped until this rev. as it couldn't be executed in the classical JS test suite. Both suites are executed at each build of the runbot, and they can be manually executed from the webclient as well (via the debug manager).
-
hch-odoo authored
-
Quentin De Paoli authored
* Fiscal positions: add stat button for 'Active' (instead of checkbox ) * Customer Invoice line form view no need for purchase order remove(or hide in customer invoice) and put Anallytic tag field in form view * Currencies sorted based on active field (so we can see all active currency first) * Improve graph for bank and cash journals on dashboard: based on ending balance and statement lines. Was PR #14833. Was task 29541
-
Joren Van Onder authored
list_price is the base price of a product which does not include price_extra. Note that in the backend the pricelist computation uses product.price_compute('list_price') to compute the base price on which to apply the pricelist. For product.product this seems to be equivalent to the lst_price computed field. The original list_price field is unused but has not been removed to avoid breaking any 3rd party code that is using this field. opw-781629
-
- Nov 09, 2017
-
-
Christophe Simonis authored
When `rating` is installed, a few more queries are executed...
-
Christophe Simonis authored
Recent changes in tracking fields add a new query. Adapt tests.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Yenthe V.G authored
Closes #20801
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Martin Trigaux authored
The groups were set only on the view which does not prevent abuses. The fact that users can bypass the groups on the view is not critical as the changes are logged but this should be improved nevertheless. In master, proper record rules should be set. Closes #20427
-
Christophe Simonis authored
-
Géry Debongnie authored
Here is a situation where we had a problem: - a form view with a one2many field, which has no inline views - the (non inline) list view has a field A, and is not editable - the (non inline) sub form view has fields A and B, with an onchange on B which modifies A In that case, the user could do this: - go to edit mode - click on 'add' a new one2many line - change the value of B in the form view, this changes the value of A - click on save to close the modal form view - click on the new o2m record to reopen the modal form view - rechange B => the onchange does not work The explanation is that when we reopen the modal, we update the known fields information, but we had to perform a fieldviewget to fetch the list view, so we have a full knowledge of the fields. However, the code did not update the fields info (because it uses _.default), which means that the onchange information contained in the form view is lost. Note: the test system had to be adapted to more closely simulate what actually happens. In particular, the onchange flag is no longer added by the mock server, since it should be done by the data manager, like 'real' code. This change broke the basic model tests, which had to be modified accordingly, by setting manually the onchange flag.
-