main.js 1.2 KB

123456789101112131415161718192021222324
  1. /******************************************************************************
  2. * Point Of Sale - Pricelist for POS Odoo
  3. * Copyright (C) 2014 Taktik (http://www.taktik.be)
  4. * @author Adil Houmadi <ah@taktik.be>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as
  8. * published by the Free Software Foundation, either version 3 of the
  9. * License, or (at your option) any later version.
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Affero General Public License for more details.
  14. * You should have received a copy of the GNU Affero General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. *
  17. ******************************************************************************/
  18. openerp.pos_pricelist = function (instance) {
  19. var module = instance.point_of_sale;
  20. pos_pricelist_db(instance, module);
  21. pos_pricelist_models(instance, module);
  22. pos_pricelist_screens(instance, module);
  23. pos_pricelist_widgets(instance, module);
  24. };