- Nov 27, 2022
-
-
Odoo Translation Bot authored
-
- Nov 24, 2022
-
-
Odoo Translation Bot authored
-
- Nov 22, 2022
-
-
MerlinGuillaume authored
It is not possible to post the journal entries related to an expense paid by the company Steps to reproduce: 1. Install Expense 2. Create an expense payable to company 3. Set an amount 4. Create report 5. Submit report 6. Approve report 7. Attempt to post 8. An error is thrown Solution: Relax the constraint on account.move.line linked to an expense paid by the company Problem: The constraint `_check_payable_receivable` in the account module forbids to post the journal entries even though they are correct opw-3038648 closes odoo/odoo#105850 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Nov 20, 2022
-
-
Odoo Translation Bot authored
-
- Nov 18, 2022
-
-
Nasreddin Boulif (bon) authored
Steps to reproduce: - Install `Expenses` module - Go to Settings > Technical > Email > Aliases - Edit the `expense` alias - Ensure the model is `Expense` - Set `Alias Contact Security` to `Everyone`, then save - Send an e-mail to the expense alias, using an e-mail address not referenced on one of the employees. Issue: Error in logs related to `currency` variable. Cause: Trying to create an expense for a non-existing user, therefore, no currency is set. Solution: If no user is found, no need to create the expense and let the orm raise the error that a required field is not set (field employee on expense). opw-3027350 closes odoo/odoo#106048 X-original-commit: a339caa2 Signed-off-by:
Kevin Baptiste <kba@odoo.com> Signed-off-by:
Nasreddin Boulif (bon) <bon@odoo.com>
-
- Nov 13, 2022
-
-
Odoo Translation Bot authored
-
- Nov 07, 2022
-
-
Guillaume (guva) authored
When printing a check that comes from an expense, the check has no reference to the move from which the payment has been created. The reason is that we filter the move by taking only outbounds to complete the check informations, but moves from an expense are of type entry. With this commit, we allow moves coming from expense to be taken into account by adding a check on move.move_type. opw-3044141 closes odoo/odoo#105023 X-original-commit: 70729dd41cc0050d55758e0fb9ccbed6b06537ea Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
- Nov 06, 2022
-
-
Odoo Translation Bot authored
-
- Nov 02, 2022
-
-
william authored
During a refactoring [1], the behavior of having the taxes included in the price for all expenses was broken/removed. All the fields related to taxes are computed should be computed with the correct context key when computing entries related to expenses. This is preferred to adding the context key only when creating because it will then keep the behavior even when editing the document. task-3043252 [1]: https://github.com/odoo/odoo/commit/d8d47f9ff8554f4b39487fd2f13c153c7d6f958d closes odoo/odoo#104319 Signed-off-by:
Laurent Smet <las@odoo.com>
-
- Oct 30, 2022
-
-
Odoo Translation Bot authored
-
- Oct 26, 2022
-
-
Kevin Baptiste authored
The fields were not correctly aligned. task-3040395 closes odoo/odoo#104050 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 23, 2022
-
-
Odoo Translation Bot authored
-
- Oct 21, 2022
-
-
FrancoisGe authored
Since odoo/odoo#95729 nodes with a `groups=` are completely removed from the views when the user is not part of the group, instead of being made invisible. In that PR, views have been adapted to add back fields, with invisible="1", when they were required, for instance when they were used in a domain of another field which was still there despite the user is not part of the given group. As `tree` views having `multi_edit="1"` where not considered as editable views, the domain of fields in these views were not validated: - https://github.com/odoo/odoo/blob/1fb8fa16ab7dc298d54f089d7163fb556dbc5fcc/odoo/addons/base/models/ir_ui_view.py#L1460 - https://github.com/odoo/odoo/blob/1fb8fa16ab7dc298d54f089d7163fb556dbc5fcc/odoo/addons/base/models/ir_ui_view.py#L1321-L1322 while they are well required for the web client, in `multi_edit="1"` this is possible to edit relational/many2one field, and therefore it will do `name_search` calls using the domain of the field, and therefore the fields used in these domains must always be present in the views. Without it, a crash in the web client occurs when attempting to edit the relational/many2one field. This revision targets to consider the `multi_edit="1"` tree views as editable, to make the field domains validated as they should be. Hence, views are adapted to add back fields with `invisible="1"` when they are required in domains of other fields. Part-of: odoo/odoo#103743
-
- Oct 16, 2022
-
-
Odoo Translation Bot authored
-
- Oct 11, 2022
-
-
gawa-odoo authored
The `analytic_distribution` field is a Json. It was stored temporarily as a char. Search is not available yet, so we do queries by hand when we need to search on keys. Also added a constraint on account_analytic_distribution_model, so we don't have models with accounts specific to a company when the model has no company or another company. It would cause an issue when looking at the models from another company. Part-of: odoo/odoo#101701
-
Dylan Kiss (dyki) authored
Currently, when posting accounting entries from an expense report, the accounts set on the expense entries were not taken over in the account move lines. Also, the employee was not set as the vendor of the purchase receipt (account move). This PR makes sure that both the accounts on the expenses, as well as the vendor (employee) is set on the account move created from an expense report. Tests added as well. closes odoo/odoo#102570 Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
-
- Oct 10, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#102902 Related: odoo/enterprise#32633 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Oct 09, 2022
-
-
Odoo Translation Bot authored
-
- Oct 08, 2022
-
-
Pratik Awasthi authored
Steps: Create a expense with product having no cost and having the total amount directly added from expense sheet. then create an innvoice. Issue: While adding journal lines in hr expense the amount per unit was calculated as the total amount of product such as quantity into the price per unit inside the invoice. Cause: expense's total_amount was passed as price_unit instead of expense's unit_amount and due to that total amount was multiply by qty so wrong value was passed. Fix: If unit_amount of product is non-zero then pass the unit amoun for invoice or pass the total_amount if unit_amount does not exist. task-3000758 Part-of: odoo/odoo#101849
-
Kevin Baptiste authored
This PR adapts the form views since the merge of #100570. task-3002465 closes odoo/odoo#102600 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 06, 2022
-
-
gawa-odoo authored
Add choices for the business domain on applicability rules, so rules are more precise Also put 'general' as domain from the view when it's what should have been. Make analytic field visible since owl migration (for sale and purchase) closes odoo/odoo#101234 Related: odoo/enterprise#31945 Signed-off-by:
William André (wan) <wan@odoo.com>
-
Yolann Sabaux authored
Steps to repoduce: - go to expense - select Mileage [MIL] - Save Issue: Canno save, different UOM opw-3001568 closes odoo/odoo#102260 X-original-commit: 4621d776 Signed-off-by:
Kevin Baptiste <kba@odoo.com> Signed-off-by:
Yolann Sabaux (yosa) <yosa@odoo.com>
-
- Oct 05, 2022
-
-
Damien Bouvy authored
The recent switch from tables to css grids for form views `group` nodes has introduced several inconsistencies/issues with several views accross modules - these will not be the last fixes. closes odoo/odoo#102119 Related: odoo/enterprise#32293 Signed-off-by:
Bouvy Damien (dbo) <dbo@odoo.com>
-
- Oct 04, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#102045 Related: odoo/enterprise#32243 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Oct 03, 2022
-
-
sofiagvaladze authored
The following PR - odoo/odoo#98914 introduced changes in accounting analytic. The changes were applied to 'hr.expense' but they were not applied to 'hr.expense.split'. Which lead to traceback. task - 2997510 closes odoo/odoo#101524 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 02, 2022
-
-
Odoo Translation Bot authored
-
- Sep 30, 2022
-
-
Damien Bouvy authored
Slightly modify the view as well, including now showing the 'attach receipt' button before the first save (as it will trigger a save a work properly since its migration to owl). Part-of: odoo/odoo#101328
-
- Sep 29, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#101288 Related: odoo/enterprise#31850 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 28, 2022
-
-
ntlquynh2209 authored
closes odoo/odoo#101412 X-original-commit: 03ce9f55 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 27, 2022
-
-
William Braeckman authored
Make it possible to override both before and after execute actions on all view controllers using `useViewButtons`. This avoids having to change a value in the env to override the function being called when clicking on a button. closes odoo/odoo#100981 Related: odoo/enterprise#31715 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Cédric Snauwaert authored
When creating an expense paid by the company, we want the expense to be on a bank journal. This is currently incompatible with the current constraint we have that force expense of type 'in_receip' to be on a purchase journal. Since expense only behave like type 'in_receipt' we can ignore that constraint. closes odoo/odoo#100957 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Sep 25, 2022
-
-
Odoo Translation Bot authored
-
- Sep 24, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#100958 Related: odoo/enterprise#31696 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 20, 2022
-
-
PoMa authored
Bank statements are now optional in accounting. The users add statements directly and can assign statements for control reasons. The users can enter end date and end balance real for the statements and attach the bank statement scan. The system checks if there is a gap (lines without statement) before current statement and warns the user with decoration, also we check if the ending balance match the accumulated balance of the last line. Bank statement lines now show an accumulated balance and can be sorted by drag and drop in the same date, if the user drags a line to a position with lines of another date, it simply doesn't have any effect. Rename accumulated balance to cumulative balance, a better name closes odoo/odoo#99092 Task: 2879904 Related: odoo/upgrade#3906 Related: odoo/enterprise#30824 Signed-off-by:
Laurent Smet <las@odoo.com>
-
Martin Trigaux authored
closes odoo/odoo#100573 Related: odoo/enterprise#31507 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
gawa-odoo authored
The goal of this commit is to get rid of the analytic tags as they were confusing, serving tag purposes as well as distribution on analytic accounts. Everywhere analytic tags were used as a distribution have been replaced with a new widget that will dispatch distribution on analytic accounts. If there was an analytic account field next to the tags, it has been included in the distribution. Analytic tags that were used simply as information tags have been removed. To fill the new widget, there are now 2 kind of rules that will help fill and prefill it. The first are applicability: previous groups have been removed, and have by replaced by plans. Each account is required to have a plan. These plans define when they are available in the widget: a default applicability per plan and applicability lines that can specify rules following the context of the widget. The second one are distribution models, that will replace previous default rules but follow the same principles. The accounts (and so the plans) that will be given by the distribution model can override the applicability rules from before. closes odoo/odoo#98914 Related: odoo/upgrade#3885 Related: odoo/enterprise#30743 Signed-off-by:
William André (wan) <wan@odoo.com> Co-authored-by:
Habib (ayh) <ayh@odoo.com>
-
- Sep 16, 2022
-
-
Damien Bouvy authored
The field is related towards the 'manager' field of the expense sheet, which means that when the approver is suggested automatically based on hr data, the expense records get written a value for this field (which is not in the view) which gets logged as: - None -> Mitchell Admin (Approved By) which seems to suggest that: - the expense has been approved (it has not, a report was created) - Mitchell Admin has approved: it may not be him (as when approving, the 'manager' field does not log who did the approval but who was supposed to initially) Disabling tracking for this field (which contained no actionable information at best, and incorrect suggestions at worst) makes this problem go away. closes odoo/odoo#100241 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
tuyenphung authored
The context before click button cancel in expense sheet not cleaned yet. closes odoo/odoo#100288 X-original-commit: 6f8d3d989cc024c8e5b3e9e1a6b2f4af636721d6 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 14, 2022
-
-
Gorash authored
Adapt all manifest, split some XML file and update JavaScript files. Part-of: odoo/odoo#95500
-
- Sep 13, 2022
-
-
Damien Bouvy authored
Revision 26a5653f introduced the possibility to set up a default journal for accounting entries created by "employee-paid" expenses This commit adds the same possibility for the "company-paid" expenses (because why allow it for one and not the other?). closes odoo/odoo#99993 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-