Commit graph

705 commits

Author SHA1 Message Date
Marc Durepos
bfbc5d6491 further fixes and tests for email_to_pdf 2025-03-27 16:34:15 -04:00
Benoît Vézina
85964620cf Merge branch '18.0' of git.bemade.org:bemade/bemade-addons into HEAD 2025-03-27 15:34:32 -04:00
Benoît Vézina
ccf211c554 unifi get datas 2025-03-27 15:34:13 -04:00
Marc Durepos
ad2bc057a2 further fixes and tests for email_to_pdf 2025-03-27 11:23:58 -04:00
Marc Durepos
f3259fd6a1 updates to account_email_to_pdf - total rewrite 2025-03-27 10:49:45 -04:00
Marc Durepos
cc9a5e172d new module account_email_to_pdf
Since Odoo 18, emails coming in to an alias creating account moves
(vendor bills) get rejected if they do not contain an attachment that
can be read by the system. This means that sending a plain email receipt
with no attachment bounces, when it would be nice to have a vendor bill
with the message in the chatter as a minimum.

This module checks for attachments and injects one, in the form of a
simple pdf containing the email header and contents, if there was no
attachment to begin with.

This should enable sending of a simple email and not having it bounce
due to there being no attachment.
2025-03-27 08:26:03 -04:00
Marc Durepos
dec2e44c09 odoo_partner_scrapper: get rid of broken static components, to be replaced by an action later 2025-03-26 12:00:11 -04:00
xtremxpert
5390b6308e more unifi 2025-03-26 08:46:03 -04:00
Marc Durepos
d9cc020e7f allow commercial invoice on vendor refunds 2025-03-21 11:41:36 -04:00
Marc Durepos
a7d280411e batch_pickign_create_one_bill: rework bug on calculated fields 2025-03-12 18:04:10 -04:00
Marc Durepos
99e3ed03a7 batch_picking_create_one_bill: major rework
Fixes an issue where creating the bills from the purchase orders could
create a bill with quantities vastly different from the received batch
quantities. This would happen when the purchase orders had lines with
quantities to invoice that did not match the receipt quantities.

Instead of creating the bills from the POs, we now generate the bill
and its line values directly from the quantities on the move lines
related to the batch.
2025-03-12 17:49:37 -04:00
Denis Durepos
d16304e57b Refactored layout to add pst to base external layout instead of each of the inherited views. 2025-03-12 13:48:10 -04:00
Denis Durepos
e0ba8b6008 Merge commit 'b83fb948d454f0bb168a7faeeb6574939beca19c' into 18.0 2025-03-11 16:52:56 -04:00
Denis Durepos
b83fb948d4 Initial commit for l10n_ca_pst_reports 2025-03-11 16:49:13 -04:00
Benoît Vézina
b2183d8601 fml unifi 2025-03-11 16:19:49 -04:00
xtremxpert
5bfcaa37c2 unifi to test 2025-03-10 10:09:39 -04:00
xtremxpert
ec757e1883 test passed need double check 2025-03-06 13:01:41 -05:00
xtremxpert
348fb6cb05 replace invoiving user 2025-03-06 11:39:23 -05:00
Benoît Vézina
7c5bc93454 Merge branch '18.0' of git.bemade.org:bemade/bemade-addons into 18.0 2025-03-06 10:21:59 -05:00
Benoît Vézina
32ee016a92 invoicing user 2025-03-06 10:21:49 -05:00
Marc Durepos
a364a8f913 [FIX] delivery_carrier_partner_account - failing collect SO
Fixes a bug where sale orders with a partner_shipping_id not within the
same commercial entity as their partner_id could not have collect
carrier accounts set after being confirmed.

The issue stemmed from the fact that the sale order's recipient_id field
was being set to partner_id, while the created delivery order had
recipient_id set to its partner_id, which is the partner_shipping_id of
the sale order. In other words, the sale order recipient was incorrectly
set to the main partner instead of the shipping address.

This commit adds a test that was previously failing in this scenario. It
also properly sets the recipient_id on the transport selection wizard
and on sale orders themselves, fixing the issue.
2025-02-27 15:46:33 -05:00
Marc Durepos
6bb1d95fdb debugging carrier account issue with logging 2025-02-27 15:22:19 -05:00
Marc Durepos
236952924d attempt fix to delivery carrier account - selecting collect account raising error 2025-02-26 12:14:15 -05:00
Marc Durepos
68d415fa17 attempt fix to delivery carrier account - selecting collect account raising error 2025-02-26 10:52:17 -05:00
xtremxpert
c507e5d416 ai ?? 2025-02-26 10:45:08 -05:00
Marc Durepos
f615f8c960 new module reception_purchase_total 2025-02-24 11:50:49 -05:00
Benoît Vézina
bb5b211d9c block notification on msg import 2025-02-24 09:53:36 -05:00
xtremxpert
2df5651f12 talking to ollama 2025-02-20 09:43:35 -05:00
Benoît Vézina
e48e6d9aef next try 2 2025-02-19 15:32:34 -05:00
Benoît Vézina
d295f38355 next try 2025-02-19 15:12:15 -05:00
Benoît Vézina
0676cf1e7f new ai 2 2025-02-19 14:19:30 -05:00
xtremxpert
9a130bae6b new ai 2025-02-19 14:18:10 -05:00
Benoît Vézina
e1e8c94c94 fix for merge PO with requisition id 2025-02-19 13:48:34 -05:00
Benoît Vézina
996fb3767e need test for merging from different contract 2025-02-19 11:51:54 -05:00
Benoît Vézina
b95ca97022 fuck my life with ollama 2025-02-18 14:55:35 -05:00
xtremxpert
a3b4d3ed39 openwebui and product 2025-02-18 08:55:21 -05:00
Marc Durepos
b605f77e55 small formatting fix for shipping info on customer invoice 2025-02-14 13:59:12 -05:00
Marc Durepos
b43f0f5c85 batch_picking_create_one_bill upgrades
- Default to zero is now functional
- Checkbox ("Picked" field) visible on move lines in the batch view
- Checking the Picked field marks the line green
- More tests written to validate functionality
2025-02-14 12:13:57 -05:00
xtremxpert
cc66512df2 odoo to odoo 2025-02-14 07:41:09 -05:00
Marc Durepos
1b95a6c2ea added a test and made small modifications for batch_picking_create_one_bill 2025-02-13 16:39:48 -05:00
xtremxpert
020ed0e99c batch_picking_create_one_bill 2025-02-13 14:59:07 -05:00
xtremxpert
4d06664928 fix 2025-02-12 15:37:33 -05:00
Marc Durepos
c30130a3d6 new module sale_mandatory_customer_reference and small fix to delivery_carrier_partner_account 2025-02-12 12:10:09 -05:00
Marc Durepos
1fb6ad5a2c fix layout for invoice shipping info 2025-02-11 14:46:12 -05:00
Marc Durepos
4c5b55a7dd Fixes to purchase_customer_requisition and shipping info on cust. inv.
purchase_customer_requisition:

* Make sure to check the validity (state + dates) on purchase
  requisitions being selected for PO lines.

shipping_information_on_customer_invoice:

* Rework how the picking is selected, going through the sale lines
  related to the invoice lines instead of the non-existing picking_id
  field previously coded.
2025-02-11 14:27:50 -05:00
Marc Durepos
dd76c00ec1 Fix to delivery_carrier_partner_account + test to validate 2025-02-10 18:00:42 -05:00
Marc Durepos
cf12a5990d fix a dependency issue for customer carrier accounts 2025-02-10 17:15:39 -05:00
xtremxpert
f41b3d2be1 shipping_information_on_customer_invoice need testing 2025-02-10 15:27:30 -05:00
Marc Durepos
6ea64007e0 commercial_invoice: update to not annihilate header on account move list view 2025-02-10 15:15:00 -05:00
Marc Durepos
36e62be4c1 caldav_sync bug fixes:
* Fixed an issue where accepting events from an external organizer would send emails
  to the all event attendees upon synchronization.
* Corrected the data model for events where multiple Odoo users are attendees for the
  same event. Now, only one event is created in Odoo, with all the attendees on the
  same event. This conforms to Odoo's existing calendar event data model.
* Updated the setting of the organizer field (user_id) on the calendar events upon
  synchronization. Previously, the organizer field was always set to the current user
  whose events were being synchronized. Now, it is set based on the ORGANIZER parameter
  of the iCalendar event, if present. If not present, it defaults to the current synchronizing
  user. In the case that the organizer is external, the user_id field is left blank.
2025-02-07 10:54:15 -05:00