resources.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "product_template": {
  3. "model": "product.template",
  4. "filters": [
  5. ["sale_ok", "=", true],
  6. ["active", "=", true]
  7. ],
  8. "blacklist": [],
  9. "module": "sale"
  10. },
  11. "product_product": {
  12. "model": "product.product",
  13. "filters": [
  14. ["active", "=", true]
  15. ],
  16. "blacklist": [],
  17. "module": "sale"
  18. },
  19. "product_attribute_line": {
  20. "model": "product.attribute.line",
  21. "filters": [],
  22. "blacklist": [],
  23. "module": "sale"
  24. },
  25. "product_attribute": {
  26. "model": "product.attribute",
  27. "filters": [],
  28. "blacklist": [],
  29. "module": "sale"
  30. },
  31. "product_attribute_price": {
  32. "model": "product.attribute.price",
  33. "filters": [],
  34. "blacklist": [],
  35. "module": "sale"
  36. },
  37. "product_attribute_value": {
  38. "model": "product.attribute.value",
  39. "filters": [],
  40. "blacklist": [],
  41. "module": "sale"
  42. },
  43. "customer": {
  44. "model": "res.partner",
  45. "filters": [
  46. ["customer", "=", true],
  47. ["active", "=", true]
  48. ],
  49. "blacklist": [],
  50. "module": "sale"
  51. },
  52. "lead": {
  53. "model": "crm.lead",
  54. "filters": [
  55. ["type", "=", "lead"],
  56. ["active", "=", "active"]
  57. ],
  58. "blacklist": [],
  59. "module": "crm"
  60. },
  61. "opportunity": {
  62. "model": "crm.lead",
  63. "filters": [
  64. ["type", "=", "opportunity"],
  65. ["active", "=", true]
  66. ],
  67. "blacklist": [],
  68. "module": "crm"
  69. },
  70. "user": {
  71. "model": "res.users",
  72. "filters": [
  73. ["active", "=", true],
  74. ["jwt_token", "!=", false]
  75. ],
  76. "blacklist": [
  77. "property_account_position",
  78. "ref_companies",
  79. "alias_defaults",
  80. "alias_parent_model_id",
  81. "alias_id",
  82. "property_stock_customer",
  83. "property_product_pricelist",
  84. "id_pos_order",
  85. "title",
  86. "child_ids",
  87. "property_stock_supplier",
  88. "user_ids",
  89. "property_account_receivable",
  90. "contract_ids",
  91. "commercial_partner_id",
  92. "message_followers_ids",
  93. "notify_email",
  94. "employee_ids"
  95. ],
  96. "module": "sale"
  97. },
  98. "partner": {
  99. "model": "res.partner",
  100. "filters": [
  101. ["active", "=", true]
  102. ],
  103. "blacklist": [],
  104. "module": "sale"
  105. }
  106. }