Commit Graph
154370 Commits
Author SHA1 Message Date
Victor Piryns (pivi) e6c77378ba [FIX] sale: display related SO for intermediate contacts
Current behaviour:
In the context of a multilevel contact hierarchy, if a contact is creating an SO, only that contact and it's commercial partner (usually the first company when going up in hierarchy from that contact) can see the SO.
The other contacts that are in that hierarchy could see the number of related SO on the smart button, but once clicking on it, no SO were shown.

Expected behaviour:
Every direct or indirect parent of a contact should be able to see the SO, as shown in the smart button count.

Steps to reproduce:
- Create 3 contacts with the following hierarchy: Company -> Contact 1 -> Contact 2 (Company is the root)
- Create an SO with Contact 2 as a customer
- On each of the contacts, click on the SO smart button, all of them have 1 SO shown on the button, but only Constact 1 has none shown once clicked. (Regardless if Contact 1 is an Individual or Company)

Fix:
Simplify domain search to only take into account the children's ids.
There is no need to make a distinction between a contact that is a company or not, since all commercial_partners are also partners by default.

Affected versions:
- 14.0
- 15.0
- saas-15.2
- saas-15.3
- master

opw-2961030

closes odoo/odoo#100544

X-original-commit: c34e0200b2db3ad191ee08f91f9293404a2c3340
Signed-off-by: Piryns Victor (pivi) <pivi@odoo.com>
2022-09-20 10:28:21 +02:00
Kevin Baptiste a659fca468 [IMP] hr_recruitment_skills: give read rights to interviewers
Members of the Interviewer groups couldn't access the applicant records
due to missing read rights on the hr.applicant.skill model.

task-2986177

closes odoo/odoo#100400

Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-09-20 10:28:16 +02:00
Mathias Mathy (MAMA) 599b10a7cd [IMP] mrp: Auto-Consume tracked components in Manufacturing Order
Added an option on Manufacturing Operation Type
This option allow auto-consumption up to the reserved
quantity of tracked components in manufacturing orders.
Task : 2950200
Enterprise PR : odoo/enterprise#30805

closes odoo/odoo#98461

Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2022-09-20 10:28:10 +02:00
Mahamadasif Ansari 587de7d2a1 [IMP] website_slides: allow to delete course with content
Right now, users having enough access right can not delete the courses if
content(slides) are linked with them.

This commit allows to delete the course by cascade deleting the linked
content and the questions/quiz linked with content, if any. Since the
quiz will also be deleted along with the content, this commit removes
the 'ondelete' restriction on the content as well. Note that the check
was not robust enough anyway. One could easily remove the questions from
"Reporting > Quizzes" menu and then unlink the contents, so removing this
restriction should not hurt that much.

task-2928164

closes odoo/odoo#98682

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-09-20 09:29:40 +02:00
a7661f21bc [IMP] website_sale_stock_renting: rental - search bar
This commit adds the necessary hooks to add a rental search bar snippet.

See odoo/enterprise#29909

TaskId-2833724

closes odoo/odoo#96995

Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
Co-authored-by: Alexandre De Pape <alpa@odoo.com>
Co-authored-by: William Braeckman <wbr@odoo.com>
2022-09-19 22:55:00 +02:00
Walid HANNICHE (waha) 3d16470717 [FIX] website_sale: prevent adding empty fields
Steps to reproduce:
1- install eComerce app and activate debug mode
2- go to Website > Configuration > Websites
3- on a website product page extra fields tab add an empty line and save
4- visit any product page on the website (500: internal server error)

Bug:
adding an empty field crashes the website server on the product page

Fix:
made the field required

opw-2945621

closes odoo/odoo#100541

X-original-commit: c00fd50ef59030848a7f7dbfff4c0ff90645cc26
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-19 21:58:07 +02:00
Zelong Lin 396d79aef3 [IMP] mail: autocompleteInput refactor
task-2974765

closes odoo/odoo#99839

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-19 21:58:05 +02:00
Zelong Lin c3a27689c3 [MOV] mail: autocompleteInput refactor
Task-2977761

Part-of: odoo/odoo#99839
2022-09-19 21:58:04 +02:00
Aaron Bohy fa1906223f [FIX] web: FormView: add fieldDependencies to fields
Since [1], a call to getView no longer returns the all models the
list of all their fields, because a lot of them aren't necessary.

However, it caused an issue in the following situation:
 - have a form view with an x2many displayed as a list
 - in the list, have a field or widget with fieldDependencies
   (dependency on field A)
 - in the arch, the x2many form view isn't inline
 - in readonly mode, the user clicks on a row, which will open
   the x2many form view
 - since the form view isn't inline, a call to getView is done
 - in the returned form view, field A isn't present.

Since [1], it crashed at this point because A wasn't part of the
known fields in the form view (but it was in the activeFields,
since they are shared between the x2many list and form).

This commit fixes the issue by adding fieldDependencies not only
in activeFields, but also in fields if not already there.

[1] 4636620004

closes odoo/odoo#100495

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-19 20:59:08 +02:00
Simon Genin (ges) 1df86678e2 [REF] web: profiling: revamp the "profiling on state" debug menu
The implementation was a bit wrong for a couple things client side,
this PR fixes it.

closes odoo/odoo#100267

Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
2022-09-19 20:59:05 +02:00
aliya 69ecfc3e79 [FIX] l10n_in: hide l10n_in fields for other l10ns
`l10n_in_gstin_partner_id` should be hidden on the journal form for non-Indian companies. It's probably also a good idea to hide `l10n_in_tin`in the country state form whenever the state added is not in India.
vat field on `res.company` should be renamed to GSTIN only when the company country is India.

task-2765567

closes odoo/odoo#100542

X-original-commit: 7888a3c43e01c4578b51fc200c7c1706fffbb330
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com>
2022-09-19 19:29:04 +02:00
Lucas Lefèvre b921f257cf [IMP] spreadsheet_dashboard_*: order dashboards
Now that all dashboards are done, we can order them properly

closes odoo/odoo#100526

Related: odoo/enterprise#31477
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-09-19 19:28:58 +02:00
Lucas Lefèvre 314a96bfc5 [ADD] spreadsheet_dashboard_stock: add inventory flow dashboard
Part-of: odoo/odoo#100526
2022-09-19 19:28:58 +02:00
Alexandre Kühn f48f09a1b3 [FIX] mail: emoji picker smooth scrolling position
Before this commit, scrolling in emoji picker grid had
an undesirable "snapping" behaviour, which kept the 1st
visible row in place.

This was caused by the computation of view block of virtual
scroller not taking into account small offset inside a row.

For example, in the following scenario:
```
distanceFromTop = 1000
rowHeight = 150
```
The 1st visible row was 6th one (Math.floor(1000 / 150) = 6),
which is correct.
However the row was fully visible, instead of partially cut
(1000 % 150 = 100 => 66% overflow).

This commit takes this in-row offset into account, so that
scroll position can now make a row partially visible.

Task-2985857

closes odoo/odoo#100521

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-09-19 19:28:55 +02:00
Laurent Stukkens (LTU) bfbffff4eb [FIX] project: prevent traceback when creating a task in my task
The field personal_stage_type_id is dupplicated in the form view. It is once in
the status bar, once in the `Extra info` tab which is only displayed in debug mode.
This causes a traceback as this is not supported by the actual web client code.

closes odoo/odoo#100524

Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2022-09-19 17:16:38 +02:00
Sébastien Theys c4ab3252f5 [FIX] mail: prevent crash as guest when partner email not set
closes odoo/odoo#100518

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-19 17:16:35 +02:00
Denis Ledoux df08cacb38 [FIX] base: evaluate context dependent modifiers after cache
A feature allows to set the modifiers invisible, readonly, required
according to a key in the context

e.g.
```xml
<field name="date_approve" invisible="context.get('quotation_only', False)" optional="show"/>
```

Following odoo/odoo#99417,
back-end views are now cached.

These expressions are currently evaluated server-side,
before serving the view to the web client.
Hence, the modifier becomes for instance `invisible="1"` or `invisible="0"`
according to the context passed when calling `get_view`.

The key used to cache the views doesn't take into account such context keys.
Hence, when you asked for a view using for instance
`invisible="context.get('quotation_only')"`
A first time using the context `{'quotation_only': True}`
and a second time using the context `{'quotation_only': False}`,
on the second time, you received the view from the first time you
requested the view, where the modifier is evaluated as if the the
context was `{'quotation_only': True}`.

As we do not want to store a cached version of the view for each
possible key in the context, postprocess the evaluation of the
modifiers using the context after retrieving the view from the cache.

A better alternative would be to delegate this evaluation to the
web client, because it already has the information it needs,
it has the context value.
Modifiers using domains are already evaluated client-side,
it would make sense modifiers using context would too.
Nevertheless, as this bug has been introduced by odoo/odoo#99417,
and as we are close to the release, solve this server-side,
to keep a similar behavior than before.

We might re-consider the implementation of this later on.

closes odoo/odoo#100130

Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2022-09-19 17:16:33 +02:00
Adesh Jolhe (adjo) e0c9ed18bd [IMP] rating: highlight the selected rating in submit page
This commit reinforces the highlight of the selected rating by adding
increasing its size and muting unselected ratings.

task-2918757

closes odoo/odoo#93676

Related: odoo/upgrade#3593
Related: odoo/enterprise#28419
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2022-09-19 17:16:27 +02:00
Adesh Jolhe (adjo) da868d28e2 [IMP] hr_timesheet,sale_(project): bring generic improvements for project
Purpose of this PR to improve generic usage of project app.

So, in this PR done following changes:
 - In project.project form view :
 - Divided settings into sections
 - In project.update.search.view :
   - Added author, description and status in quick search
 - Added ancestor task in group by and replaced parent task with ancestor task
   in search view
 - In project.task search View:
   - the filter for unread messages should be visible only if the current user
     managing his notifications in Odoo
   - Added  my private task filter
 - In project_task_view_graph
   - Added a default project > stages group.
 - In project.task form view:
  - If stage is_closed added decoration-muted
 - Replace/Add parent task with ancestor task' in group by and quick search
 - analytic-tags set on project should be automatically applied to it's tasks

task-2844212

Part-of: odoo/odoo#93676
2022-09-19 17:16:27 +02:00
Lucas Lefèvre 5ec97eb5a2 [FIX] spreadsheet: remove filter matching when chart is deleted
If you insert an odoo chart, match a filter with one of the
chart field, then delete the chart
=> the field matching is not removed and is still exported

The same goes for pivot and list matching when they are removed

closes odoo/odoo#100390

Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-09-19 16:10:17 +02:00
Lucas Lefèvre f4b7265466 [FIX] spreadsheet: delete odoo link when chart is deleted
Create a chart and link an odoo menu to it.
Now delete the chart.
=> the link is not properly removed and is still exported

Part-of: odoo/odoo#100390
2022-09-19 16:10:16 +02:00
luvi 09fbdc9abd [FIX] web: remove unnecessary classes from Notebook
This commit removes the 'bg-white' and 'pt-3' classes used in
the Notebook template since commit https://github.com/odoo/odoo/commit/68f1c90a031a7c2f751d9c8eca7ff525e9f7e206.
Now that the component is used by other components, such as the
media dialog from web_editor, it is not appropriate to add such
style in the core component.

Also, removing the bg-white class has no concrete effect in form
views, so it can be removed safely.

closes odoo/odoo#100253

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-19 16:10:13 +02:00
luvi 18270691d4 [FIX] web_editor: fix autosizing images from the media dialog
Before this commit, following this flow:
- Drop a text_image snippet,
- Upload images from the media dialog,
- Change the image to an icon,
- Double click on the icon to open the media dialog again,
- Click on the 'image' tab
- The previously uploaded images are not correctly sized

To fix that, the media dialog component template is changed: instead of
rendering all the tabs and hiding the inactive ones, it only renders
the active one. This way, the images are correctly sized at all time.

Since commits [1] and [2], the design used by tabs and the Notebook
component is more consistent, which allow us to replace that part of the
template by the component.

The Notebook component  receives the list of pages to render, and will
generate the right subcomponents in the content part of its template.

[1]: https://github.com/odoo/odoo/commit/68f1c90a031a7c2f751d9c8eca7ff525e9f7e206
[2]: https://github.com/odoo/odoo/commit/ff0b2d441252560a076a3609d81c369f0ce42d19

Part-of: odoo/odoo#100253
2022-09-19 16:10:13 +02:00
oco-odoo b747ead8d3 [IMP] account: move account.move's attachment_ids field from account_accountant to account
This field is needed in l10n_mx_edi, as the dependency of a computed field. However, this module only depends from account_accountant, not account. The field thus needs to be moved to a more generic place.

closes odoo/odoo#100281

Related: odoo/upgrade#3804
Related: odoo/enterprise#31375
Signed-off-by: Laurent Smet <las@odoo.com>
2022-09-19 16:10:09 +02:00
Kevin Baptiste db83ba8a5f [IMP] website_hr_recruitment: use t-field in website template
Use a `t-field` on the job apply template to make it editable through
the editor.

closes odoo/odoo#100468

Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-09-19 15:10:02 +02:00
Aaron Bohy adcde74532 [FIX] web: correctly allow to leave form view
Scenario:
Open a record that is invalid in database (a required field is
empty), and click on the pager to go to another record.

Before this commit, we prevented the user from leaving the record,
marked the field as invalid and displayed a notification. This is
a weird UX experiment, since the user changed nothing (he did not
even enter edit mode). In this situation, since the record hasn't
been modified, the user should be allowed to leave. This is how
the legacy form view behaved.

closes odoo/odoo#100442

Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-09-19 15:09:59 +02:00
Philippe Wauthy 78daac46e2 [IMP] hr_contract: add DISTINCT to hr_contract_history query
Following https://github.com/odoo/enterprise/pull/31202, it happens that the query for the contract history returns several times the same id if the employee has several contracts.

This commit fixes it by adding a DISTINCT to the SQL query so that ID returned are unique.

task-2974531

closes odoo/odoo#100027

Related: odoo/enterprise#31202
Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-09-19 15:09:52 +02:00
Xavier-Do bc1c4e8019 [FIX] test_new_api: use a proper patch
The tour test_01_admin_widget_x2many was failing because of a missing
discussion. This discussion was in fact coming from a patch
during at install tests

This wasn't detected on runbot during merge since at_install and
post_install are executed in different builds. This was detected
during the nightly "all no auto tag" build.

Simply use a proper patch to avoid keeping the default value at the
end of the test.

closes odoo/odoo#100491

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2022-09-19 14:14:58 +02:00
tsm-odoo 9be3f0f4ff [FIX] bus: make subscribe method only accept strings
Before [1], only string channels were allowed for polling. This
ensured no one could send a server-side channel from the frontend,
this PR restores this behavior.

[1]: odoo/odoo@a5623d2

closes odoo/odoo#100309

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-09-19 14:14:56 +02:00
Thomas Lefebvre (thle) 997c371a56 [FIX] sale, account: disable selection with a private address
Steps to repoduce:
	- create a customer with a private address (first select "individual" to show the selection field)
	- create a quotation (and/or invoice) and select this customer
	- this customer cannot receive an email and cannot be contacted afterwards (this behavior is intended)

Issue:
	- it's possible to choose this type of client

Cause:
	- there is no address type filter for this field

Solution:
	- add a condition in the domain of the field

opw-2909395

closes odoo/odoo#100487

X-original-commit: a24384b7ede2a132125d24681cba7056bc64ccbe
Signed-off-by: Lefebvre Thomas (thle) <thle@odoo.com>
Signed-off-by: William André (wan) <wan@odoo.com>
2022-09-19 13:20:54 +02:00
Denis Ledoux e331d96412 [FIX] web: FormView: ensure defaultFields to fields
Since [1], a call to getView no longer returns the all models the
list of all their fields, because a lot of them aren't necessary.

However, it caused an issue in the following situation:
    - have a form view with an x2many displayed as a list
    - in the list, have a field using the widget many2many_tags
      along the color_field option
    - in the arch, the x2many form view isn't inline
      list must be present, without the color_field option,
      and the color field must not be present,
    - in readonly mode, the user clicks on a row, which will open
    the x2many form view
    - since the form view isn't inline, a call to getView is done
    - in the returned form view, the color field isn't present,
      the field using many2many_tags/color_field in the
      list is present, and without the color_field option.

Since [1], it crashed at this point because A wasn't part of the
known fields in the form view (but it was in the fieldsInfo,
since they are shared between the x2many list and form).

This commit fixes the issue by adding the color field not only
in fieldsInfo, but also in fields.

[1] odoo/odoo@4636620004

closes odoo/odoo#100479

Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2022-09-19 13:20:48 +02:00
Pierre Masereel 30a700ffe7 [FIX] point_of_sale: load pricelists in pos
When we were loading pricelists for POS, we were putting the
base_pricelist of an item in it. It comes from the prveious
implementation on javascript side when it was the reference to the
object that was shared.

As we have put it in python in a dictionnary and we need to serilize the
data.

We also only take the fields we need in POS

ISSUE-2968489

closes odoo/odoo#100425

X-original-commit: f15ac2b2688f68a049cdaa0580bb54f1e7784cab
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-09-19 13:20:46 +02:00
Laurent Stukkens (LTU) 7c68d93da5 [FIX] hr_timesheet: ensures float_factor falls back on TimesheetFloatFactorField
This commit also adds the necessary tests in oder to ensure that
`timesheet_uom_factor` is taken into account/ignored in the right widgets.

task-2974145

closes odoo/odoo#100378

Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2022-09-19 13:20:43 +02:00
Prakash Prajapati 976c7c88dc [REF] web: ease FloatToggleField extension
Changes made in #98380 were missing an extension on the factor
computation although already used.

This commit introduces the needed extension.

task-2974145

Part-of: odoo/odoo#100378
2022-09-19 13:20:43 +02:00
Denis Ledoux abbf73a6e2 [FIX] models.py: tree instead of list
Oversight in odoo/odoo#100376

The web client sends `list` rather than `tree` when requesting
views.

However, once they went through `get_views`, they are converted back
to `tree`.
https://github.com/odoo/odoo/blob/master/odoo/models.py#L1653

So, here, we should check against `tree`, not `list`.

Could be seen in Lunch > Manager > Today's Order.
With the `id` field missing, an error is raised
```
Uncaught (in promise) Error: The following error occurred in onWillStart: "field is undefined"
```

closes odoo/odoo#100474

Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2022-09-19 12:23:15 +02:00
Valentin Vallaeys (vava) e6536f878e [IMP] payment: use ondelete to restrict deletion
Restrict deletion of token and express checkout inline forms when a payment provider is using it

Continuity of https://github.com/odoo/odoo/commit/efbf0c08382a9eddaa48bb386912e5c1925bbfc0

task-2883630

closes odoo/odoo#100466

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-09-19 12:23:13 +02:00
Nidhi Patel bba08f60d6 [FIX] product: label is not visible for Sales Price
Before this commit, when trying to create or edit a product from
add a line and open the 'Create Product' popup, the label 'Sales Price'
is not visible.

This issue happened due to this commit
https://github.com/odoo/odoo/commit/46526f629f7645eaac8ce86e81e806cfa392b8b8

Due to the above fix, in the product template, the label for the
list_price field becomes invisible. So here we replaced it with
a label of the lst_price field.

task-2983733

closes odoo/odoo#100197

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-09-19 12:23:08 +02:00
Alexandre de Pape (alpa) 1ec789d4df [IMP] website_sale{_wishlist,}: add tax indication option
Adds a new option to display whether VAT is included/excluded next to
the price on product pages.

TaskId-2906053

closes odoo/odoo#99628

Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-19 12:23:05 +02:00
William Braeckman f5edde3624 [FIX] website_sale: fix missing file in assets_editor
Due to the new way of handling qweb assets, one file was missing from
the editor bundle, throwing a traceback when clicking on a product in
the product grid.

closes odoo/odoo#100477

Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-19 11:29:14 +02:00
William Braeckman 24fbcf2266 [FIX] hr_org_chart: fix label in res_users form view
The colspan attribute was missing for the form view making it look like
there was a label for the org chart widget, which should not be there.

closes odoo/odoo#100469

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-09-19 11:29:11 +02:00
Lucas Lefèvre 6edfddb5b8 [ADD] spreadsheet_dashboard_stock_account: add stock dashboard
closes odoo/odoo#100467

Related: odoo/enterprise#31457
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-09-19 11:29:09 +02:00
Lucas Lefèvre 56c75093b1 [ADD] spreadsheet_dashboard_purchase: add Vendors dashboards
Part-of: odoo/odoo#100467
2022-09-19 11:29:09 +02:00
Florian Damhaut 6c0d0cedc7 [FIX] sale: change name to display_name
small change forgotten in c1b41bcd08

closes odoo/odoo#100401

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-09-19 11:29:02 +02:00
Julien Van Roy f535de2c28 [FIX] base: rendering PDF should save ir.attachment
Printing an invoice no longer saved the ir.attachment on the
move.
This is due to the refactor in ffc525419a,
since the render methods are now `api.model`, `self.attachment` was always
Falsy. To get the attachment name of a report, we need to call
`self._get_report(report_ref)`.

closes odoo/odoo#100363

Signed-off-by: Laurent Smet <las@odoo.com>
2022-09-19 11:28:59 +02:00
William Braeckman 42237c0ddc [IMP] crm: migrate CRM to wowl2
Migrate `crm_form`, `crm_kanban` and all `forecast_` views.

closes odoo/odoo#98837

Related: odoo/upgrade#3895
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-09-19 11:28:51 +02:00
William Braeckman c0e2c64967 [FIX] web_tour: fix drag_and_drop_native in kanban views
Due to how drag and drop works in grouped kanban views now, no event is
triggered when dragging and dropping, this fix listens to mousedown in
order to define whether the element is going to be dragged.

Part-of: odoo/odoo#98837
2022-09-19 11:28:50 +02:00
William Braeckman 51333adefe [IMP] web: extract progress bar parsing code
The progress bar parsing code was inside a big block of code making it
impossible to override to add custom behaviour.
It is not in a separated function.

Part-of: odoo/odoo#98837
2022-09-19 11:28:50 +02:00
William Braeckman 51a3d0e19f [IMP] web: make it possible to prefix KanbanAnimatedNumber
Use the `prefix` slot to give a prefix to KanbanAnimatedNumber, making
it possible to add text while not needing to extend the class/template.

Part-of: odoo/odoo#98837
2022-09-19 11:28:50 +02:00
William Braeckman 01d18acb34 [FIX] loyalty: fix position of generate coupons button
The generate coupon button would appear after the export button prior
 to this commit.

closes odoo/odoo#100463

Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-19 10:30:11 +02:00
Katherine Zaoral 0558986464 [FIX] l10n_ar: demo data mixing taxes
Supplier invoice demo data was badly initialized with sales taxes. This
was given problems in some VAT reports. Fixed and they are all purchase taxes

Document type "Despacho de Importación" xml id demo_despacho_1

closes odoo/odoo#100327

Signed-off-by: Josse Colpaert <jco@odoo.com>
2022-09-19 10:29:59 +02:00