Git Product home page Git Product logo

acsone-addons's People

Contributors

adrienpeiffer avatar anthony-muschang avatar benwillig avatar cedric-pigeon avatar lmignon avatar olivier-laurent avatar rousseldenis avatar sbejaoui avatar sbidoul avatar xavier-bouquiaux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acsone-addons's Issues

Move to OCA some interesting modules

Hello @sbidoul , @JonathanNEMRY , @lmignon ,

I would like to ask, don't you think this modules could be very interesting for general purpose in OCA? (Social and Events)

I'm going to test it as they look interesting.

I apreciate you comments / opinions.

Thansk in advance
Regards,
Rafael

cc @pedrobaeza @antespi @carlosdauden @Tecnativa

[html_widget_embedded_picture] Images are not diplayed in Thunderbird

In Thunderbird 31.3.0, embedded pictures are not displayed in email body (but they are in attachment).

At the first time, Thunderbird blocks images with the privacy option --> ... the images should be directly in the body (image1)

Then when the privacy option is off, the pictures do not display in the body but they are in attachment (image2)

In gmail, it's fine (image3)

image1

image2

image3

[html_widget_embedded_picture] accented characters are not well displayed

Hello

With mass mailing which contents accented characters, those characters are not decoded well

Solution is to add 'decode('utf-8') to the get_payload function :

diff --git a/html_widget_embedded_picture/ir_mail_server.py b/html_widget_embedded_picture/ir_mail_server.py
index f3d6d9a..25b1092 100644
--- a/html_widget_embedded_picture/ir_mail_server.py
+++ b/html_widget_embedded_picture/ir_mail_server.py
@@ -38,7 +38,7 @@ class ir_mail_server(orm.Model):
_inherit = "ir.mail_server"

 def embedd_ir_attachment(self, cr, uid, message, body_part, context=None):
  •    html_str = body_part.get_payload(decode=True)
    
  •    html_str = body_part.get_payload(decode=True).decode('utf-8')
     root = html.document_fromstring(html_str)
     matching_buffer = {}
     for child in root.iter():
    

Installation of module fails : Odoo 8

Hi, I installed all dependencies for this module.
But if I try to install, I receive the following error.
Some advice?

OpenERP Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 517, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 280, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 733, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 376, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 952, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 940, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 237, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 450, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 237, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 340, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 358, in load_modules
loaded_modules, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 263, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 149, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 312, in load_openerp_module
import('openerp.addons.' + module_name)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 77, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/custom/addons/hr_utilization/init.py", line 31, in
from . import hr_utilization
ImportError: cannot import name hr_utilization

ir_noupdate_override causes -u website to reset website homepage, about us, footer...

Ces pages sont bien à noupdate=True dans la db, mais j'ai l'impression qu'elles sont à noupdate=0 dans les xml du module website. Elles passeraient à noupdate lors de la création des pages?

Le problème est-il dû au fait que j'ai sorti ce module de settings_improvements? Je ne pense pas.

Il semble donc que ce module soit extrêmement dangereux.

@Olivier-LAURENT @lmignon qu'en pensez-vous? Ai-je loupé qqch?

[RFC] cagnotte* addons => OCA

We need to formalize from a functional point of view the usage of cagnotte addons in order to move them to OCA.

The idea is to create a new repository. Name proposal : account-pot as the nearest words are jackpot (which is more conoted) and pot. Source : https://www.linguee.com/french-english/translation/cagnotte.html.

Proposal of README :

This is based on the existing v10 version and target is v14

Prerequisites

  • account_pot_base:

This module allows to define base modelisation for account pot management:

  • A pot type with following data:
    • Type Name
    • An account
    • A sequence for pots
    • A product

image

  • A pot will contain:
    • The type
    • The pot balance
    • An active field
    • A company
    • A currency

image

Flow

To provide input to pot, account entries should be created on the waiting account.

Those entries are mainly created through Customer Invoices.

image

This has direct impact on pot balance:

image

Sale

account_pot_sale

The pot flow can be included in Sale flow in order to pay a Sale Order with reserve.

image

After selecting the pot:

image

The invoice generated will simply deduct that amount from the reserve account.

hr utilization report: how to include leaves

Hi all,

I just downloaded and installed your hr_utilization addon. Looks great, thanks for sharing!

The only problem I have is that I can´t figure out how to include leaves (sick, holidays,...) in the report.
In the Tab HR: Utilization->Columns I can only add projects.

This results in wrong TOTAL percentages, because leaves are not taken into account.

Any hints would be highly appreciated.
Thanks
Steve

Documentation for html embed image

Hi,

i would like to know if your module also allow to embed the img tag from the mail editor or does we have to compose the html outside and copy paste it

Porting readonly_bypass on v7

Hi!

readonly_bypass description looks fit my needs!

I would like to port this module on v7 if it's not already done. How would you like I do it? directly create a PR in OCA/web or OCA/server tools repo with ascone as author ? or directly a PR in this repo?

regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.